Avertry
/

File size: 976 Bytes
bc6257d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Hugging Face Publish

## 1) Go to release folder

```bash
cd /Users/robert/bibleai-backup/release/BibleAI-Gemma4-E4B-CPT-SFT-DPO-20260414
```

## 2) Verify GGUF checksums

```bash
sha256sum gguf/final_merged.BF16.gguf gguf/final_merged.Q8_0.gguf
```

Expected:

- `e07e38d28d3032d3b438b7b8b90cbf4cf5e66177b52e8f60673cac3586dc10a1`  `final_merged.BF16.gguf`
- `3c7f5f9caf080fe44720f16b5f4b5e7e95a097d6be3d1d8d89aea22e8574bad1`  `final_merged.Q8_0.gguf`

## 3) Log in to Hugging Face

```bash
huggingface-cli login
```

or

```bash
hf auth login
```

## 4) Push the full release

```bash
HF_REPO=<your-username-or-org>/<your-model-repo> ./scripts/upload_to_hf.sh
```

Example:

```bash
HF_REPO=rhemabible/BibleAI ./scripts/upload_to_hf.sh
```

This pushes:

- HF merged model (`hf/`)
- GGUF (`gguf/` BF16 + Q8_0)
- Ollama Modelfiles (`ollama/`)
- adapters, checksums, logs, docs

Canonical names:
- HF repo: `rhemabible/BibleAI`
- Ollama models: `bibleaiq8` and `bibleaibf16`