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
Ctrl+K