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

Added Support for ReLU Mistral and Llama Huggingface models #400

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mmoffatt2
Copy link
Collaborator

@mmoffatt2 mmoffatt2 commented Feb 18, 2025

Similar to the gpt_train.py and gpt_model.py files, these allow for Huggingface Mistral and Llama models with customizable attention implementations.

To run, simply call python3 mistral_train.py in the huggingface_models folder, which will invoke the ReLU attention Mistral model (with pre-trained weights) from mistral_model.py and fine-tune it on Wikitext103.

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.

1 participant