Commit 50c7231 1 parent 564a0b3 commit 50c7231 Copy full SHA for 50c7231
File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3
3
exp_tag=" llama"
4
4
python finetune_rec.py \
5
5
--base_model ' decapoda-research/llama-7b-hf' \
6
- --data_path ' data/beauty_sequential_single_prompt_train_sample .json' \
7
- --valid_data_path ' data/beauty_sequential_single_prompt_test .json' \
6
+ --data_path ' data/beauty_sequential_single_prompt_train .json' \
7
+ --valid_data_path ' data/beauty_sequential_single_prompt_valid .json' \
8
8
--output_dir ' ./lora-LLMRec-' $exp_tag \
9
9
--prompt_template_name ' rec_template' \
10
10
--micro_batch_size 2 \
@@ -16,8 +16,8 @@ python finetune_rec.py \
16
16
exp_tag=" alpaca"
17
17
python finetune_rec.py \
18
18
--base_model ' decapoda-research/llama-7b-hf' \
19
- --data_path ' data/beauty_sequential_single_prompt_train_sample .json' \
20
- --valid_data_path ' data/beauty_sequential_single_prompt_test .json' \
19
+ --data_path ' data/beauty_sequential_single_prompt_train .json' \
20
+ --valid_data_path ' data/beauty_sequential_single_prompt_valid .json' \
21
21
--output_dir ' ./lora-LLMRec-' $exp_tag \
22
22
--prompt_template_name ' rec_template' \
23
23
--micro_batch_size 2 \
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ CUDA_VISIBLE_DEVICES=0 python infer_rec.py \
3
3
--base_model ' decapoda-research/llama-7b-hf' \
4
4
--lora_weights ' ./lora-LLMRec-llama' \
5
5
--use_lora True \
6
- --instruct_dir ' ./data/beauty_sequential_single_prompt_test_sample .json' \
6
+ --instruct_dir ' ./data/beauty_sequential_single_prompt_test .json' \
7
7
--prompt_template ' rec_template' \
8
8
--max_new_tokens 256 \
9
9
--num_return_sequences 10 \
@@ -12,7 +12,7 @@ CUDA_VISIBLE_DEVICES=0 python infer_rec.py \
12
12
--base_model ' decapoda-research/llama-7b-hf' \
13
13
--lora_weights ' ./lora-LLMRec-alpaca' \
14
14
--use_lora True \
15
- --instruct_dir ' ./data/beauty_sequential_single_prompt_test_sample .json' \
15
+ --instruct_dir ' ./data/beauty_sequential_single_prompt_test .json' \
16
16
--prompt_template ' rec_template' \
17
17
--max_new_tokens 256 \
18
18
--num_return_sequences 10 \
You can’t perform that action at this time.
0 commit comments