Instructions to use arabellako22/gifted_maths_lora_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use arabellako22/gifted_maths_lora_model with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/gemma-4-e2b-it-unsloth-bnb-4bit") model = PeftModel.from_pretrained(base_model, "arabellako22/gifted_maths_lora_model") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
| { | |
| "base_model": "unsloth/gemma-4-E2B-it", | |
| "purpose": "Local gifted mathematics engine with LaTeX step-by-step solutions", | |
| "dataset_size": 61, | |
| "train_rows": 54, | |
| "validation_rows": 7, | |
| "lora": { | |
| "r": 64, | |
| "lora_alpha": 64, | |
| "lora_dropout": 0, | |
| "target": "language attention and MLP modules" | |
| }, | |
| "training": { | |
| "learning_rate": 2e-05, | |
| "num_train_epochs": 3, | |
| "batch_size": 1, | |
| "gradient_accumulation_steps": 8, | |
| "scheduler": "cosine", | |
| "response_only_loss": true, | |
| "seed": 3407 | |
| }, | |
| "system_prompt": "You are maths_engine, a local gifted mathematics reasoning model for students.\nYou solve maths problems step by step, clearly and calmly.\nAll variables, formulas, equations, transformations, and final answers must use LaTeX.\nUse inline math with $...$ and display math with $$...$$.\nDo not skip algebraic steps when the learner would benefit from seeing them.\nEnd every solution with a clear line starting with: Final Answer:" | |
| } |