Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

predict problem #51

Open
leee-SeungHyeon opened this issue Jun 24, 2024 · 0 comments
Open

predict problem #51

leee-SeungHyeon opened this issue Jun 24, 2024 · 0 comments

Comments

@leee-SeungHyeon
Copy link

python
run_llmmt.py
--model_name_or_path Qwen/Qwen2-7B
--do_predict
--low_cpu_mem_usage
--language_pairs ${TEST_PAIRS}
--mmt_data_path ./human_written_data/
--per_device_eval_batch_size 2
--output_dir ${OUTPUT_DIR}
--use_peft
--peft_model_id /home/xxxx/alma/ALMA/outputs/Qwen2-7B
--predict_with_generate
--max_new_tokens 256
--max_source_length 256
--fp16
--seed 42
--num_beams 5
--overwrite_cache
--overwrite_output_dir
--multi_gpu_one_model

The peft_model_id directory contains the following files:
image

When running the above files, the following error occurs:
image

Is there a solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant