Downloads · 30 days
15
28% of all-time downloads
Sunny063/ERAV4-Week13-SmolLLM2-135m
ERAV4-Week13-SmolLLM2-135m is a text generation model from Sunny063. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
This repository contains a SmolLM2-135M compatible checkpoint trained from scratch as part of ERA V4 Week13.
Downloads · 30 days
15
28% of all-time downloads
All-time downloads
53
Public
Parameters
163M
326 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors326 MB · 99%
From the Hugging Face model README
This repository contains a SmolLM2-135M compatible checkpoint trained from scratch as part of ERA V4 Week13.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "<YOUR_HF_USERNAME/YOUR_MODEL_REPO>"
tok = AutoTokenizer.from_pretrained(model_id, use_fast=True)
model = AutoModelForCausalLM.from_pretrained(model_id)
inputs = tok("BIANCA:", return_tensors="pt")
out = model.generate(**inputs, max_new_tokens=80)
print(tok.decode(out[0], skip_special_tokens=True))