Instructions to use Teeranon/Mindtre with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps Settings
- Unsloth Desktop
|
Download README.md from Teeranon/Mindtre: direct link, hf CLI and curl.
- Browser
- Download file 408 Bytes
-
https://huggingface.co/Teeranon/Mindtre/resolve/main/README.md
- Command line
-
hf download hf://Teeranon/Mindtre/README.md
-
curl -L -o README.md https://huggingface.co/Teeranon/Mindtre/resolve/main/README.md
408 Bytes
| 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") | |
| ``` |