Downloads · 30 days
20
3% of all-time downloads
Norman89107/ryze-125m
ryze-125m is a text generation model from Norman89107. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
A 125M parameter GPT-2 style language model trained from scratch.
Downloads · 30 days
20
3% of all-time downloads
All-time downloads
678
Public
Parameters
124M
990 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors495 MB · 50%
From the Hugging Face model README
A 125M parameter GPT-2 style language model trained from scratch.
| Property | Value |
|---|---|
| Architecture | GPT-2 (decoder-only transformer) |
| Parameters | ~125M |
| Layers | 12 |
| Attention Heads | 12 |
| Hidden Dimension | 768 |
| Context Length | 512 tokens |
| Vocabulary Size | 50,000 |
| Training Steps | 23,000 |
| Tokens Seen | 376,832,000 (~377M) |
| Best Val Loss | 4.3596 |
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("Norman89107/ryze-125m")
tokenizer = AutoTokenizer.from_pretrained("Norman89107/ryze-125m")
input_text = "The future of artificial intelligence"
inputs = tokenizer(input_text, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=100, do_sample=True, temperature=0.8)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
This model uses a custom BPE tokenizer trained on 100,000 documents with a vocabulary of 50,000 tokens.