chirs345678 commited on
Commit
dbb8e24
·
verified ·
1 Parent(s): 67ec220

Rollback standard-layout cleanup

Browse files

Restore every file from backup-pre-hf-cleanup-20260813 (2ca02f2cb4b845f95bd52f8f28972bd945d7c032).

This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +17 -1
  2. .gitignore +7 -0
  3. HF_UPLOAD_MANIFEST.json +60 -0
  4. README.md +150 -60
  5. SHA256SUMS.txt +106 -0
  6. Start-Llama-Service.bat +14 -0
  7. Stop-Llama-Service.bat +5 -0
  8. adapter/adapter_config.json +46 -0
  9. adapter/adapter_model.safetensors +3 -0
  10. chat_template.jinja → adapter/chat_template.jinja +0 -0
  11. tokenizer.json → adapter/tokenizer.json +0 -0
  12. adapter/tokenizer_config.json +249 -0
  13. assets/anrn-12b-r1-benchmarks.jpg +3 -0
  14. audio-test-result.json +24 -0
  15. llama-bootstrap-verification.json +95 -0
  16. llama-bootstrap.ps1 +224 -0
  17. llama-identity-test.json +58 -0
  18. llama-model/anru-final-lora-Q8_0.gguf +3 -0
  19. llama-model/anru-gemma4-12b-base-Q5_K_M.gguf +3 -0
  20. llama-model/chat_template.prompt30k.jinja +0 -0
  21. llama-model/model-verification.json +11 -0
  22. llama-model/ui-config.json +13 -0
  23. llama-runtime-state.json +20 -0
  24. llama-runtime/cublas64_13.dll +3 -0
  25. llama-runtime/cublasLt64_13.dll +3 -0
  26. llama-runtime/cudart64_13.dll +3 -0
  27. llama-runtime/ggml-base.dll +3 -0
  28. llama-runtime/ggml-cpu-alderlake.dll +3 -0
  29. llama-runtime/ggml-cpu-cannonlake.dll +3 -0
  30. llama-runtime/ggml-cpu-cascadelake.dll +3 -0
  31. llama-runtime/ggml-cpu-cooperlake.dll +3 -0
  32. llama-runtime/ggml-cpu-haswell.dll +3 -0
  33. llama-runtime/ggml-cpu-icelake.dll +3 -0
  34. llama-runtime/ggml-cpu-ivybridge.dll +3 -0
  35. llama-runtime/ggml-cpu-piledriver.dll +3 -0
  36. llama-runtime/ggml-cpu-sandybridge.dll +3 -0
  37. llama-runtime/ggml-cpu-sapphirerapids.dll +3 -0
  38. llama-runtime/ggml-cpu-skylakex.dll +3 -0
  39. llama-runtime/ggml-cpu-sse42.dll +3 -0
  40. llama-runtime/ggml-cpu-x64.dll +3 -0
  41. llama-runtime/ggml-cpu-zen4.dll +3 -0
  42. llama-runtime/ggml-cuda.dll +3 -0
  43. llama-runtime/ggml-rpc-server.exe +3 -0
  44. llama-runtime/ggml-rpc.dll +3 -0
  45. llama-runtime/ggml.dll +0 -0
  46. llama-runtime/libomp140.x86_64.dll +3 -0
  47. llama-runtime/llama-batched-bench-impl.dll +0 -0
  48. llama-runtime/llama-batched-bench.exe +0 -0
  49. llama-runtime/llama-bench-impl.dll +3 -0
  50. llama-runtime/llama-bench.exe +0 -0
.gitattributes CHANGED
@@ -1,2 +1,18 @@
1
  *.safetensors filter=lfs diff=lfs merge=lfs -text
2
- tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  *.safetensors filter=lfs diff=lfs merge=lfs -text
2
+ *.gguf filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.pt filter=lfs diff=lfs merge=lfs -text
5
+ *.pth filter=lfs diff=lfs merge=lfs -text
6
+ *.onnx filter=lfs diff=lfs merge=lfs -text
7
+ *.dll filter=lfs diff=lfs merge=lfs -text
8
+ *.exe filter=lfs diff=lfs merge=lfs -text
9
+ *.zip filter=lfs diff=lfs merge=lfs -text
10
+ *.tar filter=lfs diff=lfs merge=lfs -text
11
+ *.zst filter=lfs diff=lfs merge=lfs -text
12
+ *.wav filter=lfs diff=lfs merge=lfs -text
13
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
14
+ *.jpg filter=lfs diff=lfs merge=lfs -text
15
+ *.png filter=lfs diff=lfs merge=lfs -text
16
+
17
+ model/tokenizer.json filter=lfs diff=lfs merge=lfs -text
18
+ adapter/tokenizer.json filter=lfs diff=lfs merge=lfs -text
.gitignore ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ .cache/
2
+ __pycache__/
3
+ *.pyc
4
+ *.stderr.log
5
+ *.stdout.log
6
+ *-service-state.json
7
+
HF_UPLOAD_MANIFEST.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo_id": "chirs345678/Anrn-12B-R1",
3
+ "display_name": "Anrn 12B R1",
4
+ "source_variant": "full-bf16-original",
5
+ "staging_root": "C:\\Users\\夏霖云\\Documents\\Codex\\2026-08-05\\ll-ma\\outputs\\hf-staging\\Anrn-12B-R1",
6
+ "files": 108,
7
+ "benchmark_image": "assets/anrn-12b-r1-benchmarks.jpg",
8
+ "benchmark_results": {
9
+ "MMLU-Pro": 74.2,
10
+ "GPQA Diamond": 77.8,
11
+ "AIME 2026 (no tools)": 69.6,
12
+ "LiveCodeBench v6": 68.3,
13
+ "Codeforces Elo": 1521,
14
+ "BigBench Extra Hard": 48.2,
15
+ "Tau2 Average": 63.2,
16
+ "MMMU Pro": 62.1,
17
+ "MRCR v2 (128K)": 42.6
18
+ },
19
+ "large_files": [
20
+ {
21
+ "path": "adapter/adapter_model.safetensors",
22
+ "bytes": 131224632,
23
+ "sha256": "6FDA7AD849C2208C7A8D549B0F9588B5B2BF789B0FAF2E44427B8D73171C44B6"
24
+ },
25
+ {
26
+ "path": "llama-model/anru-final-lora-Q8_0.gguf",
27
+ "bytes": 51682496,
28
+ "sha256": "3A5060E1CC0C8D4609052EF04A5A60770A64D566E2544B65F6D28F2BA6542037"
29
+ },
30
+ {
31
+ "path": "llama-model/anru-gemma4-12b-base-Q5_K_M.gguf",
32
+ "bytes": 8547249568,
33
+ "sha256": "057C364366301EE285E9026ECF417AAE36F4447D5D9CBBC3591447A9FC77A752"
34
+ },
35
+ {
36
+ "path": "llama-runtime/cublas64_13.dll",
37
+ "bytes": 51870320,
38
+ "sha256": "F1D500D0CD892F5B8C6B6CDBFFD82D0C55D5F5427215668E7CEB55AEECCC1B63"
39
+ },
40
+ {
41
+ "path": "llama-runtime/cublasLt64_13.dll",
42
+ "bytes": 460301424,
43
+ "sha256": "B592CD016D7673E9CB97716A22B27C4010EE635377A3BA28F37070A9BDB76A68"
44
+ },
45
+ {
46
+ "path": "llama-runtime/ggml-cuda.dll",
47
+ "bytes": 141608448,
48
+ "sha256": "A1F0ED3DC2D80FA7B4C33A3156C99F79DA782152A05AF87F4D4687A459AB6C41"
49
+ },
50
+ {
51
+ "path": "model/model.safetensors",
52
+ "bytes": 23919549408,
53
+ "sha256": "FE054AE05FF7F44318FD8AE90D58992531455C7ED31356704088F0F2D8C8009A"
54
+ }
55
+ ],
56
+ "hashing_seconds": 30.859,
57
+ "payload_bytes_excluding_manifest": 33416349568,
58
+ "hub_gitattributes_normalized": true,
59
+ "hub_gitattributes_sha256": "0045B59DBD28A94B5A1F1D5AAEB1FB87DECFA02F2B3095ADFCAB1BCCA03C9570"
60
+ }
README.md CHANGED
@@ -1,62 +1,152 @@
1
- ---
2
- library_name: transformers
3
- pipeline_tag: any-to-any
4
- license: apache-2.0
5
- license_link: https://ai.google.dev/gemma/docs/gemma_4_license
6
- base_model: google/gemma-4-12B-it
7
- model_name: Anrn-12B-R1
8
- tags:
9
- - gemma4
10
- - multimodal
11
- - bf16
12
- - text-generation
13
- - image-text-to-text
14
- - audio-text-to-text
15
- - video-text-to-text
16
- ---
17
-
18
- # Anrn 12B R1
19
-
20
- This repository is the clean Hugging Face/Transformers checkpoint layout for the **original BF16 model weights** and the native multimodal processor used by Anrn 12B R1.
21
-
22
- ## Contents
23
-
24
- - `model.safetensors` - original BF16 checkpoint
25
- - `config.json` - model architecture
26
- - `generation_config.json` - generation defaults
27
- - `processor_config.json` - native image, audio, and video processor configuration
28
- - `tokenizer.json` and `tokenizer_config.json` - tokenizer required by the unified processor
29
- - `chat_template.jinja` - chat formatting template
30
-
31
- The repository intentionally excludes LoRA adapters, GGUF quantizations, llama.cpp binaries, launch scripts, logs, test media, and internal verification artifacts.
32
-
33
- ## Load with Transformers
34
-
35
- Install a Transformers release with Gemma 4 Unified support and the native
36
- vision dependencies:
37
-
38
- ```bash
39
- pip install "transformers>=5.10.0" torch torchvision accelerate safetensors
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  ```
41
 
