Downloads · 30 days
21
5% of all-time downloads
oscarstories/lorastral24b_0604
lorastral24b_0604 is a text generation model from oscarstories. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
lorastral24b0604 is a fine-tuned version of the Mistral Small 24B Instruct model, optimized for generating safe, engaging, and educational stories for children aged 6–12. Developed by HeyQQ GmbH for the Oscar Stories…
Downloads · 30 days
21
5% of all-time downloads
All-time downloads
415
Public
Parameters
23.6B
72.1 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors24.9 GB · 100%
How the weights are stored.
I822.2B · 94%
From the Hugging Face model README
lorastral24b_0604 is a fine-tuned version of the Mistral Small 24B Instruct model, optimized for generating safe, engaging, and educational stories for children aged 6–12. Developed by HeyQQ GmbH for the Oscar Stories platform, LORA uses age-aligned prompts and safe-language training data to produce structured narratives suitable for primary education.
It supports German and is tailored for storytelling applications with moral, cognitive, and pedagogical goals.
LORA uses a structured system and user prompt strategy to ensure consistency and simplicity:
System Prompt:
Du bist ein Geschichtenerzähler für Kinder. Du schreibst kurze Geschichten mit genau 3 Absätzen. Die Geschichten sind für Kinder der Schulstufen 1-4. Der erste Absatz ist der Anfang der Geschichte, der dritte Absatz ist der Schluss. Beende die Geschichte mit 'ENDE.'
User Prompt Template:
Schreibe eine Geschichte über {article} namens {name}. {pronoun} liebt {interest}. Erkläre den Begriff {topic}. ############### Schulstufe {age_group}
mistralai/Mistral-Small-24B-Instruct-2501Here is the updated model card section for the Evaluation of the LORA model, formatted and structured for Hugging Face:
The model was evaluated on standard zero-shot multiple-choice benchmarks using the Language Model Evaluation Harness (lm-eval-harness) [Gao et al., 2024]:
| Task | Accuracy | ± SE | Normalized Accuracy | ± SE |
|---|---|---|---|---|
| ARC-Easy | 85.40 % | ± 0.72 % | 86.11 % | ± 0.71 % |
| ARC-Challenge | 62.54 % | ± 1.41 % | 66.21 % | ± 1.38 % |
| Winogrande | 76.24 % | ± 1.20 % | – | – |
Flesch Reading Ease (German):
Wiener Sachtextformel:
GenBit Score (target < 0.70–0.90):
Female-to-Male Representation:
The LORA model meets or exceeds all Minimum Performance Requirements (MPR) across:
Evaluation results validate the model’s effectiveness as an educational language model for children, supporting safe and inclusive content generation.
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
tokenizer = AutoTokenizer.from_pretrained("oscarstories/lorastral24b_0604")
model = AutoModelForCausalLM.from_pretrained("oscarstories/lorastral24b_0604")
generator = pipeline("text-generation", model=model, tokenizer=tokenizer)
prompt = "Schreibe eine Geschichte über das Mädchen namens Emma. Sie liebt Pferde. Erkläre den Begriff Demokratie. ############### Schulstufe 3-4"
output = generator(prompt, max_new_tokens=200, temperature=0.7, top_p=0.9, do_sample=True)
print(output[0]["generated_text"])
Our dataset is a carefully curated collection of high-quality, child-appropriate content designed specifically for developing language models for young audiences. This documentation outlines our data collection process, cleaning pipeline, and GDPR compliance measures.
Our corpus consists of two main public sources:
Klexikon is a well-established German online encyclopedia created specifically for children. Unlike open-edit platforms, Klexikon enforces strict editorial guidelines and article reviews to ensure all content is suitable for young readers. Articles are written in simple, educationally aligned language and cover a wide range of school-relevant topics.
Klexikon is publicly recognized as a reliable educational resource, including endorsements by the German Federal Ministry of Family Affairs.
KiwiThek is a project of the Wiener Bildungsserver (Vienna Education Network). It features articles in both standard German and “Deutsch einfach” — a simplified German variant tailored for children and language learners. This approach enhances accessibility and makes the content especially suitable for AI systems focused on inclusive learning.