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

About the max length of the "PMC_LLaMA_13B" #29

Open
dyxohjl666 opened this issue Jan 24, 2024 · 1 comment
Open

About the max length of the "PMC_LLaMA_13B" #29

dyxohjl666 opened this issue Jan 24, 2024 · 1 comment

Comments

@dyxohjl666
Copy link

Hi @chaoyi-wu, I notice that in the paper the max context length is set as 2048. But when I load the model, it claims that the max length is 512?
Do you have a version allowing longer sequence input? Or this one is already trained for long input, so I can just change "model_max_length" in tokenizer configurations?

@chaoyi-wu
Copy link
Owner

It is pre-trained with 2048, but instruction tuned with 512. It will be totally ok to expand the "model_max_length" if you are intended to fine-tune our mode while if you are going to perform zero-shot prompting, it can also work but may hurt the model performance.

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

2 participants