Skip to content

Commit

Permalink
rdme updt
Browse files Browse the repository at this point in the history
  • Loading branch information
efrick2002 committed Dec 7, 2023
1 parent abc9596 commit a9ffcc0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ To finetune use [FastChat](https://github.com/lm-sys/FastChat/tree/main)
Instructions are as follows:

0. Request llama access via https://ai.meta.com/resources/models-and-libraries/llama-downloads/
Approval is usually very fast if you use you berkeley.edu email.
Approval is usually very fast if you use your berkeley.edu email.

Make sure you have a Huggingface account, you need to prove to them you have llama access

Expand All @@ -86,7 +86,7 @@ Instructions are as follows:
--data_path ~/LLMLyricGen/data/prompts/conversation_style_new_prompts.json \
--bf16 True \
--output_dir output_llama-2-7b-chat-hf-lyre \
--num_train_epochs 5 \
--num_train_epochs 10 \
--per_device_train_batch_size 4 \
--per_device_eval_batch_size 4 \
--gradient_accumulation_steps 8 \
Expand Down Expand Up @@ -165,6 +165,8 @@ To evaluate our model on MT-Bench do the following setup in you favorite python
pip install -e ".[model_worker,llm_judge]"
```
2. Run this to generate the outputs (to make this run in a reasonable time window, use a GPU)

Pick a model to evaluate: [```cs182project/Llama-2-7b-chat-Lyre-LM-chat```, ```cs182project/Llama-2-7b-chat-Lyre-LM-chat-checkpoint-50```]
```
python gen_model_answer.py --model-path cs182project/llama-2-7b-chat-lyre-lm --model-id lyre-lm
```
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ sentence_transformers==2.2.2
torch==1.9.0
tqdm==4.66.1
Unidecode==1.3.7
seaborn

0 comments on commit a9ffcc0

Please sign in to comment.