Downloads · 30 days
17
6% of all-time downloads
Danilosistu/OpenMythos-Tiny
OpenMythos-Tiny is a text generation model from Danilosistu. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
This is a custom architecture 'OpenMythos' model (approx 17.1M parameters) trained on the FineWeb-Edu dataset. Bigger models on the same architecture will be released in future
Downloads · 30 days
17
6% of all-time downloads
All-time downloads
270
Public
Parameters
17.1M
206 MB on disk
Likes
1
Public
Click a slice to open those files.
.pt137 MB · 67%
How the weights are stored.
F3217.1M · 100%
From the Hugging Face model README
This is a custom architecture 'OpenMythos' model (approx 17.1M parameters) trained on the FineWeb-Edu dataset. Bigger models on the same architecture will be released in future
To use this model, you need to use trust_remote_code=True because it uses a custom recurrence-based architecture.
from transformers import AutoModelForCausalLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("Danilosistu/open-mythos-tiny-fineweb")
model = AutoModelForCausalLM.from_pretrained(
"Danilosistu/open-mythos-tiny-fineweb",
trust_remote_code=True
)
inputs = tokenizer("Once upon a time", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=50)
print(tokenizer.decode(outputs[0]))