Downloads · 30 days
4
2% of all-time downloads
Someshfengde/llama-3-instruction-tuned-AIMO
llama-3-instruction-tuned-AIMO is a text generation model from Someshfengde. Use it when you need the model to write or continue text. It is set up for transformers.
This repo uses the torchtune for instruction tuning the llama3 pretrained model on mathematical tasks using LORA.
Downloads · 30 days
4
2% of all-time downloads
All-time downloads
252
Public
Repo size
21 GB
Likes
0
Public
Click a slice to open those files.
.pt21 GB · 100%
From the Hugging Face model README
This repo uses the torchtune for instruction tuning the llama3 pretrained model on mathematical tasks using LORA.
https://wandb.ai/som/torchtune_llama3?nw=nwusersom
https://huggingface.co/Someshfengde/llama-3-instruction-tuned-AIMO
https://huggingface.co/meta-llama/Meta-Llama-3-8B
> pip install poetry
> poetry install
Further commands over shell terminal
tune download meta-llama/Meta-Llama-3-8B \
--output-dir llama3-8b-hf \
--hf-token <HF_TOKEN>
To start instruction tuning with lora and torchtune
tune run lora_finetune_single_device --config ./lora_finetune_single_device.yaml
tune run quantize --config ./quantization_config.yaml
tune run generate --config ./generation_config.yaml \
prompt="what is 2 + 2."
https://huggingface.co/datasets/Someshfengde/AIMO_dataset
To run evaluations
tune run eleuther_eval --config ./eval_config.yaml



