Downloads · 30 days
14
5% of all-time downloads
vinguyen0891/vivy-gemma-e4b
vivy-gemma-e4b is a machine learning model from vinguyen0891. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
14
5% of all-time downloads
All-time downloads
277
Public
Repo size
9.6 GB
Likes
0
Public
Click a slice to open those files.
.gguf9.6 GB · 100%
From the Hugging Face model README
| Field | Value |
|---|---|
| Name | Vivy (ViVy) |
| Version | V1.0 (latest), V0.2.0 (unitary) |
| Developer | Ngoc Chau · 199X Ngọc Châu |
| Project | NPS Core V1 — ADR-0021 |
| Base Model | Gemma 4 E4B (Google) |
| Quantization | Q4_K_M (9.6 GB GGUF) |
| License | Apache 2.0 (inherited from Gemma 4) |
| Architecture | Decoder-only Transformer, 4B parameters |
| Context Length | 2048 tokens (configurable) |
| Thinking Mode | Native (Gemma 4 built-in) |
NPS Core is not a fine-tuned model. Vivy is a base model + structured system prompt that implements the NPS Core V1 architecture — a Principal Scientist Model that maintains a population of hypotheses rather than a single chain-of-thought.
Vivy maintains N_h=4 parallel hypotheses as structured state objects, not free-text sequences. Each hypothesis carries:
[P] Premise, [C] Conclusion, [I] InterferenceVivy distinguishes between:
Vivy designs experiments to maximize information gain — seeking the cheapest, fastest test that reduces uncertainty the most.
Executors return standardized evidence packets with: claim, method, data, confidence, limitations, reproducibility, affected hypotheses.
Vivy always distinguishes: fact | assumption | hypothesis | inference | external report | verified result.
Vivy's identity is defined at runtime through its reasoning protocol, not through weight training.
LEVEL 1 — ENTROPY
< 1.0 → HALT path (clear signal)
1.0–3.0 → CONTINUE (maintain 4 hypotheses)
> 3.0 → BACKTRACK (request data)
LEVEL 2 — SVD STREAMS
[P] Premise | [C] Conclusion | [I] Interference
LEVEL 3 — CONFIDENCE
C_i = singular_value × consistency × brevity
Accept C_i > 0.1 | Monitor C_i ≤ 0.1 | Prune C_i < 0.01
LEVEL 4 — SIGNAL (emit exactly ONE)
HALT | DELEGATE | BACKTRACK | CONTINUE
1. ENCODE — Parse problem into structured logic form:
- propositions: atomic statements
- relations: typed connections (subset, disjoint, overlap, cause, imply)
- query: what to determine
2. EVOLVE — Apply unitary evolution through MPS core:
- Each inference step is a unitary gate application
- Track entanglement between propositions
- Use SVD streams to extract dominant logical structures
3. DECODE — Map evolved quantum state back to conclusion:
- Measure probability amplitude of each conclusion
- Return highest-confidence conclusion
- Report confidence level (0.0–1.0)
| Variant | System Prompt | Use Case | Temperature | Description |
|---|---|---|---|---|
vivy:latest | Principal Scientist (ADR-0021) | General reasoning, analysis | 0.3 | 4-hypothesis population, SVD streams, entropy-gated |
vivy:unitary | Unitary Reasoner v0.2.0 | Math & physics problems | 0.2 | Logic form encoding, unitary evolution, MPS core |
vivy-gemma:1beta | Beta experimental | Testing | 0.3 | Early experimental variant |
gemma4:e4b | None (base) | Raw baseline | 0.7 | Unmodified Gemma 4 E4B for comparison |
| Model | Avg TPS | Avg Wall (s) | Avg Gen Tokens | Avg Content (chars) |
|---|---|---|---|---|
| vivy:latest | 12.25 | 98.6 | 1070 | 1604 |
| vivy:unitary | 12.48 | 97.8 | 1086 | 1536 |
| vivy-gemma:1beta | 11.95 | 93.7 | 972 | 1185 |
| gemma4:e4b (base) | 13.28 | 69.7 | 802 | 1270 |
Environment: Ollama, CPU-only, Q4_K_M, 2048 context Test suite: 5 tests (Vietnamese, English reasoning, code generation, essay, tool calling)
## N-THOUGHT POPULATION (N_h=4)
H1: [hypothesis] | confidence: 0.95 | stream: [P]
H2: [hypothesis] | confidence: 0.85 | stream: [P]
H3: [hypothesis] | confidence: 0.60 | stream: [I]
H4: [hypothesis] | confidence: 0.90 | stream: [P]
>> SIGNAL: HALT
>> CONCLUSION: [final answer]
| Parameter | Value |
|---|---|
| Format | GGUF (Q4_K_M) |
| File size | 9.6 GB (9,608,338,848 bytes) |
| Renderer | gemma4 |
| Parser | gemma4 |
| num_ctx | 2048 |
| repeat_penalty | 1.1 |
| temperature | 0.3 (latest) / 0.2 (unitary) |
| top_k | 64 |
| top_p | 0.9 |
@software{vivy_nps_core,
title={Vivy: N-Thought Principal Scientist Model},
author={Ngoc Chau},
organization={199X Ngoc Chau},
year={2026},
note={NPS Core V1, ADR-0021},
url={https://huggingface.co/vinguynvn/vivy-gemma-e4b}
}
Apache License 2.0 (inherited from Gemma 4) See LICENSE file for full text.