Downloads · 30 days
237
18% of all-time downloads
mondk/Msh-Tiny-14M
Msh-Tiny-14M is a text generation model from mondk. 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.
hi guys, im lazy to write, so this was written by claude, ty
Downloads · 30 days
237
18% of all-time downloads
All-time downloads
1.3K
Public
Parameters
13.9M
55.6 MB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors55.6 MB · 99%
From the Hugging Face model README
hi guys, im lazy to write, so this was written by claude, ty
A tiny (~14M parameter) GPT-2-architecture chat model, trained completely from scratch — no pretrained base model. Custom BPE tokenizer trained from zero, custom transformer trained from random initialization, then converted into a standard GPT2LMHeadModel for compatibility with the wider ecosystem.
Looking for a .gguf build? See mondk/GGUF.msh-tiny.
Trained from random initialization on a modest amount of data with limited compute — a small educational project, not a production-quality assistant. Expect reliable chat formatting but limited/inconsistent knowledge and occasional incoherent answers.
<|user|>
{your message}
<|assistant|>
The model stops generating at <|end|>.
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained("mondk/Msh-Tiny-14M")
tokenizer = AutoTokenizer.from_pretrained("mondk/Msh-Tiny-14M")
prompt = "<|user|>\nhi\n<|assistant|>\n"
input_ids = tokenizer(prompt, return_tensors="pt").input_ids
output = model.generate(input_ids, max_new_tokens=100, do_sample=True, temperature=0.7, top_k=40)
print(tokenizer.decode(output[0][input_ids.shape[1]:], skip_special_tokens=True))
Combining 3 well-known open instruction/chat datasets plus a small hand-written set of everyday chit-chat (greetings, thanks, small talk):
tatsu-lab/alpacateknium/OpenHermes-2.5HuggingFaceH4/no_robots