Instructions to use Teeranon/Mindtre with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps Settings
- Unsloth Desktop
File size: 408 Bytes
a215688 8176c9a a215688 1a24dca a215688 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | ---
license: apache-2.0
tags:
- unsloth
---
```py
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_model = AutoModelForCausalLM.from_pretrained(
"unsloth/gemma-3-4b-it",
device_map="auto",
torch_dtype="auto",
)
model = PeftModel.from_pretrained(base_model, "Teeranon/Mindtre")
tokenizer = AutoTokenizer.from_pretrained("unsloth/gemma-3-4b-it")
``` |