Skip to content

Commit 50c7231

Browse files
committed
version_0819
1 parent 564a0b3 commit 50c7231

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

scripts/finetune_rec.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
exp_tag="llama"
44
python finetune_rec.py \
55
--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' \
88
--output_dir './lora-LLMRec-'$exp_tag \
99
--prompt_template_name 'rec_template' \
1010
--micro_batch_size 2 \
@@ -16,8 +16,8 @@ python finetune_rec.py \
1616
exp_tag="alpaca"
1717
python finetune_rec.py \
1818
--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' \
2121
--output_dir './lora-LLMRec-'$exp_tag \
2222
--prompt_template_name 'rec_template' \
2323
--micro_batch_size 2 \

scripts/infer_rec.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ CUDA_VISIBLE_DEVICES=0 python infer_rec.py \
33
--base_model 'decapoda-research/llama-7b-hf' \
44
--lora_weights './lora-LLMRec-llama' \
55
--use_lora True \
6-
--instruct_dir './data/beauty_sequential_single_prompt_test_sample.json' \
6+
--instruct_dir './data/beauty_sequential_single_prompt_test.json' \
77
--prompt_template 'rec_template' \
88
--max_new_tokens 256 \
99
--num_return_sequences 10 \
@@ -12,7 +12,7 @@ CUDA_VISIBLE_DEVICES=0 python infer_rec.py \
1212
--base_model 'decapoda-research/llama-7b-hf' \
1313
--lora_weights './lora-LLMRec-alpaca' \
1414
--use_lora True \
15-
--instruct_dir './data/beauty_sequential_single_prompt_test_sample.json' \
15+
--instruct_dir './data/beauty_sequential_single_prompt_test.json' \
1616
--prompt_template 'rec_template' \
1717
--max_new_tokens 256 \
1818
--num_return_sequences 10 \

0 commit comments

Comments
 (0)