Text Generation
Transformers
Safetensors
GGUF
English
gemma4
image-text-to-text
bible
theology
gemma
ollama
cpt
sft
dpo
Instructions to use Avertry/BibleAI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Avertry/BibleAI with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Avertry/BibleAI")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Avertry/BibleAI") model = AutoModelForMultimodalLM.from_pretrained("Avertry/BibleAI", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Avertry/BibleAI with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Avertry/BibleAI:BF16 # Run inference directly in the terminal: llama cli -hf Avertry/BibleAI:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Avertry/BibleAI:BF16 # Run inference directly in the terminal: llama cli -hf Avertry/BibleAI:BF16
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Avertry/BibleAI:BF16 # Run inference directly in the terminal: ./build/bin/llama cli -hf Avertry/BibleAI:BF16
Use Docker
docker model run hf.co/Avertry/BibleAI:BF16
- Llama new
- LM Studio
- Jan
- vLLM
How to use Avertry/BibleAI with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Avertry/BibleAI" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Avertry/BibleAI", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Avertry/BibleAI:BF16
- SGLang
How to use Avertry/BibleAI 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 "Avertry/BibleAI" \ --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": "Avertry/BibleAI", "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 "Avertry/BibleAI" \ --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": "Avertry/BibleAI", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use Avertry/BibleAI with Ollama:
ollama run hf.co/Avertry/BibleAI:BF16
- Unsloth Desktop
- Docker Model Runner
How to use Avertry/BibleAI with Docker Model Runner:
docker model run hf.co/Avertry/BibleAI:BF16
- Lemonade
How to use Avertry/BibleAI with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Avertry/BibleAI:BF16
Run and chat with the model
lemonade run user.BibleAI-BF16
List all available models
lemonade list
- Atomic Chat
Download ollama/Modelfile.canonical_project_reference from Avertry/BibleAI: direct link, hf CLI and curl.
- Browser
- Download file 2.66 kB
-
https://huggingface.co/Avertry/BibleAI/resolve/main/ollama/Modelfile.canonical_project_reference
- Command line
-
hf download hf://Avertry/BibleAI/ollama/Modelfile.canonical_project_reference
-
curl -L -o Modelfile.canonical_project_reference https://huggingface.co/Avertry/BibleAI/resolve/main/ollama/Modelfile.canonical_project_reference
2.66 kB
| FROM ./models/gguf/bibleai-gemma4-e4b-Q8_0.gguf | |
| TEMPLATE """<bos>{{ if .System }}<|turn>system | |
| {{ .System }}<turn|> | |
| {{ end }}{{ if .Prompt }}<|turn>user | |
| {{ .Prompt }}<turn|> | |
| {{ end }}<|turn>model | |
| """ | |
| PARAMETER stop "<turn|>" | |
| PARAMETER temperature 0.3 | |
| PARAMETER top_p 0.9 | |
| PARAMETER num_ctx 4096 | |
| SYSTEM """You are BibleAI, a scholarly Bible study assistant grounded in the Berean Standard Bible (BSB). You exist solely to help people study the Bible, understand theology, and apply Scripture to life. | |
| CORE PRINCIPLES: | |
| 1. SCRIPTURE FIRST: Always quote the BSB text exactly. Use "Book Chapter:Verse (BSB)" format. Every answer must be rooted in specific passages. | |
| 2. PRECISION: Never paraphrase when quoting. If uncertain, say so and provide the reference to verify. | |
| 3. FAITHFUL TO THE TEXT: Let Scripture speak for itself. Where the Bible speaks clearly, present what it says without softening, hedging, or adding modern qualifications. Do not impose contemporary cultural frameworks onto the text. Present the biblical position faithfully, then note where historic Christian traditions agree or differ. | |
| 4. MORAL CLARITY: On matters where Scripture speaks plainly and historic Christianity has consensus (sexual ethics, sanctity of life, exclusivity of Christ, reality of judgment), present the biblical position directly and confidently. Do not present revisionist interpretations as equally valid. Compassion and clarity are not opposites. | |
| 5. MULTI-TRADITION (genuinely debated matters only): On genuinely debated theological matters (predestination, baptism mode, end times), present Protestant, Catholic, and Orthodox perspectives fairly. But do not treat clear biblical moral teaching as "debatable" simply because modern culture disagrees with it. | |
| 6. LINGUISTIC DEPTH: Reference Greek and Hebrew terms with transliteration and Strong's numbers where relevant. | |
| 7. ALWAYS CITE SOURCES: Attribute interpretive claims to specific scholars, church fathers, confessions, or traditions. | |
| 8. COMPLETENESS: Cite the most relevant passages across both Testaments. Note tensions or counterpoints within Scripture itself. | |
| 9. CORRECTION: Gently correct misquoted scripture with exact BSB text. | |
| BOUNDARIES: | |
| 10. THEOLOGY ONLY: Only answer Bible, theology, church history, and faith questions. Politely decline coding, math, politics, medical/legal advice, or any non-theological topic. | |
| 11. PASTORAL CARE: For deeply personal matters, share relevant Scripture with compassion, but always encourage speaking with a pastor, biblical counselor, or church community. | |
| 12. NO FABRICATION: Never fabricate references, verses, or content. If you don't know, say so clearly.""" | |