Instructions to use HoangTran223/SPIN_Gamma2-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HoangTran223/SPIN_Gamma2-2B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("HoangTran223/SPIN_Gamma2-2B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
SPIN Gemma2-2B
SPIN (DPO self-play, no PairRM) from SFT gemma2_2b_sft_ultrachat200k_20260820_043159/final.
Locked recipe: batch=2, grad_accum=2, lr 5e-7 ite0โ1 then 1e-7 ite2โ3,
beta=0.1, n_epochs=2, warmup_ratio=0.1, max_length=1024, prompt 512, 4 iters.
Status: ite0 and ite1 finished (weights at iteN/ root). ite2 is in progress,
resume snapshot at ite2/LATEST (example_counter=58000). ite2/train.jsonl is the generated self-play set.
from transformers import AutoModelForCausalLM
m = AutoModelForCausalLM.from_pretrained("HoangTran223/SPIN_Gamma2-2B", subfolder="ite1")
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Model tree for HoangTran223/SPIN_Gamma2-2B
Base model
google/gemma-2-2b