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

Evaluation code for Falcon models #17

Open
Amshaker opened this issue Jun 20, 2023 · 1 comment
Open

Evaluation code for Falcon models #17

Amshaker opened this issue Jun 20, 2023 · 1 comment

Comments

@Amshaker
Copy link

Hi Authors,

Thank you for sharing the evaluation code for llama models. Could you please release the code for the evaluation of Falcon models?

Best regards,
Abdelrahman.

@Vahe1994
Copy link
Owner

Hello!
To run Falcon for perplexity calculation use code in https://github.com/Vahe1994/SpQR/blob/main/main_for_rw.py , it is similar to main.py with some additional code to allow run falcon.
As for LM_eval - you can use lm_eval_main.py and provide falcon model in the args: --model hf-causal --model_args pretrained=tiiuae/falcon-40b.
Feel free to report any problem that you encounter.

P.s. We are working on combining scripts for Falcon and LLama and deduplicating code, see PR #7 .We will add more explicit instruction how to run Falcon in ReadMe.

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