Skip to content

add support of Aquila 7B models #2093

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

Closed
ftgreat opened this issue Jul 4, 2023 · 3 comments
Closed

add support of Aquila 7B models #2093

ftgreat opened this issue Jul 4, 2023 · 3 comments
Labels

Comments

@ftgreat
Copy link
Contributor

ftgreat commented Jul 4, 2023

We released and open-sourced Aquila 7B series , including AquilaChat-7B(https://github.com/FlagAI-Open/FlagAI/tree/master/examples/Aquila/Aquila-chat) and Aquila-7B(https://github.com/FlagAI-Open/FlagAI/tree/master/examples/Aquila/Aquila-pretrain), which support both Chinese and English knowledge.

The model architectures are almost same as LLaMa, except one GPT2-like BPE tokenizer is used.

Could llama.cpp repo add our Aquila 7B models and how to adapt for the BPE tokenizer? Thanks very much.

@howard0su
Copy link
Collaborator

llama.cpp implemented llama_tokenizer as a separate class. You can implement GPT2Tokenizer similar to that.

The interface today doesn't support different tokenizer, however it should be relative easy to fix by introducing a new setting.

@ftgreat
Copy link
Contributor Author

ftgreat commented Jul 15, 2023

#2228

I add one pr for support bpe tokenizer in convert.py.
@howard0su could you please review it,thanks.

Copy link
Contributor

github-actions bot commented Apr 9, 2024

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as completed Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants