How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="ModelCloud/tinyllama-15M-stories")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("ModelCloud/tinyllama-15M-stories")
model = AutoModelForCausalLM.from_pretrained("ModelCloud/tinyllama-15M-stories")
Quick Links

This is the 15M parameter Llama 2 architecture model trained on the TinyStories dataset. These are converted from karpathy/tinyllamas. See the llama2.c project for more details.

Downloads last month
805
Safetensors
Model size
15.2M params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ModelCloud/tinyllama-15M-stories

Quantizations
1 model