We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.Lawbench正常 python run.py --datasets lawbench_one_shot_gen_002588 lawbench_zero_shot_gen_002588 --hf-path /home/xlabs/zoo/LLaMA-Factory/models/qwen2_lora_sft --tokenizer-path /home/xlabs/zoo/LLaMA-Factory/models/qwen2_lora_sft --tokenizer-kwargs padding_side='left' truncation='left' trust_remote_code=True --model-kwargs device_map='auto' torch_dtype='torch.float' trust_remote_code=True --max-seq-len 2048 --max-out-len 2048 --batch-size 8 --hf-num-gpus 1 --work-dir outputs/Qwen2-1.5B-Instruct_Lora --debug
2.Prompt Viewer正常 python tools/prompt_viewer.py configs/datasets/lawbench/lawbench_zero_shot_gen_002588.py -a
3.Case Analyzer错误 python tools/case_analyzer.py configs/datasets/lawbench/lawbench_zero_shot_gen_002588.py -w ./outputs/Qwen2-1.5B-Instruct_Lora/20240724_142030/
提示如下: File "/home/xlabs/zoo/opencompass-0.2.5/tools/case_analyzer.py", line 102 print(f"ds_0: {dataset["1-1"]}") ^ SyntaxError: f-string: unmatched '['
The text was updated successfully, but these errors were encountered:
No branches or pull requests
复现过程如下
1.Lawbench正常
python run.py
--datasets lawbench_one_shot_gen_002588 lawbench_zero_shot_gen_002588
--hf-path /home/xlabs/zoo/LLaMA-Factory/models/qwen2_lora_sft
--tokenizer-path /home/xlabs/zoo/LLaMA-Factory/models/qwen2_lora_sft
--tokenizer-kwargs padding_side='left' truncation='left' trust_remote_code=True
--model-kwargs device_map='auto' torch_dtype='torch.float' trust_remote_code=True
--max-seq-len 2048
--max-out-len 2048
--batch-size 8
--hf-num-gpus 1
--work-dir outputs/Qwen2-1.5B-Instruct_Lora
--debug
2.Prompt Viewer正常
python tools/prompt_viewer.py configs/datasets/lawbench/lawbench_zero_shot_gen_002588.py -a
3.Case Analyzer错误
python tools/case_analyzer.py configs/datasets/lawbench/lawbench_zero_shot_gen_002588.py -w ./outputs/Qwen2-1.5B-Instruct_Lora/20240724_142030/
提示如下:
File "/home/xlabs/zoo/opencompass-0.2.5/tools/case_analyzer.py", line 102
print(f"ds_0: {dataset["1-1"]}")
^
SyntaxError: f-string: unmatched '['
The text was updated successfully, but these errors were encountered: