Downloads · 30 days
0
VizuaraAI/llm-114m-trained
llm-114m-trained is a machine learning model from VizuaraAI. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This is a 114M parameter language model trained on 10 billion tokens.
Downloads · 30 days
0
Access
Public
Updated Jul 25, 2025
Repo size
922 MB
Likes
0
Public
Click a slice to open those files.
.bin461 MB · 100%
From the Hugging Face model README
This is a 114M parameter language model trained on 10 billion tokens.
import torch
from Model import LLM, params
import tiktoken
# Load tokenizer
tokenizer = tiktoken.get_encoding("gpt2")
# Load model
device = "cuda" if torch.cuda.is_available() else "cpu"
model = LLM(params, tokenizer, device)
model.load_state_dict(torch.load("best_model_state-114m.bin"))
model.eval()
# Generate text
output = model.generate(
"Hello, I am",
max_gen_len=50,
temperature=0.6,
top_p=0.9,
top_k=32
)
print(output)