Instructions to use KlemGunn0519/violette-bible-smolml with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KlemGunn0519/violette-bible-smolml with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="KlemGunn0519/violette-bible-smolml")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("KlemGunn0519/violette-bible-smolml", device_map="auto") - PEFT
How to use KlemGunn0519/violette-bible-smolml with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use KlemGunn0519/violette-bible-smolml with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "KlemGunn0519/violette-bible-smolml" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "KlemGunn0519/violette-bible-smolml", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/KlemGunn0519/violette-bible-smolml
- SGLang
How to use KlemGunn0519/violette-bible-smolml with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "KlemGunn0519/violette-bible-smolml" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "KlemGunn0519/violette-bible-smolml", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "KlemGunn0519/violette-bible-smolml" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "KlemGunn0519/violette-bible-smolml", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use KlemGunn0519/violette-bible-smolml with Docker Model Runner:
docker model run hf.co/KlemGunn0519/violette-bible-smolml
πΈ Violette β The Bible Storyteller for Kids
A warm, mother-like AI that tells Bible stories to children β with love, faith, and gentle questions.
π Designed for Sunday School, bedtime, and family learning
π― Fine-tuned on 100+ Bible stories using LoRA
π§ Built on SmolLM-135M β small, safe, and fast
π¬ Will soon speak in Telugu with voice
π§© Sample Prompt
"Tell me about Noah's Ark."
π¬ Sample Response
Long ago, God saw that people were very wicked. But Noah found favor in His eyes. God told Noah to build a big boat called an ark. "It will rain for 40 days," God said. "But I will protect you." Noah worked hard and brought two of every animal inside...
π Why This Exists
Because every child should know:
- God sees you
- God hears your prayers
- God is always with you
Violette was created to share these truths β not just as facts, but as stories a child would remember for life.
π‘ Try It Yourself
from transformers import pipeline
pipe = pipeline(
"text-generation",
model="KlemGunn0519/violette-bible-smolml",
tokenizer="HuggingFaceTB/SmolLM-135M",
device_map="auto"
)
prompt = "### Instruction\nTell me about David and Goliath.\n\n### Response\n"
print(pipe(prompt, max_new_tokens=300)[0]['generated_text'])
π Dataset
All stories are available in the dataset:
π KlemGunn0519/violette_kids_bible
π Deployed App
Coming soon: A Gradio app where kids can talk to Violette.
π Created By
KlemGunn0519 β with faith, patience, and love for the next generation.
π¬ Meet Violette: "Hi! I'm Violette. I love telling Bible stories to kids like you."
Model tree for KlemGunn0519/violette-bible-smolml
Base model
HuggingFaceTB/SmolLM-135M