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

add suport for baichuan2_7b #131

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

add suport for baichuan2_7b #131

wants to merge 10 commits into from

Conversation

Yang-Yi20
Copy link

convert

python3 scripts/convert_baichuan_from_huggingface_to_tencentpretrain.py --input_model_path $Baichuan2_7B_FOLDER --output_model_path models/baichuan2_7b.bin

test

python3 scripts/generate_lm.py --load_model_path models/baichuan2_7b.bin --spm_model_path $Baichuan2_7B_FOLDER/tokenizer.model --test_path beginning.txt --prediction_path generated_sentence.txt --config_path models/baichuan/7b_config.json

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

Successfully merging this pull request may close these issues.

2 participants