mirror of
https://github.com/deepseek-ai/ESFT
synced 2025-06-26 18:15:50 +00:00
first commit
update readme update readme update readme Update benchmarks.py Update download_adapters.sh Update esft.py
This commit is contained in:
12
scripts/eval.sh
Normal file
12
scripts/eval.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
# first, download adapter models and put them to the corresponding directories
|
||||
|
||||
|
||||
python scripts/eval.py \
|
||||
--eval_datasets=translation \
|
||||
--base_model_path=deepseek-ai/ESFT-vanilla-lite \
|
||||
--adapter_dir=all_models/adapters/token \
|
||||
--output_dir=results/completions/token \
|
||||
--max_new_tokens=512 \
|
||||
--openai_api_key=REPLACE_WITH_YOUR_KEY \
|
||||
--eval_batch_size=2
|
||||
|
||||
Reference in New Issue
Block a user