Downloads · 30 days
18
28% of all-time downloads
BananaMind/MicroStoryBananaMind-V1
MicroStoryBananaMind-V1 is a text generation model from BananaMind. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as other.
Downloads · 30 days
18
28% of all-time downloads
All-time downloads
64
Public
Repo size
1.4 MB
Likes
0
Public
Click a slice to open those files.
.png1.3 MB · 91%
From the Hugging Face model README

MicroStoryBananaMind-V1 is a tiny character-level story model trained on TinyStories-style text.
It uses a GRU:
Install dependencies:
pip install transformers numpy huggingface_hub
Load from Hugging Face:
from transformers import AutoModel
model = AutoModel.from_pretrained(
"BananaMind/MicroStoryBananaMind-V1",
trust_remote_code=True,
)
text = model.generate_text(
prompt="Once upon a time, there was a cat",
max_new_tokens=500,
temperature=0.65,
top_k=25,
repetition_penalty=1.08,
seed=42,
)
print(text)
Local usage:
from transformers import AutoModel
model = AutoModel.from_pretrained(
"./MicroStoryBananaMind-V1",
trust_remote_code=True,
)
print(model.generate_text(
prompt="Once upon a time",
max_new_tokens=300,
temperature=0.65,
top_k=25,
))
This is a compact experimental model
The model is character-level, so it generates one character at a time.
Once upon a time, there was a cats sad. He said she saw the dinner and smiling. She said, "Yes is a strong. I snats the big sunstafe.
The squirrow had learned that it shapes and said goodbyes and did not sunsund. They said he smiled and said, "Yes!
Once upon a time there was a little girl named Timmy and said no a sunseard toget
Once upon a time there was a shiny little girl named Misinn.
"What is that?" she says.
"His big story is dinner lickly to snaugh the string. The dragon smiled nead that the bird bitef slides some sunshine. She said "Thank you, thank you, Lily. You have some new sunself. I didn't see that shaters is not here so sp
Once upon a time, there was a little boy named Timmy, Timmy was playing with his favorite toy that it was many funny. The mom said so snowed that she stopped that showes be smiles. He said, "Ghank!"
Lily smiled and said, "This disalshable slishad was scared.
Herself that day! I should share her eyes and stay some trass to see what shrong that is surprise!"
The sun was scared to be more n
To compare, the banner image of this model card is 1.2MB, and the model is 100KB thats 12x smaller than a single image.
Though the Activations, hidden state, gate math, scales, biases, and accumulators are FP32.