42
- ```python
43
- from transformers import AutoModelForMultimodalLM, AutoProcessor
44
-
45
- model_id = "chirs345678/Anrn-12B-R1"
46
- processor = AutoProcessor.from_pretrained(model_id)
47
- model = AutoModelForMultimodalLM.from_pretrained(
48
- model_id,
49
- dtype="auto",
50
- device_map="auto",
51
- )
52
- ```
53
-
54
- The checkpoint accepts text, image, audio, and video input and generates text.
55
-
56
- ## Checkpoint note
57
-
58
- This clean revision contains the byte-identical original BF16 base checkpoint only. The previously bundled project LoRA is deliberately not part of this repository.
59
-
60
- ## License
61
-
62
- Apache 2.0. See the linked Gemma 4 license information and upstream terms.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ license_link: https://ai.google.dev/gemma/docs/gemma_4_license
4
+ library_name: transformers
5
+ pipeline_tag: any-to-any
6
+ base_model: google/gemma-4-12B-it
7
+ tags:
8
+ - gemma4
9
+ - multimodal
10
+ - text-generation
11
+ - image-text-to-text
12
+ - audio-text-to-text
13
+ - video-text-to-text
14
+ - long-context
15
+ - lora
16
+ - bf16
17
+ - llama-cpp
18
+ - zh
19
+ - en
20
+ model_name: Anrn-12B-R1
21
+ ---
22
+
23
+ # Anrn 12B R1
24
+
25
+ **Anrn 12B R1** is a 12B dense, natively multimodal Gemma 4 derivative distributed as a byte-identical BF16 base plus a project LoRA adapter applied at a tested scale of `0.45`. The release supports text, image, audio, and video inputs through the native Transformers service and includes a ready-to-run llama.cpp text deployment.
26
+
27
+ > **Release layout:** this repository intentionally keeps the original BF16 base and the trained adapter separate rather than destructively merging them. The included launchers compose both parts at runtime.
28
+
29
+ ## Benchmark results
30
+
31
+ ![Anrn 12B R1 benchmark results](assets/anrn-12b-r1-benchmarks.jpg)
32
+
33
+ | Benchmark | Anrn 12B R1 |
34
+ |---|---:|
35
+ | MMLU-Pro | **74.2** |
36
+ | GPQA Diamond | **77.8** |
37
+ | AIME 2026 (no tools) | **69.6** |
38
+ | LiveCodeBench v6 | **68.3** |
39
+ | Codeforces Elo | **1521** |
40
+ | BigBench Extra Hard | **48.2** |
41
+ | Tau2 Average | **63.2** |
42
+ | MMMU Pro | **62.1** |
43
+ | MRCR v2 (128K) | **42.6** |
44
+
45
+ The Anrn values above come from the project's August 2026 evaluation run. The comparison values shown in the chart are reproduced from the published benchmark results used by that report; values marked with `~` are approximate.
46
+
47
+ ## Model details
48
+
49
+ | Field | Value |
50
+ |---|---|
51
+ | Architecture | Gemma 4 Unified, dense decoder-only multimodal model |
52
+ | Parameters | 11.95B |
53
+ | Base model | `google/gemma-4-12B-it` |
54
+ | Native precision | BF16 |
55
+ | Adaptation | LoRA, rank 8, alpha 16 |
56
+ | Tested adapter scale | `0.45` |
57
+ | Native modalities | Text, image, audio, video input; text output |
58
+ | Tested service context | 131,072 tokens |
59
+ | Model configuration maximum | 262,144 positions |
60
+ | Languages | Multilingual; optimized project behavior in Chinese and English |
61
+ | Default prompt | Project constitution embedded in `system_prompt.md` |
62
+
63
+ ## Repository structure
64
+
65
+ ```text
66
+ model/ Original BF16 Gemma 4 12B weights and processor files
67
+ adapter/ Anrn R1 PEFT/LoRA adapter
68
+ llama-model/ Q5_K_M GGUF base, Q8_0 GGUF LoRA, and embedded chat template
69
+ llama-runtime/ Verified Windows CUDA llama.cpp runtime
70
+ assets/ Benchmark figure
71
+ start.ps1 Native multimodal OpenAI-compatible service
72
+ serve.py Native service implementation
73
+ Start-Llama-Service.bat
74
+ One-click llama.cpp text Web UI
75
+ ```
76
+
77
+ ## Quick start: native multimodal service
78
+
79
+ Requirements: Windows, Python, a recent CUDA-capable NVIDIA GPU, and PowerShell.
80
+
81
+ ```powershell
82
+ python -m pip install -r requirements.txt
83
+ .\start.ps1 -Port 8091
84
+ ```
85
+
86
+ The launcher loads `model/`, mounts `adapter/` at scale `0.45`, injects `system_prompt.md`, uses PyTorch SDPA for long-context inference, and automatically offloads language layers to system memory when required. The tested configuration used approximately 14 GB of GPU memory.
87
+
88
+ OpenAI-compatible endpoint:
89
+
90
+ ```text
91
+ POST http://127.0.0.1:8091/v1/chat/completions
92
+ ```
93
+
94
+ Example health check:
95
+
96
+ ```powershell
97
+ Invoke-RestMethod http://127.0.0.1:8091/health
98
  ```
99
 
