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

How can I get the python file of the model architecture, such as 'model.py' ? #59

Open
LaosGAmin opened this issue Oct 6, 2024 · 2 comments

Comments

@LaosGAmin
Copy link

I want to make some changes to the model, but using the transforms packet seems a bit inconvenient.

@laurendeason
Copy link
Contributor

Apologies for the delayed response! Could you provide additional information about what you are trying to accomplish? If I understand correctly, you wish to modify an LLM that is being used (as a model under test, judge llm, etc) within the benchmarks. Currently, the benchmarks can be run on existing models hosted by OPENAI, ANYSCALE, or TOGETHER. In order to use a self-hosted model (such as a model that you have modified locally), you can follow the instructions here: https://github.com/meta-llama/PurpleLlama/tree/main/CybersecurityBenchmarks#how-to-run-benchmarks-for-self-hosted-models.

@LaosGAmin
Copy link
Author

Apologies for the delayed response! Could you provide additional information about what you are trying to accomplish? If I understand correctly, you wish to modify an LLM that is being used (as a model under test, judge llm, etc) within the benchmarks. Currently, the benchmarks can be run on existing models hosted by OPENAI, ANYSCALE, or TOGETHER. In order to use a self-hosted model (such as a model that you have modified locally), you can follow the instructions here: https://github.com/meta-llama/PurpleLlama/tree/main/CybersecurityBenchmarks#how-to-run-benchmarks-for-self-hosted-models.

I think I need to wrap layers or blocks in the model with a wrapper function. So I need the source code for a particular model.

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