deita
Deita: Data-Efficient Instruction Tuning for Alignment [ICLR2024]
File Explorer
Download Latest Version (.zip)- logo-final.png
- combined_filter.py
- embed_datasets.py
- embed_datasets.sh
- filter_datasets.sh
- score_complexity.py
- score_complexity_dataset.py
- score_complexity_dataset.sh
- score_quality.py
- score_quality_dataset.sh
- score_vllm.py
- utils.py
- dpo.sh
- sft.sh
- train_scorers.sh
- bloom_flash_attention.py
- triton_flash_attention.py
- __init__.py
- constants.py
- conversation.py
- dpo_train.py
- train.py
- train_scorers.py
- sample_ultrafeedback.py
- deepspeed_config_zero2_no_offload.json
- deepspped_llama_x.json
- stage3_no_offloading_accelerate.json
- __init__.py
- base.py
- embed_pipeline.py
- filter_pipeline.py
- score_pipeline.py
- utils.py
- __init__.py
- base.py
- clm_embedder.py
- conversation.py
- utils.py
- __init__.py
- base.py
- combined_filter.py
- utils.py
- __init__.py
- base.py
- llama_scorer.py
- mistral_scorer.py
- __init__.py
- __init__.py
- .gitignore
- LICENSE
- README.md
- requirements.txt
- sample_little.py
- setup.py
๐ Installation Guide
1. Get the code
git clone https://github.com/hkust-nlp/deita
Downloads the entire project code from GitHub to your computer.
cd deita
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Python 3 Python is required to use pip.
pip install vllm
Installs the package published on PyPI directly โ no need to clone the source.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
pip install -e .
Installs the Python libraries listed in requirements.txt (or similar).
pip install vllm
Installs the package published on PyPI directly โ no need to clone the source.
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
