Text Generation
PEFT
Safetensors
English
thinking
reasoning
chain-of-thought
cot
gemma
fine-tuned
lora
Instructions to use opus-research/gemma-2-2b-thinking with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use opus-research/gemma-2-2b-thinking with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-2-2b") model = PeftModel.from_pretrained(base_model, "opus-research/gemma-2-2b-thinking") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.model from opus-research/gemma-2-2b-thinking: direct link, hf CLI and curl.
- Browser
- Download file 4.24 MB
-
https://huggingface.co/opus-research/gemma-2-2b-thinking/resolve/main/tokenizer.model
- Command line
-
hf download hf://opus-research/gemma-2-2b-thinking/tokenizer.model
-
curl -L -o tokenizer.model https://huggingface.co/opus-research/gemma-2-2b-thinking/resolve/main/tokenizer.model
4.24 MB
- Xet hash:
- 4747d621061ff864406560d79c8c3e355c05f2e88ba30eba88c8d5881d3d220d
- Size of remote file:
- 4.24 MB
- SHA256:
- 61a7b147390c64585d6c3543dd6fc636906c9af3865a5548f27f31aee1d4c8e2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.