Downloads · 30 days
0
cr-28/llama3-storyweaver-lora
llama3-storyweaver-lora is a machine learning model from cr-28. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Perfect 👌 — here’s a professional, polished Hugging Face model card you can paste directly into your model’s README.md at 👉 https://huggingface.co/cr-28/llama3-storyweaver-lora
Downloads · 30 days
0
Access
Public
Updated Nov 10, 2025
Repo size
101 MB
Likes
0
Public
Click a slice to open those files.
.safetensors83.9 MB · 83%
From the Hugging Face model README
Perfect 👌 — here’s a professional, polished Hugging Face model card you can paste directly into your model’s README.md at
👉 https://huggingface.co/cr-28/llama3-storyweaver-lora
LLaMA3-StoryWeaver-LoRA is a fine-tuned version of Meta’s LLaMA 3 model adapted with LoRA (Low-Rank Adaptation) to specialize in creative text generation — including mythology-inspired narratives, fantasy short stories, and character-driven tales.
It can generate engaging, coherent, and imaginative short stories across diverse mythological and fictional themes.
| Feature | Description |
|---|---|
| Base Model | Meta’s LLaMA-3 (8B) |
| Fine-tuning Method | LoRA (Low-Rank Adaptation) |
| Framework | 🤗 Transformers + PEFT |
| Trained On | Kaggle (T4 GPU) |
| Use Case | Creative writing, mythology, storytelling |
| Languages | English |
| Checkpoint Size | ~84 MB (LoRA adapter only) |
Dataset: A curated dataset of mythology and short story samples formatted in instruction–response pairs (JSONL).
Dataset Size: ~18,500 training samples / ~2,000 validation samples.
Objective: Fine-tune the model to generate vivid short stories with structured flow and strong creative language.
Training Setup:
fp16Generates imaginative short stories, myths, and folklore.
Capable of maintaining contextual coherence and creative tone.
Can adapt prompts such as:
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "cr-28/llama3-storyweaver-lora"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
prompt = "Tell me a short story about a dragon who lost its fire."
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=200, temperature=0.8, top_p=0.9)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
| Category | Result |
|---|---|
| Creativity | High |
| Coherence | Moderate to High |
| Grammar | Good |
| Cultural consistency | Fairly accurate |
| Mythological tone | Strong |
(Evaluated manually on 100 generated samples.)
If you wish to merge this adapter with the base LLaMA-3 model:
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_model = "meta-llama/Meta-Llama-3-8B"
adapter_model = "cr-28/llama3-storyweaver-lora"
tokenizer = AutoTokenizer.from_pretrained(base_model)
model = AutoModelForCausalLM.from_pretrained(base_model)
model = PeftModel.from_pretrained(model, adapter_model)
Model fine-tuned and prepared by: @cr-28
This model follows the same licensing terms as LLaMA 3. Please ensure compliance with Meta’s LLaMA 3 License before commercial use.