File size: 2,203 Bytes
58652ef
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
---
license: apache-2.0
base_model: google/gemma-4-E4B-it
tags:
  - bible
  - theology
  - gemma4
  - fine-tuned
  - qlora
language:
  - en
pipeline_tag: text-generation
---

# GemmaBible

A fine-tuned [Gemma 4 E4B](https://huggingface.co/google/gemma-4-E4B-it) model specialized in biblical scholarship, theology, and Bible study. Grounded in the Berean Standard Bible (BSB).

## What it does

- Quotes Scripture precisely from the BSB with proper citations
- Provides Greek and Hebrew word studies with transliterations and Strong's numbers
- Presents Protestant, Catholic, and Orthodox perspectives on debated topics
- Analyzes passages with scholarly hermeneutics and cited sources
- Detects and corrects common misquotations
- Stays within theological boundaries — declines non-theological requests

## Training

- **Base model**: google/gemma-4-E4B-it (4.5B effective parameters)
- **Method**: QLoRA (rank 64, alpha 64) with Unsloth
- **Data**: ~8,000 instruction examples across 11 specialized generators covering comparative theology, Greek/Hebrew exegesis, systematic theology, creedal analysis, and more
- **Hardware**: NVIDIA RTX PRO 6000 (96GB)
- **Epochs**: 3 | **Final loss**: 0.40

## Usage

### With Ollama (GGUF)

Download `merged.Q5_K_M.gguf` and create a Modelfile:

```
FROM ./merged.Q5_K_M.gguf
PARAMETER temperature 0.3
PARAMETER top_p 0.9
PARAMETER num_ctx 4096
```

```bash
ollama create gemmabible -f Modelfile
ollama run gemmabible "What does John 3:16 mean?"
```

### With Transformers

```python
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("rhemabible/GemmaBible")
tokenizer = AutoTokenizer.from_pretrained("rhemabible/GemmaBible")
```

## Files

| File | Format | Size | Use |
|---|---|---|---|
| `model.safetensors` | SafeTensors | ~15 GB | Full precision weights |
| `merged.Q5_K_M.gguf` | GGUF | ~5.5 GB | Ollama / LM Studio / llama.cpp |

## Limitations

- Trained on BSB text; may be less accurate with other Bible translations
- 4.5B parameters — less capacity for nuanced multi-turn theological debate compared to larger models
- Not a substitute for pastoral counsel or formal theological education