100
+ ## Quick start: llama.cpp Web UI
101
+
102
+ On Windows, double-click:
103
+
104
+ ```text
105
+ Start-Llama-Service.bat
106
+ ```
107
+
108
+ The bootstrap checks the bundled llama.cpp runtime and, if it is missing, downloads a matching official Windows CUDA/CPU build. It then starts the text Web UI with:
109
+
110
+ - 131,072-token context
111
+ - LoRA scale `0.45`
112
+ - Flash Attention
113
+ - Q8_0 K/V cache
114
+ - the project system prompt embedded in the Jinja chat template
115
+
116
+ Web UI: `http://127.0.0.1:8091`
117
+
118
+ Use `Stop-Llama-Service.bat` to stop it. The llama.cpp route is text-only; use `start.ps1` for native image, audio, and video inputs.
119
+
120
+ ## Prompt behavior
121
+
122
+ `system_prompt.md` contains the release's default project constitution. The native server injects it before caller-provided system content. A request may set:
123
+
124
+ ```json
125
+ {"use_default_system_prompt": false}
126
+ ```
127
+
128
+ to disable the default prompt for that request. The llama.cpp prompt is embedded in `llama-model/chat_template.prompt30k.jinja`.
129
+
130
+ ## Verification
131
+
132
+ The release contains machine-readable verification artifacts covering:
133
+
134
+ - native text, image, audio, and video loading
135
+ - prompt hash and injection behavior
136
+ - llama.cpp health, 128K context, and live LoRA scale
137
+ - identity smoke tests
138
+ - package checksums and rollback scripts
139
+
140
+ Primary records: `verification.json`, `llama-bootstrap-verification.json`, `prompt30k-verification.json`, and `SHA256SUMS.txt`.
141
+
142
+ ## Limitations
143
+
144
+ - Benchmark scores are sensitive to prompt templates, decoding parameters, judge versions, and harness revisions.
145
+ - The BF16 base is large; CPU offload improves accessibility but reduces generation speed.
146
+ - The included llama.cpp path is an auxiliary quantized text deployment and does not expose the native multimodal input path.
147
+ - Users should evaluate the model for their target language, domain, and deployment policy before production use.
148
+
149
+ ## License
150
+
151
+ Apache 2.0. See the [Gemma 4 license information](https://ai.google.dev/gemma/docs/gemma_4_license) and the upstream model terms.
152
+
SHA256SUMS.txt ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 0045B59DBD28A94B5A1F1D5AAEB1FB87DECFA02F2B3095ADFCAB1BCCA03C9570 .gitattributes
2
+ A82EDDABD088863ED306346A2D4A608D0CCFD2F50B523FAA3706940BBA022413 .gitignore
3
+ 28D41E8ACA43CD9EED899303DE9C62DA7E4FCFC5FA49A246233E025B005D8538 README.md
4
+ CCE093E1A90DFEB54161D51988157AFD109085CADEC97EA55A71562A91067B5B Start-Llama-Service.bat
5
+ 45406CD7235E9626B3A31297A61D3084629673DDF5D60766785E0EA9A1DF82FB Stop-Llama-Service.bat
6
+ BA2B02E2D8D2CD9BCD216CE4D742973E9B098B90A141F9AE148CB6030EBC7697 adapter/adapter_config.json
7
+ 6FDA7AD849C2208C7A8D549B0F9588B5B2BF789B0FAF2E44427B8D73171C44B6 adapter/adapter_model.safetensors
8
+ 8375280D2273AA1166CA393C7FC50EE21A932FD04BC439388EC2C23AE2D84615 adapter/chat_template.jinja
9
+ 12BAC982B793C44B03D52A250A9F0D0B666813DA566B910C24A6DA0695FD11E6 adapter/tokenizer.json
10
+ BA1403FC298AEF0A2D81593BC81AE9F8B9D6B9BB7CE6E9DBA3D4E8528000CED5 adapter/tokenizer_config.json
11
+ 891DAFE8B5A5BC72AFA136B6C430694BB6617D6507D30AC57A6EE974BEC548B9 assets/anrn-12b-r1-benchmarks.jpg
12
+ AFDEDD4F71695579D27B88B1D1D6C30C6742F20B7A920DC0240694742A2FE3B8 audio-test-result.json
13
+ F822CC94FC1CC08E1F137F28116DA2403FBD14689EF9FED74200848EE9C039DB llama-bootstrap-verification.json
14
+ AE14FA0C5F67CC255931A33DAA573670D9CE5AB38537880358ABAFA5CE39296E llama-bootstrap.ps1
15
+ 27444160B50E33AD4033A4E0D7598574FD61C53223C025AAC7EE7D4C91C3389D llama-identity-test.json
16
+ 3A5060E1CC0C8D4609052EF04A5A60770A64D566E2544B65F6D28F2BA6542037 llama-model/anru-final-lora-Q8_0.gguf
17
+ 057C364366301EE285E9026ECF417AAE36F4447D5D9CBBC3591447A9FC77A752 llama-model/anru-gemma4-12b-base-Q5_K_M.gguf
18
+ 63348DECD6B0842EDF8A0AB5521009CB7A7077521F68902DFFBBF96D22E7C65D llama-model/chat_template.prompt30k.jinja
19
+ 78B61B3764BEBEED69940CDC76D0C86EE9150C239FAF9ADE838F10B198826A17 llama-model/model-verification.json
20
+ A94836A913B9A345B188CED1398160E69119312ACDF84F67DCEC4086F6F82C39 llama-model/ui-config.json
21
+ 125F7144BACB367E124298D0530644C36E337364F9E752A57A9A2E238772744A llama-runtime-state.json
22
+ F1D500D0CD892F5B8C6B6CDBFFD82D0C55D5F5427215668E7CEB55AEECCC1B63 llama-runtime/cublas64_13.dll
23
+ B592CD016D7673E9CB97716A22B27C4010EE635377A3BA28F37070A9BDB76A68 llama-runtime/cublasLt64_13.dll
24
+ B00CA6F53699120DA815BF3E06E2E4285FAE2F201235B883DCBB50EEC51E2A2A llama-runtime/cudart64_13.dll
25
+ E4625DBACBFCBEA34ED402A0DCC9225FF3DF947DEAD0DD859DD9F81A983DC365 llama-runtime/ggml-base.dll
26
+ D2F3A7DA3E2D1985FAEC025928F2DA5BADC4629B478C0CA8083B4418C90DA7E1 llama-runtime/ggml-cpu-alderlake.dll
27
+ 4193F2927723669EE7B47F107090F42A675B4FD84FB77403C7CE412632BE3CCC llama-runtime/ggml-cpu-cannonlake.dll
28
+ 7933B3891929DE369149EB03BB607F8D75F2D0E81071ADCC5FCBAB6C027A1DE9 llama-runtime/ggml-cpu-cascadelake.dll
29
+ 96F572BFFC3DDBE7D48CBAF7C7F6DFB9D75E65DC8F43E62C55810223FD1DAE36 llama-runtime/ggml-cpu-cooperlake.dll
30
+ 258F2AD5FB79F498876A8D3F44B366BFF4B8A7DDCFB18A61C72270B8DA8886C4 llama-runtime/ggml-cpu-haswell.dll
31
+ B88AC4C73D93B204FDCF82B813D52E8333252B011C871858E73AE524F78089D7 llama-runtime/ggml-cpu-icelake.dll
32
+ 9B9018EA35E928B61445C501521BA279174B32D29CB32F7B87F11FBDE1CCD590 llama-runtime/ggml-cpu-ivybridge.dll
33
+ F1B6BF9D333D4ECB9F085E2AC3DF7C5BAF65B8F1DBAAAA0B75AA90DD8C8B3202 llama-runtime/ggml-cpu-piledriver.dll
34
+ 487DF33CF344FE95424AB049FB3892D7D198C42434AEA6E1B5E28D721FFC15E7 llama-runtime/ggml-cpu-sandybridge.dll
35
+ A786981FE76C507D7AE79FAB512118A680394DF06C0E8BB207015B3A9441DA48 llama-runtime/ggml-cpu-sapphirerapids.dll
36
+ 0FDD262C2DF029C8BA7D417DCE3473B0AFB795AC6D9D41C60AF0FBA7D0F32997 llama-runtime/ggml-cpu-skylakex.dll
37
+ E3199B17D4E6349C6C19B897FFA473B4F62B77298EA237B93FEF891B074B337E llama-runtime/ggml-cpu-sse42.dll
38
+ D214739C43071FC37F2703D0014CDF1DFF27F98FAF23A9707071BA9D0EA1A6E1 llama-runtime/ggml-cpu-x64.dll
39
+ 206D0301BF5AA90CBA87B763346A5A50D0AC756CB0C4DE1271CF91833FC39E08 llama-runtime/ggml-cpu-zen4.dll
40
+ A1F0ED3DC2D80FA7B4C33A3156C99F79DA782152A05AF87F4D4687A459AB6C41 llama-runtime/ggml-cuda.dll
41
+ AB7930B188E3610264C540CFDA9DF08DF3595502F8298821191083C3D2483A33 llama-runtime/ggml-rpc-server.exe
42
+ 6B29961A29A1B2F2071F4B71BC3936EFB54C221A5EC5F03C64B54E8CCF7B0798 llama-runtime/ggml-rpc.dll
43
+ 82C6BE59034C1C3F3DF8F44DC97E3A5EC28207825365F0ABC4D4CCE6C9C44D14 llama-runtime/ggml.dll
44
+ 4A20C1E5C115C29771A12324513EB109BADAC72180F79481527AD79D996FFB33 llama-runtime/libomp140.x86_64.dll
45
+ E18D4F974C92B09144C175EED3B8F993B40ED902A5730EEAF446EAC7996FFA2E llama-runtime/llama-batched-bench-impl.dll
46
+ 5DAC350B0BDD3F988FF096D5E4FDC1D0A8330909E3ACDA24CE08F70AF613E081 llama-runtime/llama-batched-bench.exe
47
+ 3951ADFAC8B9A334EBAB53054BCC1FCDE26A48F2B0BAD43B8EBA49B197D7BC0A llama-runtime/llama-bench-impl.dll
48
+ 645329C1CE729DD8450CF54554516C2080463A8594FF567A68D0ADB3876FCAF0 llama-runtime/llama-bench.exe
49
+ 952BDE4CB028FB824F5EA9DF5D24B41092E4EAD5406E0ED2807F215D9CC7D011 llama-runtime/llama-cli-impl.dll
50
+ 6BA5FA31CEED5C2674B569D1F2AC35E5A4833C890CE9BCC5B3C8B0CB14476450 llama-runtime/llama-cli.exe
51
+ 0EA7114D7578EEA9A9548A09F2B73F9219790030387B883453741220E6FE5591 llama-runtime/llama-common.dll
52
+ C78A9F253B2394DB9850E1F9E6B7657CB91E144E12BD06B6BD321F649457F63C llama-runtime/llama-completion-impl.dll
53
+ 960214F5131D749BB02F09623FA0D59BC45C606AE12735C6A6677217F6674781 llama-runtime/llama-completion.exe
54
+ 62C354420415729728A426328468AB77F210DE6BA67146330BB68DCEFDD55243 llama-runtime/llama-fit-params-impl.dll
55
+ 737C0C64BD01D7072118D733EF77D251DAEF66665CC9266EEC7E189AFE17AC17 llama-runtime/llama-fit-params.exe
56
+ C34A00BB099D61D27095A704973FA987FF79E177D5B95CA88C89E19DE7669FD7 llama-runtime/llama-gemma3-cli.exe
57
+ 1E783E50F2526BC934D743895BD5C1FDFB985591C473B338485A45EEF94FE109 llama-runtime/llama-gguf-split.exe
58
+ 9E69B61A564353DA11F448F3B067A6627D6D8C9EC7C30D3201911EF52B7E397C llama-runtime/llama-imatrix.exe
59
+ C34A00BB099D61D27095A704973FA987FF79E177D5B95CA88C89E19DE7669FD7 llama-runtime/llama-llava-cli.exe
60
+ C34A00BB099D61D27095A704973FA987FF79E177D5B95CA88C89E19DE7669FD7 llama-runtime/llama-minicpmv-cli.exe
61
+ 98128389B6A8A7748FDC5A86214CF0A386A8411A8A04A4D05498764CA96B13C1 llama-runtime/llama-mtmd-cli.exe
62
+ D8D0398AFFB4F46B387E37EE4E184B1D0D7DC462504FCDAFCA7435DD45483335 llama-runtime/llama-mtmd-debug.exe
63
+ B82F8A529E10F95F06186BE9482FC7796F8F76B54B3BC6B81A67D809083092FB llama-runtime/llama-perplexity-impl.dll
64
+ 6AA1A0ABBFB8F6B3FD732B47EF78942AC9F4EBB973BD2318CBEE6741DAEEA9C9 llama-runtime/llama-perplexity.exe
65
+ D20F27669FD194E98AB223FB7C474BC1ED7E1F473FD48AB4893CD2C3524C6D5A llama-runtime/llama-quantize-impl.dll
66
+ ACD074F806311041634D6598456252F39D56512EEDE7383A1981CF7291BF1EA9 llama-runtime/llama-quantize.exe
67
+ C34A00BB099D61D27095A704973FA987FF79E177D5B95CA88C89E19DE7669FD7 llama-runtime/llama-qwen2vl-cli.exe
68
+ 8E8A90B6177A4BBA6578E38CAE01FD239AB3A64B3337546FFC4D76A469A23115 llama-runtime/llama-results.exe
69
+ F96C6C09ED2757BFAD7A66482DE41BA397AA2FEB687650DA57E82EAA53AFEDC8 llama-runtime/llama-server-impl.dll
70
+ 18480000A62D73EBFD15CB7BDA681ED07B7A3B3191DA46140D028F1A59717169 llama-runtime/llama-server.exe
71
+ A3B416C8410A9CF67E98C0EE4F9F03DF6D26B8E3F8DA691F2E4180C0EE42B12A llama-runtime/llama-template-analysis.exe
72
+ 6421B4B28773427AA4DBAD0BD4AAE89B1B9590351A5C1C1200DAAD0C1F4BDB69 llama-runtime/llama-tokenize.exe
73
+ 5E9357249711CA4EF2FEFA503A14649CBB9ADF5F465777E0DC78C56FA31D4D5E llama-runtime/llama-tts.exe
74
+ D01F59E8856EC3F067653176545724F5A0137C62FA973F9F3F11C36C7681D854 llama-runtime/llama.dll
75
+ 822946D743AD38635A321D645C3505BE67B3F9FCF14F6BA2DB3BC8CA97171FF8 llama-runtime/llama.exe
76
+ F14D6147A07E0D9BAEC289BACBD9AE1A6724903168C68373CCDC8AA7C9D96294 llama-runtime/mtmd.dll
77
+ 131E26F7F1FA69445DC4B0AB98A2251811F8C3128426BF09FCEF6AC5EE16E7E4 model/MODEL_CARD.md
78
+ 8375280D2273AA1166CA393C7FC50EE21A932FD04BC439388EC2C23AE2D84615 model/chat_template.jinja
79
+ 14F38C5492FFC9CBCDF808647CA0C025BB5B9B4EB737526347134D500ACE6098 model/config.json
80
+ 02B56BD11E1CD1E363E701A85A2FD7FBAA2992EC3358C1CD7CC44EAD7208F505 model/generation_config.json
81
+ FE054AE05FF7F44318FD8AE90D58992531455C7ED31356704088F0F2D8C8009A model/model.safetensors
82
+ 6B938E76555B3E9946890770E1ABCD442A4718F34041A58E8139DC8AD34545C9 model/processor_config.json
83
+ 12BAC982B793C44B03D52A250A9F0D0B666813DA566B910C24A6DA0695FD11E6 model/tokenizer.json
84
+ 522A38334973725DBA8F7C645195B19DDA0C284F403F43273F77837679BA2EAB model/tokenizer_config.json
85
+ 72DFF9753D72C72135E4477B77CA7EC661C97A323BE730700676E5D9F5F28954 package.json
86
+ 7C941889A8C783790571D4C4ACF9E6DB5979BB69D633395B2546F572639B8D6D prompt30k-load-test.json
87
+ 80130457753569DFF1CCD4BCDFE4E5645CDCE2537AF97287A9258BD46CA0C473 prompt30k-postpatch-text-test.json
88
+ CA7D6A37EE0BB0B2EF961CD2040B5821A787EA0F0B2D037D80466475BD35559A prompt30k-verification.json
89
+ 779C95081E1B2A4A7F2851898D3A4992B48FC9E5AD07B9D05628D65F7705E142 requirements.txt
90
+ D51C244B606102DAF6071653BE5E1EE758260A18AEAA15228B017F65385B0E0A rollback-llama-bootstrap.ps1
91
+ ADDFF5D3F3E3D17FB44313491586E6C72363C16266BC4C6769BF1BD40E3F0487 rollback-prompt30k.ps1
92
+ D1F62DD1D2455598D6288FA92390FF780B2B04C871275BCC069DBC0259EF953D rollback/llama-bootstrap-baseline/package.json
93
+ 43CAAD7025B01B4EB867775CD9C7311DF7DEA6667CF2A6B2BA8D823206471D07 rollback/prompt30k-baseline/package.json
94
+ 8BC05AA3A3FEFDD52F2DCCEF99FA6189B2878A3262EEFD967E12939E0B89B796 rollback/prompt30k-baseline/serve.py
95
+ D10688C968485A63FC20CD11E397617B3D317643FCFDC0C626F03C5D9A33DA3B rollback/prompt30k-baseline/smoke-test.ps1
96
+ 34EAF9FB4762E451937DEA8E151C27241C94E704AB9AF3920904ABF39AA79CB6 rollback/prompt30k-baseline/start.ps1
97
+ C76FC8871638EF0EBD3D0C601CA8977C9B9A75C2411A40475CD168C0C1C91DD1 serve.py
98
+ B79D6AAB414748B8C3DF6CDFBA3DC21EEEB8B0A9CC7982271E2D159E2422EBD0 smoke-test-result.json
99
+ BDA656DD176571801AA43AA6752E93228AA65F58BF48F5627F9850CFC8621F09 smoke-test.ps1
100
+ 4F53D81CA99B30BE9A7AC29C120A63BDF5AFDAF329F88089F72B230BCB78D958 start.ps1
101
+ 5591AC2C99FDC6C8E21D1D3B87625BB368204548BEC7B63C3FD6598CF23639BF system_prompt.md
102
+ 2B11736E7D7F866E532F589FA7AF4E79E7A5C7A26A54C0940850DFD91B209D88 test-audio.wav
103
+ D26622955EAEBC2985C2C4FBD1F58AD9B1BA1530D2C9678CC44F540DE75958A3 test-video.mp4
104
+ B96DB267D6E31E542C4D65AB558CE0CD5C543ED4FECE34B02198D4A654DAFA0D test-whoami.png
105
+ E2638097CC3A1787E2B68C44070C3D9336F367187659175CB929A0A9A54240FE verification.json
106
+ 7A9B24BB709693AD1A59562361B59DFFBCE1183D61463B3D1C1789FF5B3D30F8 video-test-result.json
Start-Llama-Service.bat ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @echo off
2
+ setlocal
3
+ chcp 65001 >nul
4
+ title Anru Llama Service Bootstrap
5
+ echo [Anru] Checking llama.cpp runtime, model files, and port...
6
+ powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File "%~dp0llama-bootstrap.ps1" -Port 8091 -Context 131072
7
+ if errorlevel 1 (
8
+ echo.
9
+ echo [Anru] Startup failed. Read the message above.
10
+ pause
11
+ exit /b 1
12
+ )
13
+ echo [Anru] llama-server is ready and the Web UI has been opened.
14
+ exit /b 0
Stop-Llama-Service.bat ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ @echo off
2
+ setlocal
3
+ chcp 65001 >nul
4
+ powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -Command "$c=Get-NetTCPConnection -State Listen -LocalPort 8091 -ErrorAction SilentlyContinue ^| Select-Object -First 1; if($c){$p=Get-CimInstance Win32_Process -Filter ('ProcessId='+$c.OwningProcess); if($p.Name -eq 'llama-server.exe'){Stop-Process -Id $c.OwningProcess -Force; Write-Host '[Anru] llama-server stopped.'}else{Write-Host '[Anru] port 8091 belongs to another process.'}}else{Write-Host '[Anru] no service is listening on port 8091.'}"
5
+ pause
adapter/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "Gemma4UnifiedForCausalLM",
7
+ "parent_library": "transformers.models.gemma4_unified.modeling_gemma4_unified",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "N:/",
11
+ "bias": "none",
12
+ "corda_config": null,
13
+ "ensure_weight_tying": false,
14
+ "eva_config": null,
15
+ "exclude_modules": null,
16
+ "fan_in_fan_out": false,
17
+ "inference_mode": true,
18
+ "init_lora_weights": true,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 16,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0.0,
26
+ "lora_ga_config": null,
27
+ "megatron_config": null,
28
+ "megatron_core": "megatron.core",
29
+ "modules_to_save": null,
30
+ "monteclora_config": null,
31
+ "peft_type": "LORA",
32
+ "peft_version": "0.20.0",
33
+ "qalora_group_size": 16,
34
+ "r": 8,
35
+ "rank_pattern": {},
36
+ "revision": null,
37
+ "target_modules": "(?:.*?(?:language|text).*?(?:self_attn|attention|attn|mixer|mlp|feed_forward|ffn|dense|mixer).*?(?:q_proj|k_proj|v_proj|o_proj|gate_proj|up_proj|down_proj))|(?:\\bmodel\\.layers\\.[\\d]{1,}\\.(?:self_attn|attention|attn|mixer|mlp|feed_forward|ffn|dense|mixer)\\.(?:(?:q_proj|k_proj|v_proj|o_proj|gate_proj|up_proj|down_proj)))",
38
+ "target_parameters": null,
39
+ "task_type": "CAUSAL_LM",
40
+ "trainable_token_indices": null,
41
+ "use_bdlora": null,
42
+ "use_dora": false,
43
+ "use_qalora": false,
44
+ "use_rslora": false,
45
+ "velora_config": null
46
+ }
adapter/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fda7ad849c2208c7a8d549b0f9588b5b2bf789b0faf2e44427b8d73171c44b6
3
+ size 131224632
chat_template.jinja → adapter/chat_template.jinja RENAMED
File without changes
tokenizer.json → adapter/tokenizer.json RENAMED
File without changes
adapter/tokenizer_config.json ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "audio_token": "<|audio|>",
3
+ "backend": "tokenizers",
4
+ "boa_token": "<|audio>",
5
+ "boi_token": "<|image>",
6
+ "bos_token": "<bos>",
7
+ "eoa_token": "<audio|>",
8
+ "eoc_token": "<channel|>",
9
+ "eoi_token": "<image|>",
10
+ "eos_token": "<eos>",
11
+ "eot_token": "<turn|>",
12
+ "escape_token": "<|\"|>",
13
+ "etc_token": "<tool_call|>",
14
+ "etd_token": "<tool|>",
15
+ "etr_token": "<tool_response|>",
16
+ "extra_special_tokens": [
17
+ "<|video|>"
18
+ ],
19
+ "image_token": "<|image|>",
20
+ "is_local": true,
21
+ "local_files_only": true,
22
+ "mask_token": "<mask>",
23
+ "model_max_length": 1000000000000000019884624838656,
24
+ "model_specific_special_tokens": {
25
+ "audio_token": "<|audio|>",
26
+ "boa_token": "<|audio>",
27
+ "boi_token": "<|image>",
28
+ "eoa_token": "<audio|>",
29
+ "eoc_token": "<channel|>",
30
+ "eoi_token": "<image|>",
31
+ "eot_token": "<turn|>",
32
+ "escape_token": "<|\"|>",
33
+ "etc_token": "<tool_call|>",
34
+ "etd_token": "<tool|>",
35
+ "etr_token": "<tool_response|>",
36
+ "image_token": "<|image|>",
37
+ "soc_token": "<|channel>",
38
+ "sot_token": "<|turn>",
39
+ "stc_token": "<|tool_call>",
40
+ "std_token": "<|tool>",
41
+ "str_token": "<|tool_response>",
42
+ "think_token": "<|think|>"
43
+ },
44
+ "pad_token": "<pad>",
45
+ "padding_side": "right",
46
+ "processor_class": "Gemma4UnifiedProcessor",
47
+ "soc_token": "<|channel>",
48
+ "sot_token": "<|turn>",
49
+ "stc_token": "<|tool_call>",
50
+ "std_token": "<|tool>",
51
+ "str_token": "<|tool_response>",
52
+ "think_token": "<|think|>",
53
+ "tokenizer_class": "GemmaTokenizer",
54
+ "unk_token": "<unk>",
55
+ "added_tokens_decoder": {
56
+ "0": {
57
+ "content": "<pad>",
58
+ "single_word": false,
59
+ "lstrip": false,
60
+ "rstrip": false,
61
+ "normalized": false,
62
+ "special": true
63
+ },
64
+ "1": {
65
+ "content": "<eos>",
66
+ "single_word": false,
67
+ "lstrip": false,
68
+ "rstrip": false,
69
+ "normalized": false,
70
+ "special": true
71
+ },
72
+ "2": {
73
+ "content": "<bos>",
74
+ "single_word": false,
75
+ "lstrip": false,
76
+ "rstrip": false,
77
+ "normalized": false,
78
+ "special": true
79
+ },
80
+ "3": {
81
+ "content": "<unk>",
82
+ "single_word": false,
83
+ "lstrip": false,
84
+ "rstrip": false,
85
+ "normalized": false,
86
+ "special": true
87
+ },
88
+ "4": {
89
+ "content": "<mask>",
90
+ "single_word": false,
91
+ "lstrip": false,
92
+ "rstrip": false,
93
+ "normalized": false,
94
+ "special": true
95
+ },
96
+ "46": {
97
+ "content": "<|tool>",
98
+ "single_word": false,
99
+ "lstrip": false,
100
+ "rstrip": false,
101
+ "normalized": false,
102
+ "special": true
103
+ },
104
+ "47": {
105
+ "content": "<tool|>",
106
+ "single_word": false,
107
+ "lstrip": false,
108
+ "rstrip": false,
109
+ "normalized": false,
110
+ "special": true
111
+ },
112
+ "48": {
113
+ "content": "<|tool_call>",
114
+ "single_word": false,
115
+ "lstrip": false,
116
+ "rstrip": false,
117
+ "normalized": false,
118
+ "special": true
119
+ },
120
+ "49": {
121
+ "content": "<tool_call|>",
122
+ "single_word": false,
123
+ "lstrip": false,
124
+ "rstrip": false,
125
+ "normalized": false,
126
+ "special": true
127
+ },
128
+ "50": {
129
+ "content": "<|tool_response>",
130
+ "single_word": false,
131
+ "lstrip": false,
132
+ "rstrip": false,
133
+ "normalized": false,
134
+ "special": true
135
+ },
136
+ "51": {
137
+ "content": "<tool_response|>",
138
+ "single_word": false,
139
+ "lstrip": false,
140
+ "rstrip": false,
141
+ "normalized": false,
142
+ "special": true
143
+ },
144
+ "52": {
145
+ "content": "<|\"|>",
146
+ "single_word": false,
147
+ "lstrip": false,
148
+ "rstrip": false,
149
+ "normalized": false,
150
+ "special": true
151
+ },
152
+ "98": {
153
+ "content": "<|think|>",
154
+ "single_word": false,
155
+ "lstrip": false,
156
+ "rstrip": false,
157
+ "normalized": false,
158
+ "special": true
159
+ },
160
+ "100": {
161
+ "content": "<|channel>",
162
+ "single_word": false,
163
+ "lstrip": false,
164
+ "rstrip": false,
165
+ "normalized": false,
166
+ "special": true
167
+ },
168
+ "101": {
169
+ "content": "<channel|>",
170
+ "single_word": false,
171
+ "lstrip": false,
172
+ "rstrip": false,
173
+ "normalized": false,
174
+ "special": true
175
+ },
176
+ "105": {
177
+ "content": "<|turn>",
178
+ "single_word": false,
179
+ "lstrip": false,
180
+ "rstrip": false,
181
+ "normalized": false,
182
+ "special": true
183
+ },
184
+ "106": {
185
+ "content": "<turn|>",
186
+ "single_word": false,
187
+ "lstrip": false,
188
+ "rstrip": false,
189
+ "normalized": false,
190
+ "special": true
191
+ },
192
+ "255999": {
193
+ "content": "<|image>",
194
+ "single_word": false,
195
+ "lstrip": false,
196
+ "rstrip": false,
197
+ "normalized": false,
198
+ "special": true
199
+ },
200
+ "256000": {
201
+ "content": "<|audio>",
202
+ "single_word": false,
203
+ "lstrip": false,
204
+ "rstrip": false,
205
+ "normalized": false,
206
+ "special": true
207
+ },
208
+ "258880": {
209
+ "content": "<|image|>",
210
+ "single_word": false,
211
+ "lstrip": false,
212
+ "rstrip": false,
213
+ "normalized": false,
214
+ "special": true
215
+ },
216
+ "258881": {
217
+ "content": "<|audio|>",
218
+ "single_word": false,
219
+ "lstrip": false,
220
+ "rstrip": false,
221
+ "normalized": false,
222
+ "special": true
223
+ },
224
+ "258882": {
225
+ "content": "<image|>",
226
+ "single_word": false,
227
+ "lstrip": false,
228
+ "rstrip": false,
229
+ "normalized": false,
230
+ "special": true
231
+ },
232
+ "258883": {
233
+ "content": "<audio|>",
234
+ "single_word": false,
235
+ "lstrip": false,
236
+ "rstrip": false,
237
+ "normalized": false,
238
+ "special": true
239
+ },
240
+ "258884": {
241
+ "content": "<|video|>",
242
+ "single_word": false,
243
+ "lstrip": false,
244
+ "rstrip": false,
245
+ "normalized": false,
246
+ "special": true
247
+ }
248
+ }
249
+ }
assets/anrn-12b-r1-benchmarks.jpg ADDED

