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.json from opus-research/gemma-2-2b-thinking: direct link, hf CLI and curl.
- Browser
- Download file 34.4 MB
-
https://huggingface.co/opus-research/gemma-2-2b-thinking/resolve/main/tokenizer.json
- Command line
-
hf download hf://opus-research/gemma-2-2b-thinking/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/opus-research/gemma-2-2b-thinking/resolve/main/tokenizer.json
34.4 MB
- Xet hash:
- fa94d6f58495ac08c516f83ef9148afe933f5e694c7d8942e264a1d478794f81
- Size of remote file:
- 34.4 MB
- SHA256:
- e6ce83119bb404f7f0a6e621b76759d476357dcd01241a90f9ca136ae2b3c11c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.