Environment setup
Procedures for setting up the environment for research projects involving Python, PyTorch, and NLP models. Use whenever environment requirements (environment.yml) are present.From its SKILL.md
npx -y skills add cxcscmu/SkillLearnBench --skill environment-setupAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.0 KB, 178 tokens by cl100k_base, as published. Nobody here has run it
Environment Setup for NLP Research
When dealing with deep learning research repositories, follow these steps:
- Review Requirements: Inspect
environment.ymlorrequirements.txtto identify dependencies. - Version Checks:
python -VVto check the python version.pip freezeto check installed packages.
- Environment Creation:
- Use
conda env update --file environment.ymlor standard pip requirements installation if conda is not available.
- Use
- Validation:
- Verify that all necessary libraries for training/evaluation are available.
- Ensure hardware acceleration (CUDA/ROCm) is correctly configured if needed.
- Log the final environment state.
- Consistency:
- Record the environment state to a file (e.g.,
python_info.txt) to allow for replication.
- Record the environment state to a file (e.g.,
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.