Downloads · 30 days
13
11% of all-time downloads
nraesalmi/tinyllama-kalevala-chat
tinyllama-kalevala-chat is a text generation model from nraesalmi. 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.
This is a fine-tuned version of TinyLlama/TinyLlama-1.1B-Chat, adapted to answer questions about the Finnish national epic, the Kalevala. The model was fine-tuned using LoRA (Low-Rank Adaptation) on a curated dataset…
Downloads · 30 days
13
11% of all-time downloads
All-time downloads
121
Public
Parameters
1.1B
4.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.2 GB · 100%
From the Hugging Face model README
This is a fine-tuned version of TinyLlama/TinyLlama-1.1B-Chat, adapted to answer questions about the Finnish national epic, the Kalevala. The model was fine-tuned using LoRA (Low-Rank Adaptation) on a curated dataset of prompt-response pairs derived from the Kalevala's characters, events, and symbolism.
TinyLlama-1.1B-Chatfrom transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
model = AutoModelForCausalLM.from_pretrained("nraesalmi/tinyllama-kalevala-chat")
tokenizer = AutoTokenizer.from_pretrained("nraesalmi/tinyllama-kalevala-chat")
chat = pipeline("text-generation", model=model, tokenizer=tokenizer)
chat("Tell me about the Sampo in the Kalevala:")
"The Sampo is a magical artifact in the Kalevala, forged by the smith Ilmarinen. It brings prosperity by grinding out salt, grain, and gold. The struggle for control of the Sampo is a central theme in the epic."
This model is intended for educational, cultural, and research purposes related to Finnish literature and mythology. It may also be useful for generating creative narratives or teaching materials about the Kalevala.
The model may hallucinate or provide incorrect historical details outside its fine-tuned scope.
While aligned to be informative, it does not always follow factual sources beyond its training data.
The model follows the same license as the original TinyLlama base model (Apache 2.0). The fine-tuning dataset is public domain or derived from freely accessible summaries and interpretations of the Kalevala.
Fine-tuned and published by nraesalmi