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 support for Falcon LLM #72

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

Conversation

ydli-ai
Copy link
Collaborator

@ydli-ai ydli-ai commented Jun 10, 2023

convert

python3 scripts/convert_falcon_from_huggingface_to_tencentpretrain.py --input_model_path ../falcon-7b/ --output_model_path models/falcon-7b.bin

test

python3 scripts/generate_lm.py
--load_model_path models/falcon-7b.bin
--vocab_path ../falcon-7b/ --tokenizer hfpretrained
--config_path models/falcon/7b_config.json
--test_path beginning.txt --prediction_path result.txt

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.

None yet

1 participant