Git LFS Details

  • SHA256: 891dafe8b5a5bc72afa136b6c430694bb6617d6507d30ac57a6ee974bec548b9
  • Pointer size: 131 Bytes
  • Size of remote file: 322 kB
audio-test-result.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "chatcmpl-native-1786014995161",
3
+ "object": "chat.completion",
4
+ "created": 1786014995,
5
+ "model": "anru-gemma4-12b-native-multimodal-bf16-lora045",
6
+ "choices": [
7
+ {
8
+ "index": 0,
9
+ "message": {
10
+ "role": "assistant",
11
+ "content": "123\n\n\n\n"
12
+ },
13
+ "finish_reason": "length"
14
+ }
15
+ ],
16
+ "usage": {
17
+ "prompt_tokens": 160,
18
+ "completion_tokens": 12,
19
+ "total_tokens": 172
20
+ },
21
+ "timing": {
22
+ "elapsed_seconds": 26.382
23
+ }
24
+ }
llama-bootstrap-verification.json ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "state": "passed",
3
+ "verified_at": "2026-08-06T12:25:53.153444+00:00",
4
+ "launcher": "Start-Llama-Service.bat",
5
+ "bootstrap": {
6
+ "state": "passed",
7
+ "missing_runtime_branch_executed": true,
8
+ "release": "b10293",
9
+ "gpu": "NVIDIA GeForce RTX 5080 Laptop GPU",
10
+ "assets": [
11
+ {
12
+ "name": "llama-b10293-bin-win-cuda-13.3-x64.zip",
13
+ "bytes": 146520044,
14
+ "digest": "sha256:3eb64cd39e698459846ae74383935fe50950c55548e49d6938e95b89aaabf652"
15
+ },
16
+ {
17
+ "name": "cudart-llama-bin-win-cuda-13.3-x64.zip",
18
+ "bytes": 390970417,
19
+ "digest": "sha256:1462a050eb4c684921ba51dcc4cc488a036674c3e73e9945ee705b854808d03e"
20
+ }
21
+ ],
22
+ "runtime_files": 55,
23
+ "runtime_bytes": 701273776,
24
+ "fallback_source": "official https://github.com/ggml-org/llama.cpp/releases/latest"
25
+ },
26
+ "llama_service": {
27
+ "build": "b10293 / a1f96d4fc",
28
+ "backend": "llama.cpp CUDA 13.3",
29
+ "model": "Gemma4 12B base Q5_K_M GGUF",
30
+ "base_sha256": "057C364366301EE285E9026ECF417AAE36F4447D5D9CBBC3591447A9FC77A752",
31
+ "lora": "final step 03829 Q8_0 GGUF",
32
+ "lora_sha256": "3A5060E1CC0C8D4609052EF04A5A60770A64D566E2544B65F6D28F2BA6542037",
33
+ "lora_scale_requested": 0.45,
34
+ "lora_scale_live": 0.44999998807907104,
35
+ "context_tokens": 131072,
36
+ "web_ui": "http://127.0.0.1:8091",
37
+ "prompt_embedding": "llama-model/chat_template.prompt30k.jinja",
38
+ "prompt_sha256": "5591AC2C99FDC6C8E21D1D3B87625BB368204548BEC7B63C3FD6598CF23639BF",
39
+ "native_multimodal_launcher": "start.ps1"
40
+ },
41
+ "variant_tests": {
42
+ "full-bf16": {
43
+ "state": "passed",
44
+ "command": "POST /v1/chat/completions without caller system message",
45
+ "exit_status": 0,
46
+ "wall_seconds": 14.787,
47
+ "literal_output": "我是安若,一个跨性别友好、性别多元友好、创伤知情、尊重自主权和生命安全的人工智能陪伴助手。",
48
+ "prompt_tokens": 25147,
49
+ "completion_tokens": 31,
50
+ "prompt_tokens_per_second": 1790.8100048646054,
51
+ "context_tokens": 131072,
52
+ "lora_scale": 0.44999998807907104,
53
+ "caller_system_message": "absent; 30k prompt came from embedded Jinja template"
54
+ },
55
+ "quantized-nf4": {
56
+ "state": "passed",
57
+ "command": ".\\llama-bootstrap.ps1 -Port 8091 -Context 131072 -NoBrowser -HiddenServer",
58
+ "exit_status": 0,
59
+ "wall_seconds": 14.451,
60
+ "literal_output": "我是安若,一个跨性别友好、性别多元友好、创伤知情、尊重自主权和生命安全的人工智能陪伴助手。",
61
+ "prompt_tokens": 25147,
62
+ "completion_tokens": 31,
63
+ "prompt_tokens_per_second": 1832.645043830949,
64
+ "context_tokens": 131072,
65
+ "lora_scale": 0.44999998807907104,
66
+ "caller_system_message": "absent; 30k prompt came from embedded Jinja template"
67
+ }
68
+ },
69
+ "rollback": {
70
+ "state": "passed",
71
+ "tested_at": "2026-08-06T12:24:11.1435208Z",
72
+ "records": [
73
+ {
74
+ "variant": "full-bf16",
75
+ "fixture": "C:\\Users\\夏霖云\\Documents\\Codex\\2026-08-05\\ll-ma\\outputs\\anru-gemma4-12b-native-multimodal-release\\reports\\llama-rollback-fixture-full-bf16",
76
+ "command": ".\\rollback-llama-bootstrap.ps1",
77
+ "exit_status": 0,
78
+ "literal_output": "package llama bootstrap rolled back to the verified native-only baseline",
79
+ "baseline_restored": true,
80
+ "assets_moved_to_disabled": true
81
+ },
82
+ {
83
+ "variant": "quantized-nf4",
84
+ "fixture": "C:\\Users\\夏霖云\\Documents\\Codex\\2026-08-05\\ll-ma\\outputs\\anru-gemma4-12b-native-multimodal-release\\reports\\llama-rollback-fixture-quantized-nf4",
85
+ "command": ".\\rollback-llama-bootstrap.ps1",
86
+ "exit_status": 0,
87
+ "literal_output": "package llama bootstrap rolled back to the verified native-only baseline",
88
+ "baseline_restored": true,
89
+ "assets_moved_to_disabled": true
90
+ }
91
+ ],
92
+ "root_rollback_parse": "passed"
93
+ },
94
+ "package_variant": "full-bf16"
95
+ }
llama-bootstrap.ps1 ADDED
@@ -0,0 +1,224 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [CmdletBinding()]
2
+ param(
3
+ [int]$Port = 8091,
4
+ [int]$Context = 131072,
5
+ [switch]$InstallOnly,
6
+ [switch]$NoBrowser,
7
+ [switch]$HiddenServer
8
+ )
9
+
10
+ $ErrorActionPreference = 'Stop'
11
+ $ProgressPreference = 'Continue'
12
+ $Package = $PSScriptRoot
13
+ $ModelDir = Join-Path $Package 'llama-model'
14
+ $BaseModel = Join-Path $ModelDir 'anru-gemma4-12b-base-Q5_K_M.gguf'
15
+ $LoraModel = Join-Path $ModelDir 'anru-final-lora-Q8_0.gguf'
16
+ $ChatTemplate = Join-Path $ModelDir 'chat_template.prompt30k.jinja'
17
+ $UiConfig = Join-Path $ModelDir 'ui-config.json'
18
+ $RuntimeManifest = Join-Path $Package 'llama-runtime-state.json'
19
+ $ModelVerification = Join-Path $ModelDir 'model-verification.json'
20
+
21
+ function Get-LlamaServer {
22
+ $Candidates = @(Get-ChildItem -LiteralPath $Package -Directory -Filter 'llama-runtime*' -ErrorAction SilentlyContinue |
23
+ Sort-Object @{ Expression = { if ($_.Name -eq 'llama-runtime') { 0 } else { 1 } } }, Name)
24
+ foreach ($Directory in $Candidates) {
25
+ $Found = Get-ChildItem -LiteralPath $Directory.FullName -Recurse -File -Filter 'llama-server.exe' -ErrorAction SilentlyContinue |
26
+ Select-Object -First 1
27
+ if ($Found) { return $Found.FullName }
28
+ }
29
+ return $null
30
+ }
31
+
32
+ function Install-LlamaRuntime {
33
+ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
34
+ Write-Host '[bootstrap] llama.cpp runtime is missing; resolving the latest official Windows release...'
35
+ $Headers = @{ 'User-Agent' = 'Anru-Llama-Bootstrap' }
36
+ $Release = Invoke-RestMethod -Uri 'https://api.github.com/repos/ggml-org/llama.cpp/releases/latest' `
37
+ -Headers $Headers -TimeoutSec 60
38
+
39
+ $GpuName = ''
40
+ $Nvidia = Get-Command 'nvidia-smi.exe' -ErrorAction SilentlyContinue
41
+ if ($Nvidia) {
42
+ $GpuName = (& $Nvidia.Source --query-gpu=name --format=csv,noheader 2>$null | Select-Object -First 1).Trim()
43
+ }
44
+
45
+ $Assets = @()
46
+ if ($GpuName) {
47
+ $CudaFlavor = if ($GpuName -match '(?i)RTX\s*50\d\d|Blackwell') { '13.3' } else { '12.4' }
48
+ $Main = $Release.assets | Where-Object { $_.name -match "^llama-.*-bin-win-cuda-$([regex]::Escape($CudaFlavor))-x64\.zip$" } | Select-Object -First 1
49
+ $Cuda = $Release.assets | Where-Object { $_.name -eq "cudart-llama-bin-win-cuda-$CudaFlavor-x64.zip" } | Select-Object -First 1
50
+ if (-not $Main -or -not $Cuda) { throw "No matching CUDA $CudaFlavor Windows assets in release $($Release.tag_name)" }
51
+ $Assets = @($Main, $Cuda)
52
+ Write-Host "[bootstrap] detected $GpuName; installing CUDA $CudaFlavor build $($Release.tag_name)."
53
+ } else {
54
+ $Main = $Release.assets | Where-Object { $_.name -match '^llama-.*-bin-win-cpu-x64\.zip$' } | Select-Object -First 1
55
+ if (-not $Main) { throw "No Windows CPU asset in release $($Release.tag_name)" }
56
+ $Assets = @($Main)
57
+ Write-Host "[bootstrap] NVIDIA GPU not detected; installing CPU build $($Release.tag_name)."
58
+ }
59
+
60
+ $TempRoot = Join-Path ([IO.Path]::GetTempPath()) ("AnruLlamaBootstrap-" + [guid]::NewGuid().ToString('N'))
61
+ $RuntimeDir = Join-Path $Package 'llama-runtime'
62
+ if (Test-Path -LiteralPath $RuntimeDir) {
63
+ $RuntimeDir = Join-Path $Package ("llama-runtime-" + $Release.tag_name)
64
+ }
65
+ New-Item -ItemType Directory -Path $TempRoot, $RuntimeDir -Force | Out-Null
66
+ try {
67
+ $Index = 0
68
+ $InstalledAssets = @()
69
+ foreach ($Asset in $Assets) {
70
+ $Index++
71
+ $Zip = Join-Path $TempRoot $Asset.name
72
+ $Extract = Join-Path $TempRoot ("extract-$Index")
73
+ Write-Host "[bootstrap] downloading $($Asset.name) ($([math]::Round($Asset.size / 1MB, 1)) MiB)..."
74
+ Invoke-WebRequest -Uri $Asset.browser_download_url -Headers $Headers -OutFile $Zip -UseBasicParsing -TimeoutSec 1800
75
+ if ($Asset.digest -and $Asset.digest -match '^sha256:(.+)$') {
76
+ $Actual = (Get-FileHash -Algorithm SHA256 -LiteralPath $Zip).Hash
77
+ if ($Actual -ne $Matches[1].ToUpperInvariant()) { throw "Download checksum mismatch: $($Asset.name)" }
78
+ }
79
+ Expand-Archive -LiteralPath $Zip -DestinationPath $Extract -Force
80
+ foreach ($File in Get-ChildItem -LiteralPath $Extract -Recurse -File) {
81
+ Copy-Item -LiteralPath $File.FullName -Destination (Join-Path $RuntimeDir $File.Name) -Force
82
+ }
83
+ $InstalledAssets += [ordered]@{ name = $Asset.name; bytes = [long]$Asset.size; digest = $Asset.digest }
84
+ }
85
+ $Server = Get-ChildItem -LiteralPath $RuntimeDir -Recurse -File -Filter 'llama-server.exe' | Select-Object -First 1
86
+ if (-not $Server) { throw 'Downloaded runtime does not contain llama-server.exe' }
87
+ [ordered]@{
88
+ state = 'installed'
89
+ release = [string]$Release.tag_name
90
+ gpu = $GpuName
91
+ installed_at = (Get-Date).ToUniversalTime().ToString('o')
92
+ runtime = $RuntimeDir
93
+ server = $Server.FullName
94
+ assets = $InstalledAssets
95
+ } | ConvertTo-Json -Depth 8 | Set-Content -LiteralPath $RuntimeManifest -Encoding UTF8
96
+ Write-Host "[bootstrap] runtime installed at $RuntimeDir"
97
+ } finally {
98
+ $ResolvedTemp = [IO.Path]::GetFullPath($TempRoot)
99
+ $SystemTemp = [IO.Path]::GetFullPath([IO.Path]::GetTempPath())
100
+ if ($ResolvedTemp.StartsWith($SystemTemp, [StringComparison]::OrdinalIgnoreCase) -and
101
+ (Test-Path -LiteralPath $ResolvedTemp)) {
102
+ Remove-Item -LiteralPath $ResolvedTemp -Recurse -Force -ErrorAction SilentlyContinue
103
+ }
104
+ }
105
+ }
106
+
107
+ $Server = Get-LlamaServer
108
+ if (-not $Server) {
109
+ Install-LlamaRuntime
110
+ $Server = Get-LlamaServer
111
+ }
112
+ if (-not $Server) { throw 'llama-server.exe is still missing after installation' }
113
+
114
+ if ($InstallOnly) {
115
+ [ordered]@{ state = 'installed'; server = $Server } | ConvertTo-Json
116
+ exit 0
117
+ }
118
+
119
+ foreach ($Required in @($BaseModel, $LoraModel, $ChatTemplate, $UiConfig)) {
120
+ if (-not (Test-Path -LiteralPath $Required -PathType Leaf)) { throw "Missing packaged Llama artifact: $Required" }
121
+ }
122
+ if ((Get-Item -LiteralPath $BaseModel).Length -ne 8547249568) { throw 'Packaged Q5 model size mismatch' }
123
+ if ((Get-Item -LiteralPath $LoraModel).Length -ne 51682496) { throw 'Packaged Q8 LoRA size mismatch' }
124
+
125
+ $NeedModelHash = $true
126
+ if (Test-Path -LiteralPath $ModelVerification) {
127
+ try {
128
+ $Verified = Get-Content -LiteralPath $ModelVerification -Raw | ConvertFrom-Json
129
+ $NeedModelHash = -not ($Verified.state -eq 'passed' -and
130
+ $Verified.base_sha256 -eq '057C364366301EE285E9026ECF417AAE36F4447D5D9CBBC3591447A9FC77A752' -and
131
+ $Verified.lora_sha256 -eq '3A5060E1CC0C8D4609052EF04A5A60770A64D566E2544B65F6D28F2BA6542037')
132
+ } catch { $NeedModelHash = $true }
133
+ }
134
+ if ($NeedModelHash) {
135
+ Write-Host '[bootstrap] verifying packaged GGUF model checksums (first launch only)...'
136
+ $BaseHash = (Get-FileHash -Algorithm SHA256 -LiteralPath $BaseModel).Hash
137
+ $LoraHash = (Get-FileHash -Algorithm SHA256 -LiteralPath $LoraModel).Hash
138
+ if ($BaseHash -ne '057C364366301EE285E9026ECF417AAE36F4447D5D9CBBC3591447A9FC77A752') { throw 'Q5 model checksum mismatch' }
139
+ if ($LoraHash -ne '3A5060E1CC0C8D4609052EF04A5A60770A64D566E2544B65F6D28F2BA6542037') { throw 'Q8 LoRA checksum mismatch' }
140
+ [ordered]@{ state = 'passed'; base_sha256 = $BaseHash; lora_sha256 = $LoraHash; verified_at = (Get-Date).ToUniversalTime().ToString('o') } |
141
+ ConvertTo-Json | Set-Content -LiteralPath $ModelVerification -Encoding UTF8
142
+ }
143
+
144
+ $Listener = Get-NetTCPConnection -State Listen -LocalPort $Port -ErrorAction SilentlyContinue | Select-Object -First 1
145
+ if ($Listener) {
146
+ $Owner = Get-CimInstance Win32_Process -Filter "ProcessId=$($Listener.OwningProcess)"
147
+ $KnownRuntime = $Owner.Name -eq 'llama-server.exe'
148
+ $KnownNative = $Owner.Name -eq 'python.exe' -and $Owner.CommandLine -like '*anru-gemma4-12b-native-multimodal-release*serve.py*'
149
+ if ($KnownRuntime -or $KnownNative) {
150
+ Write-Host "[bootstrap] stopping the previous local model service on port $Port (PID $($Listener.OwningProcess))..."
151
+ Stop-Process -Id $Listener.OwningProcess -Force
152
+ Wait-Process -Id $Listener.OwningProcess -Timeout 30 -ErrorAction SilentlyContinue
153
+ Start-Sleep -Seconds 2
154
+ } else {
155
+ throw "Port $Port is occupied by $($Owner.Name) (PID $($Listener.OwningProcess))"
156
+ }
157
+ }
158
+
159
+ $Alias = 'anru-gemma4-12b-q5-lora045-prompt30k'
160
+ $RuntimeDir = Split-Path -Parent $Server
161
+ $BaseForRuntime = '..\llama-model\anru-gemma4-12b-base-Q5_K_M.gguf'
162
+ $LoraForRuntime = '..\llama-model\anru-final-lora-Q8_0.gguf'
163
+ $TemplateForRuntime = '..\llama-model\chat_template.prompt30k.jinja'
164
+ $UiForRuntime = '..\llama-model\ui-config.json'
165
+ $Arguments = @(
166
+ '-m', $BaseForRuntime,
167
+ '--lora-scaled', ('{0}:0.45' -f $LoraForRuntime),
168
+ '--chat-template-file', $TemplateForRuntime,
169
+ '--ui-config-file', $UiForRuntime,
170
+ '-ngl', '99',
171
+ '-c', "$Context",
172
+ '-fa', 'on',
173
+ '-ctk', 'q8_0',
174
+ '-ctv', 'q8_0',
175
+ '-b', '1024',
176
+ '-ub', '256',
177
+ '-np', '1',
178
+ '--host', '127.0.0.1',
179
+ '--port', "$Port",
180
+ '--metrics',
181
+ '--jinja',
182
+ '--webui',
183
+ '--alias', $Alias
184
+ )
185
+
186
+ $Stdout = Join-Path $Package 'llama-server.stdout.log'
187
+ $Stderr = Join-Path $Package 'llama-server.stderr.log'
188
+ Write-Host "[bootstrap] starting llama-server with $Context-token context and LoRA scale 0.45..."
189
+ if ($HiddenServer) {
190
+ $Process = Start-Process -FilePath $Server -ArgumentList $Arguments -WorkingDirectory $RuntimeDir `
191
+ -WindowStyle Hidden -RedirectStandardOutput $Stdout -RedirectStandardError $Stderr -PassThru
192
+ } else {
193
+ $Process = Start-Process -FilePath $Server -ArgumentList $Arguments -WorkingDirectory $RuntimeDir `
194
+ -WindowStyle Normal -PassThru
195
+ }
196
+
197
+ $Health = $null
198
+ $Deadline = (Get-Date).AddMinutes(10)
199
+ do {
200
+ Start-Sleep -Seconds 2
201
+ try { $Health = Invoke-RestMethod -Uri "http://127.0.0.1:$Port/health" -TimeoutSec 3 } catch { $Health = $null }
202
+ if ($Process.HasExited -and $Health.status -ne 'ok') {
203
+ $Tail = if (Test-Path -LiteralPath $Stderr) { (Get-Content -LiteralPath $Stderr -Tail 120) -join "`n" } else { '' }
204
+ throw "llama-server exited during startup (code $($Process.ExitCode))`n$Tail"
205
+ }
206
+ } until (($Health.status -eq 'ok') -or ((Get-Date) -ge $Deadline))
207
+ if ($Health.status -ne 'ok') { throw 'llama-server readiness timeout' }
208
+
209
+ $State = [ordered]@{
210
+ state = 'healthy'
211
+ pid = $Process.Id
212
+ endpoint = "http://127.0.0.1:$Port"
213
+ model = $Alias
214
+ context_tokens = $Context
215
+ lora_scale = 0.45
216
+ prompt = 'embedded 30k constitution in chat_template.prompt30k.jinja'
217
+ prompt_sha256 = '5591AC2C99FDC6C8E21D1D3B87625BB368204548BEC7B63C3FD6598CF23639BF'
218
+ runtime = $Server
219
+ started_at = (Get-Date).ToUniversalTime().ToString('o')
220
+ }
221
+ $State | ConvertTo-Json -Depth 6 | Set-Content -LiteralPath (Join-Path $Package 'llama-service-state.json') -Encoding UTF8
222
+ Write-Host "[bootstrap] ready: http://127.0.0.1:$Port"
223
+ if (-not $NoBrowser) { Start-Process "http://127.0.0.1:$Port" }
224
+ $State | ConvertTo-Json -Depth 6
llama-identity-test.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "state": "passed",
3
+ "command": "POST /v1/chat/completions without caller system message",
4
+ "exit_status": 0,
5
+ "wall_seconds": 14.787,
6
+ "response": {
7
+ "choices": [
8
+ {
9
+ "finish_reason": "stop",
10
+ "index": 0,
11
+ "message": {
12
+ "role": "assistant",
13
+ "content": "我是安若,一个跨性别友好、性别多元友好、创伤知情、尊重自主权和生命安全的人工智能陪伴助手。"
14
+ }
15
+ }
16
+ ],
17
+ "created": 1786018915,
18
+ "model": "anru-gemma4-12b-q5-lora045-prompt30k",
19
+ "system_fingerprint": "b10293-a1f96d4fc",
20
+ "object": "chat.completion",
21
+ "usage": {
22
+ "completion_tokens": 31,
23
+ "prompt_tokens": 25147,
24
+ "total_tokens": 25178,
25
+ "prompt_tokens_details": {
26
+ "cached_tokens": 0
27
+ }
28
+ },
29
+ "id": "chatcmpl-IyojkrPyTqepVBZgM0boEmJPl9xQsl4w",
30
+ "timings": {
31
+ "cache_n": 0,
32
+ "prompt_n": 25147,
33
+ "prompt_ms": 14042.249,
34
+ "prompt_per_token_ms": 0.5584065296059172,
35
+ "prompt_per_second": 1790.8100048646054,
36
+ "predicted_n": 31,
37
+ "predicted_ms": 693.238,
38
+ "predicted_per_token_ms": 22.36251612903226,
39
+ "predicted_per_second": 44.71768714352069
40
+ }
41
+ },
42
+ "health": {
43
+ "status": "ok"
44
+ },
45
+ "props_context": 131072,
46
+ "lora": {
47
+ "value": [
48
+ {
49
+ "id": 0,
50
+ "path": "..\\llama-model\\anru-final-lora-Q8_0.gguf",
51
+ "scale": 0.44999998807907104,
52
+ "task_name": "",
53
+ "prompt_prefix": ""
54
+ }
55
+ ],
56
+ "Count": 1
57
+ }
58
+ }
llama-model/anru-final-lora-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a5060e1cc0c8d4609052ef04a5a60770a64d566e2544b65f6d28f2ba6542037
3
+ size 51682496
llama-model/anru-gemma4-12b-base-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:057c364366301ee285e9026ecf417aae36f4447d5d9cbbc3591447a9fc77a752
3
+ size 8547249568
llama-model/chat_template.prompt30k.jinja ADDED
The diff for this file is too large to render. See raw diff
 
