Instructions to use Changahou/Llama8B_mathinstruct_SFT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Changahou/Llama8B_mathinstruct_SFT with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/home/chenjh2/disk_chenjh/models/models/Llama-3-8b-Instruct") model = PeftModel.from_pretrained(base_model, "Changahou/Llama8B_mathinstruct_SFT") - Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 3.0, | |
| "num_input_tokens_seen": 70167528, | |
| "total_flos": 3.161046812140241e+18, | |
| "train_loss": 0.5038315440246255, | |
| "train_runtime": 10949.1572, | |
| "train_samples_per_second": 27.399, | |
| "train_steps_per_second": 0.571 | |
| } |