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 Studio
How to use arabellako22/gifted_maths_lora_model with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for arabellako22/gifted_maths_lora_model to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for arabellako22/gifted_maths_lora_model to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for arabellako22/gifted_maths_lora_model to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="arabellako22/gifted_maths_lora_model", max_seq_length=2048, )
Gifted Maths LoRA Adapter
This repository contains the separated LoRA adapter for maths_engine, a local gifted mathematics reasoning model.
Base model: unsloth/gemma-4-E2B-it
Training goal:
- step-by-step mathematical reasoning
- readable LaTeX formatting
- local/offline deployment after GGUF conversion
Important:
- This is the adapter only.
- To create a full local model, load it with the base model and merge using Unsloth
save_pretrained_merged(..., save_method="merged_16bit"). - Do not rely on ordinary
PeftModel.merge_and_unload()for this Gemma 4 workflow.
- Downloads last month
- 20
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support