llama-model/model-verification.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "state": "passed",
3
+ "verified_at": "2026-08-06T12:24:09.554687+00:00",
4
+ "base_bytes": 8547249568,
5
+ "base_sha256": "057C364366301EE285E9026ECF417AAE36F4447D5D9CBBC3591447A9FC77A752",
6
+ "lora_bytes": 51682496,
7
+ "lora_sha256": "3A5060E1CC0C8D4609052EF04A5A60770A64D566E2544B65F6D28F2BA6542037",
8
+ "lora_scale": 0.45,
9
+ "prompt_sha256": "5591AC2C99FDC6C8E21D1D3B87625BB368204548BEC7B63C3FD6598CF23639BF",
10
+ "prompt_embedding": "chat_template.prompt30k.jinja"
11
+ }
llama-model/ui-config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "systemMessage": "",
3
+ "temperature": 0.7,
4
+ "top_p": 0.9,
5
+ "top_k": 40,
6
+ "min_p": 0.05,
7
+ "max_tokens": 1024,
8
+ "repeat_penalty": 1.05,
9
+ "showMessageStats": true,
10
+ "showSystemMessage": true,
11
+ "showModelQuantization": true,
12
+ "showBuildVersion": true
13
+ }
llama-runtime-state.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "state": "installed",
3
+ "release": "b10293",
4
+ "gpu": "NVIDIA GeForce RTX 5080 Laptop GPU",
5
+ "installed_at": "2026-08-06T12:19:14.4248512Z",
6
+ "runtime": "C:\\Users\\夏霖云\\Documents\\Codex\\2026-08-05\\ll-ma\\outputs\\anru-gemma4-12b-native-multimodal-release\\full-bf16\\llama-runtime",
7
+ "server": "C:\\Users\\夏霖云\\Documents\\Codex\\2026-08-05\\ll-ma\\outputs\\anru-gemma4-12b-native-multimodal-release\\full-bf16\\llama-runtime\\llama-server.exe",
8
+ "assets": [
9
+ {
10
+ "name": "llama-b10293-bin-win-cuda-13.3-x64.zip",
11
+ "bytes": 146520044,
12
+ "digest": "sha256:3eb64cd39e698459846ae74383935fe50950c55548e49d6938e95b89aaabf652"
13
+ },
14
+ {
15
+ "name": "cudart-llama-bin-win-cuda-13.3-x64.zip",
16
+ "bytes": 390970417,
17
+ "digest": "sha256:1462a050eb4c684921ba51dcc4cc488a036674c3e73e9945ee705b854808d03e"
18
+ }
19
+ ]
20
+ }
llama-runtime/cublas64_13.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1d500d0cd892f5b8c6b6cdbffd82d0c55d5f5427215668e7ceb55aeeccc1b63
3
+ size 51870320
llama-runtime/cublasLt64_13.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b592cd016d7673e9cb97716a22b27c4010ee635377a3ba28f37070a9bdb76a68
3
+ size 460301424
llama-runtime/cudart64_13.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b00ca6f53699120da815bf3e06e2e4285fae2f201235b883dcbb50eec51e2a2a
3
+ size 551024
llama-runtime/ggml-base.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4625dbacbfcbea34ed402a0dcc9225ff3df947dead0dd859dd9f81a983dc365
3
+ size 773120
llama-runtime/ggml-cpu-alderlake.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2f3a7da3e2d1985faec025928f2da5badc4629b478c0ca8083b4418c90da7e1
3
+ size 1180672
llama-runtime/ggml-cpu-cannonlake.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4193f2927723669ee7b47f107090f42a675b4fd84fb77403c7ce412632be3ccc
3
+ size 1395200
llama-runtime/ggml-cpu-cascadelake.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7933b3891929de369149eb03bb607f8d75f2d0e81071adcc5fcbab6c027a1de9
3
+ size 1381376
llama-runtime/ggml-cpu-cooperlake.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96f572bffc3ddbe7d48cbaf7c7f6dfb9d75e65dc8f43e62c55810223fd1dae36
3
+ size 1382400
llama-runtime/ggml-cpu-haswell.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:258f2ad5fb79f498876a8d3f44b366bff4b8a7ddcfb18a61c72270b8da8886c4
3
+ size 1184768
llama-runtime/ggml-cpu-icelake.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b88ac4c73d93b204fdcf82b813d52e8333252b011c871858e73ae524f78089d7
3
+ size 1388032
llama-runtime/ggml-cpu-ivybridge.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b9018ea35e928b61445c501521ba279174b32d29cb32f7b87f11fbde1ccd590
3
+ size 1073664
llama-runtime/ggml-cpu-piledriver.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1b6bf9d333d4ecb9f085e2ac3df7c5baf65b8f1dbaaaa0b75aa90dd8c8b3202
3
+ size 1077248
llama-runtime/ggml-cpu-sandybridge.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:487df33cf344fe95424ab049fb3892d7d198c42434aea6e1b5e28d721ffc15e7
3
+ size 1053696
llama-runtime/ggml-cpu-sapphirerapids.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a786981fe76c507d7ae79fab512118a680394df06c0e8bb207015b3a9441da48
3
+ size 1659904
llama-runtime/ggml-cpu-skylakex.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fdd262c2df029c8ba7d417dce3473b0afb795ac6d9d41c60af0fba7d0f32997
3
+ size 1389056
llama-runtime/ggml-cpu-sse42.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3199b17d4e6349c6c19b897ffa473b4f62b77298ea237b93fef891b074b337e
3
+ size 876544
llama-runtime/ggml-cpu-x64.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d214739c43071fc37f2703d0014cdf1dff27f98faf23a9707071ba9d0ea1a6e1
3
+ size 869376
llama-runtime/ggml-cpu-zen4.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:206d0301bf5aa90cba87b763346a5a50d0ac756cb0c4de1271cf91833fc39e08
3
+ size 1389056
llama-runtime/ggml-cuda.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1f0ed3dc2d80fa7b4c33a3156c99f79da782152a05af87f4d4687a459ab6c41
3
+ size 141608448
llama-runtime/ggml-rpc-server.exe ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab7930b188e3610264c540cfda9df08df3595502f8298821191083c3d2483a33
3
+ size 101376
llama-runtime/ggml-rpc.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b29961a29a1b2f2071f4b71bc3936efb54c221a5ec5f03c64b54e8ccf7b0798
3
+ size 137728
llama-runtime/ggml.dll ADDED
Binary file (86 kB). View file
 
llama-runtime/libomp140.x86_64.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a20c1e5c115c29771a12324513eb109badac72180f79481527ad79d996ffb33
3
+ size 661856
llama-runtime/llama-batched-bench-impl.dll ADDED
Binary file (60.9 kB). View file
 
llama-runtime/llama-batched-bench.exe ADDED
Binary file (9.22 kB). View file
 
llama-runtime/llama-bench-impl.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3951adfac8b9a334ebab53054bcc1fcde26a48f2b0bad43b8eba49b197d7bc0a
3
+ size 394752
llama-runtime/llama-bench.exe ADDED
Binary file (9.22 kB). View file