Text Generation
Transformers
Safetensors
English
olmoe
Mixture of Experts
mixture-of-experts
compressed
hxq
helix-substrate
vector-quantization
helixcode
conversational
Eval Results (legacy)
8-bit precision
Instructions to use EchoLabs33/olmoe-1b-7b-instruct-hxq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EchoLabs33/olmoe-1b-7b-instruct-hxq with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="EchoLabs33/olmoe-1b-7b-instruct-hxq") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("EchoLabs33/olmoe-1b-7b-instruct-hxq") model = AutoModelForCausalLM.from_pretrained("EchoLabs33/olmoe-1b-7b-instruct-hxq", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use EchoLabs33/olmoe-1b-7b-instruct-hxq with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "EchoLabs33/olmoe-1b-7b-instruct-hxq" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "EchoLabs33/olmoe-1b-7b-instruct-hxq", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/EchoLabs33/olmoe-1b-7b-instruct-hxq
- SGLang
How to use EchoLabs33/olmoe-1b-7b-instruct-hxq 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 "EchoLabs33/olmoe-1b-7b-instruct-hxq" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "EchoLabs33/olmoe-1b-7b-instruct-hxq", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "EchoLabs33/olmoe-1b-7b-instruct-hxq" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "EchoLabs33/olmoe-1b-7b-instruct-hxq", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use EchoLabs33/olmoe-1b-7b-instruct-hxq with Docker Model Runner:
docker model run hf.co/EchoLabs33/olmoe-1b-7b-instruct-hxq
Initial upload: OLMoE-1B-7B-Instruct HXQ (1.9x compression, paired eval receipts)
Browse files- README.md +186 -0
- completeness_gate_receipt.json +61 -0
- config.json +0 -0
- conversion_receipt.json +17 -0
- model.safetensors +3 -0
- special_tokens_map.json +23 -0
- tokenizer.json +0 -0
- tokenizer_config.json +247 -0
README.md
ADDED
|
@@ -0,0 +1,186 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: allenai/OLMoE-1B-7B-0924-Instruct
|
| 4 |
+
tags:
|
| 5 |
+
- olmoe
|
| 6 |
+
- moe
|
| 7 |
+
- mixture-of-experts
|
| 8 |
+
- compressed
|
| 9 |
+
- hxq
|
| 10 |
+
- helix-substrate
|
| 11 |
+
- vector-quantization
|
| 12 |
+
- helixcode
|
| 13 |
+
library_name: transformers
|
| 14 |
+
pipeline_tag: text-generation
|
| 15 |
+
model-index:
|
| 16 |
+
- name: olmoe-1b-7b-instruct-helix
|
| 17 |
+
results:
|
| 18 |
+
- task:
|
| 19 |
+
type: text-generation
|
| 20 |
+
name: Text Generation
|
| 21 |
+
dataset:
|
| 22 |
+
name: HellaSwag
|
| 23 |
+
type: hellaswag
|
| 24 |
+
metrics:
|
| 25 |
+
- type: acc_norm
|
| 26 |
+
value: 0.7876
|
| 27 |
+
name: Accuracy (norm)
|
| 28 |
+
- task:
|
| 29 |
+
type: text-generation
|
| 30 |
+
name: Text Generation
|
| 31 |
+
dataset:
|
| 32 |
+
name: ARC-Easy
|
| 33 |
+
type: ai2_arc
|
| 34 |
+
config: ARC-Easy
|
| 35 |
+
metrics:
|
| 36 |
+
- type: acc_norm
|
| 37 |
+
value: 0.7685
|
| 38 |
+
name: Accuracy (norm)
|
| 39 |
+
- task:
|
| 40 |
+
type: text-generation
|
| 41 |
+
name: Text Generation
|
| 42 |
+
dataset:
|
| 43 |
+
name: ARC-Challenge
|
| 44 |
+
type: ai2_arc
|
| 45 |
+
config: ARC-Challenge
|
| 46 |
+
metrics:
|
| 47 |
+
- type: acc_norm
|
| 48 |
+
value: 0.5205
|
| 49 |
+
name: Accuracy (norm)
|
| 50 |
+
---
|
| 51 |
+
|
| 52 |
+
# OLMoE-1B-7B-Instruct-HXQ
|
| 53 |
+
|
| 54 |
+
> **1.9x smaller from BF16. HellaSwag 78.8%. First MoE compressed with HXQ.**
|
| 55 |
+
>
|
| 56 |
+
> OLMoE-1B-7B-Instruct (64-expert Mixture-of-Experts, 1B active / 6.9B total) compressed from 13 GB (BF16) to 6.7 GB. All three downstream benchmarks within noise of the dense baseline. No calibration data. No architecture-specific tuning. Just `pip install` and `from_pretrained()`.
|
| 57 |
+
|
| 58 |
+
## Install and Run
|
| 59 |
+
|
| 60 |
+
```bash
|
| 61 |
+
pip install "helix-substrate[hf]"
|
| 62 |
+
```
|
| 63 |
+
|
| 64 |
+
```python
|
| 65 |
+
import helix_substrate # registers the HXQ quantizer with HuggingFace
|
| 66 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 67 |
+
|
| 68 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 69 |
+
"EchoLabs33/olmoe-1b-7b-instruct-helix",
|
| 70 |
+
trust_remote_code=True,
|
| 71 |
+
torch_dtype="bfloat16",
|
| 72 |
+
device_map="auto",
|
| 73 |
+
)
|
| 74 |
+
tokenizer = AutoTokenizer.from_pretrained("EchoLabs33/olmoe-1b-7b-instruct-helix")
|
| 75 |
+
|
| 76 |
+
inputs = tokenizer("The capital of France is", return_tensors="pt").to(model.device)
|
| 77 |
+
outputs = model.generate(**inputs, max_new_tokens=50)
|
| 78 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
That's it. `import helix_substrate` registers the quantizer. `from_pretrained()` handles the rest automatically.
|
| 82 |
+
|
| 83 |
+
## Downstream Benchmarks
|
| 84 |
+
|
| 85 |
+
Evaluated with [lm-evaluation-harness](https://github.com/EleutherAI/lm-evaluation-harness) v0.4.11 on an NVIDIA RTX 3090 (batch=4, dtype=bfloat16):
|
| 86 |
+
|
| 87 |
+
| Benchmark | Dense (acc_norm) | HXQ (acc_norm) | Delta |
|
| 88 |
+
|-----------|-----------------|----------------|-------|
|
| 89 |
+
| **HellaSwag** | 78.92% | **78.76%** | **-0.16%** |
|
| 90 |
+
| **ARC-Challenge** | 52.13% | **52.05%** | **-0.08%** |
|
| 91 |
+
| **ARC-Easy** | 75.72% | **76.85%** | **+1.14%** |
|
| 92 |
+
|
| 93 |
+
All deltas within standard error. Task performance is preserved after 1.9x compression. These are real downstream scores from paired dense/HXQ evaluations, not PPL proxies.
|
| 94 |
+
|
| 95 |
+
## Compression Benchmark
|
| 96 |
+
|
| 97 |
+
| | Dense (BF16) | HXQ |
|
| 98 |
+
|---|---|---|
|
| 99 |
+
| **Size** | 13 GB | **6.7 GB** |
|
| 100 |
+
| **Compression ratio** | — | **1.9x** |
|
| 101 |
+
| **VRAM (eval)** | 13,886 MB | **7,540 MB** |
|
| 102 |
+
| **Compressed modules** | — | 3,152 HelixLinear layers |
|
| 103 |
+
| **Architecture** | OLMoE (64-expert MoE) | unchanged |
|
| 104 |
+
|
| 105 |
+
## Verification Status
|
| 106 |
+
|
| 107 |
+
- **Compression receipt:** PASS — 3,152 compressed, 67 exact, 12,675 total keys
|
| 108 |
+
- **Conversion receipt:** PASS — SHA256 `a9f74982b746853077d13dc11c8bc863dc91219c81e22577de1de2b195c7b836`
|
| 109 |
+
- **Downstream eval:** PASS — paired dense/HXQ on HellaSwag, ARC-Easy, ARC-Challenge
|
| 110 |
+
|
| 111 |
+
## Good to Know
|
| 112 |
+
|
| 113 |
+
- **GPU and CPU supported** — runs on any CUDA GPU or CPU via standard PyTorch.
|
| 114 |
+
- **`trust_remote_code=True` required** — OLMoE uses custom modeling code.
|
| 115 |
+
- **Not fine-tunable** — compressed weights are read-only (`is_trainable = False`).
|
| 116 |
+
- **Requires `helix-substrate`** — the quantizer is not built into transformers. You need `pip install "helix-substrate[hf]"`.
|
| 117 |
+
- **64 experts = slow eval** — lm-eval-harness takes ~5.5 hours on a 3090 due to MoE routing overhead. Inference speed is normal for interactive use.
|
| 118 |
+
|
| 119 |
+
## What is HelixCode?
|
| 120 |
+
|
| 121 |
+
HelixCode is a universal weight compression codec based on vector quantization:
|
| 122 |
+
|
| 123 |
+
- Each weight matrix is replaced by a **256-entry codebook** (float32) + **uint8 index matrix** + optional **sidecar corrections** for outlier values
|
| 124 |
+
- The compressed form *is* the executable — `HelixLinear` performs `codebook[indices] @ x` directly, no decompression step
|
| 125 |
+
- Works on any `nn.Linear` regardless of architecture (Transformer, Mamba, MoE, CNN)
|
| 126 |
+
- **No calibration data required** — unlike GPTQ/AWQ, codebooks are fit from the weights alone
|
| 127 |
+
|
| 128 |
+
## How It Works
|
| 129 |
+
|
| 130 |
+
1. `import helix_substrate` registers the `hxq` quantizer with HuggingFace
|
| 131 |
+
2. `from_pretrained()` reads `quantization_config.quant_method = "hxq"` from `config.json`
|
| 132 |
+
3. The quantizer replaces 3,152 `nn.Linear` modules with `HelixLinear` shells before weight loading
|
| 133 |
+
4. Safetensors populates the codebook, indices, and sidecar buffers directly
|
| 134 |
+
5. The model runs in compressed form — no decompression needed
|
| 135 |
+
|
| 136 |
+
## Architecture Details
|
| 137 |
+
|
| 138 |
+
OLMoE-1B-7B-Instruct is a Mixture-of-Experts architecture with:
|
| 139 |
+
- **16 transformer layers**, each with attention + MoE MLP
|
| 140 |
+
- **64 experts per layer**, top-8 routing (1B active / 6.9B total parameters)
|
| 141 |
+
- **hidden_size=2048**, intermediate_size=1024 per expert
|
| 142 |
+
- **16 attention heads**, no GQA (num_kv_heads=16)
|
| 143 |
+
|
| 144 |
+
All 3,152 linear layers are compressed:
|
| 145 |
+
- **3,072 expert projections** (64 experts x 3 projections x 16 layers)
|
| 146 |
+
- **64 attention projections** (Q/K/V/O across 16 layers)
|
| 147 |
+
- **16 router gates** (expert routing per layer)
|
| 148 |
+
|
| 149 |
+
Normalization layers (33), embeddings (1), and lm_head (1) are stored at full precision.
|
| 150 |
+
|
| 151 |
+
## Why This Matters
|
| 152 |
+
|
| 153 |
+
OLMoE is the first **Mixture-of-Experts** model compressed with HXQ. Combined with existing Transformer, SSM, and Hybrid results, this demonstrates that the same codec — same codebook size, same algorithm, same `pip install` — works across four distinct architecture families without modification.
|
| 154 |
+
|
| 155 |
+
## Companion Models
|
| 156 |
+
|
| 157 |
+
Same codec, same `pip install`, multiple architectures:
|
| 158 |
+
|
| 159 |
+
| Model | Architecture | Ratio | Eval Delta |
|
| 160 |
+
|-------|-------------|-------|------------|
|
| 161 |
+
| **olmoe-1b-7b-instruct-helix** | **MoE (64 experts)** | **1.9x** | **-0.16% HellaSwag** |
|
| 162 |
+
| [zamba2-2.7b-instruct-helix](https://huggingface.co/EchoLabs33/zamba2-2.7b-instruct-helix) | Hybrid (Mamba2+Transformer) | 1.8x | +6.59% PPL |
|
| 163 |
+
| [zamba2-1.2b-helix](https://huggingface.co/EchoLabs33/zamba2-1.2b-helix) | Hybrid (Mamba2+Transformer) | 1.7x | +2.90% PPL |
|
| 164 |
+
| [qwen2.5-14b-instruct-helix](https://huggingface.co/EchoLabs33/qwen2.5-14b-instruct-helix) | Transformer | 3.4x | pending |
|
| 165 |
+
| [qwen2.5-7b-instruct-helix](https://huggingface.co/EchoLabs33/qwen2.5-7b-instruct-helix) | Transformer | 2.2x | +6.34% PPL |
|
| 166 |
+
| [qwen2.5-3b-instruct-helix](https://huggingface.co/EchoLabs33/qwen2.5-3b-instruct-helix) | Transformer | 1.6x | +0.69% PPL |
|
| 167 |
+
| [qwen2.5-coder-3b-helix](https://huggingface.co/EchoLabs33/qwen2.5-coder-3b-helix) | Transformer (code) | 1.6x | +1.92% PPL |
|
| 168 |
+
| [qwen2.5-coder-1.5b-helix](https://huggingface.co/EchoLabs33/qwen2.5-coder-1.5b-helix) | Transformer (code) | 1.5x | +1.73% PPL |
|
| 169 |
+
| [tinyllama-1.1b-helix](https://huggingface.co/EchoLabs33/tinyllama-1.1b-helix) | Transformer | 4.0x | +0.78% PPL |
|
| 170 |
+
| [mamba2-1.3b-helix](https://huggingface.co/EchoLabs33/mamba2-1.3b-helix) | Pure SSM (Mamba2) | 2.1x | +8.0% PPL |
|
| 171 |
+
| [mamba-130m-helix](https://huggingface.co/EchoLabs33/mamba-130m-helix) | Pure SSM | 3.8x | +18.4% PPL |
|
| 172 |
+
|
| 173 |
+
## Citation
|
| 174 |
+
|
| 175 |
+
```bibtex
|
| 176 |
+
@software{helix_substrate_2026,
|
| 177 |
+
title={Helix Substrate: Universal Weight Compression via HelixCode},
|
| 178 |
+
author={EchoLabs},
|
| 179 |
+
year={2026},
|
| 180 |
+
url={https://github.com/echo313unfolding/helix-substrate}
|
| 181 |
+
}
|
| 182 |
+
```
|
| 183 |
+
|
| 184 |
+
## License
|
| 185 |
+
|
| 186 |
+
Apache 2.0 (inherited from [allenai/OLMoE-1B-7B-0924-Instruct](https://huggingface.co/allenai/OLMoE-1B-7B-0924-Instruct)).
|
completeness_gate_receipt.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"verdict": "PASS",
|
| 3 |
+
"summary": {
|
| 4 |
+
"dense_tensors": 3219,
|
| 5 |
+
"output_tensors": 12675,
|
| 6 |
+
"compressed_weights": 3152,
|
| 7 |
+
"accounted": 3219,
|
| 8 |
+
"missing": 0,
|
| 9 |
+
"skip_tensors_found": 35,
|
| 10 |
+
"skip_categories": {
|
| 11 |
+
"embedding": "OK (1/1)",
|
| 12 |
+
"layernorm": "OK (33/33)",
|
| 13 |
+
"output_head": "OK (1/1)"
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
"failures": [],
|
| 17 |
+
"missing_tensors": [],
|
| 18 |
+
"skip_found": {
|
| 19 |
+
"output_head": [
|
| 20 |
+
"lm_head.weight"
|
| 21 |
+
],
|
| 22 |
+
"embedding": [
|
| 23 |
+
"model.embed_tokens.weight"
|
| 24 |
+
],
|
| 25 |
+
"layernorm": [
|
| 26 |
+
"model.layers.0.input_layernorm.weight",
|
| 27 |
+
"model.layers.0.post_attention_layernorm.weight",
|
| 28 |
+
"model.layers.1.input_layernorm.weight",
|
| 29 |
+
"model.layers.1.post_attention_layernorm.weight",
|
| 30 |
+
"model.layers.10.input_layernorm.weight",
|
| 31 |
+
"model.layers.10.post_attention_layernorm.weight",
|
| 32 |
+
"model.layers.11.input_layernorm.weight",
|
| 33 |
+
"model.layers.11.post_attention_layernorm.weight",
|
| 34 |
+
"model.layers.12.input_layernorm.weight",
|
| 35 |
+
"model.layers.12.post_attention_layernorm.weight",
|
| 36 |
+
"model.layers.13.input_layernorm.weight",
|
| 37 |
+
"model.layers.13.post_attention_layernorm.weight",
|
| 38 |
+
"model.layers.14.input_layernorm.weight",
|
| 39 |
+
"model.layers.14.post_attention_layernorm.weight",
|
| 40 |
+
"model.layers.15.input_layernorm.weight",
|
| 41 |
+
"model.layers.15.post_attention_layernorm.weight",
|
| 42 |
+
"model.layers.2.input_layernorm.weight",
|
| 43 |
+
"model.layers.2.post_attention_layernorm.weight",
|
| 44 |
+
"model.layers.3.input_layernorm.weight",
|
| 45 |
+
"model.layers.3.post_attention_layernorm.weight",
|
| 46 |
+
"model.layers.4.input_layernorm.weight",
|
| 47 |
+
"model.layers.4.post_attention_layernorm.weight",
|
| 48 |
+
"model.layers.5.input_layernorm.weight",
|
| 49 |
+
"model.layers.5.post_attention_layernorm.weight",
|
| 50 |
+
"model.layers.6.input_layernorm.weight",
|
| 51 |
+
"model.layers.6.post_attention_layernorm.weight",
|
| 52 |
+
"model.layers.7.input_layernorm.weight",
|
| 53 |
+
"model.layers.7.post_attention_layernorm.weight",
|
| 54 |
+
"model.layers.8.input_layernorm.weight",
|
| 55 |
+
"model.layers.8.post_attention_layernorm.weight",
|
| 56 |
+
"model.layers.9.input_layernorm.weight",
|
| 57 |
+
"model.layers.9.post_attention_layernorm.weight",
|
| 58 |
+
"model.norm.weight"
|
| 59 |
+
]
|
| 60 |
+
}
|
| 61 |
+
}
|
config.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
conversion_receipt.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"verdict": "PASS",
|
| 3 |
+
"validation": {
|
| 4 |
+
"checks": {
|
| 5 |
+
"readable": true,
|
| 6 |
+
"compressed_complete": true,
|
| 7 |
+
"indices_in_range": true,
|
| 8 |
+
"exact_no_nan": true,
|
| 9 |
+
"key_count_match": true
|
| 10 |
+
},
|
| 11 |
+
"details": [],
|
| 12 |
+
"total_keys": 12675,
|
| 13 |
+
"compressed_modules": 3152,
|
| 14 |
+
"exact_tensors": 67,
|
| 15 |
+
"sha256": "a9f74982b746853077d13dc11c8bc863dc91219c81e22577de1de2b195c7b836"
|
| 16 |
+
}
|
| 17 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a9f74982b746853077d13dc11c8bc863dc91219c81e22577de1de2b195c7b836
|
| 3 |
+
size 7139966784
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<|endoftext|>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "<|endoftext|>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "<pad>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
}
|
| 23 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,247 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_eos_token": false,
|
| 4 |
+
"add_prefix_space": false,
|
| 5 |
+
"added_tokens_decoder": {
|
| 6 |
+
"0": {
|
| 7 |
+
"content": "|||IP_ADDRESS|||",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": true,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false,
|
| 12 |
+
"special": false
|
| 13 |
+
},
|
| 14 |
+
"1": {
|
| 15 |
+
"content": "<|padding|>",
|
| 16 |
+
"lstrip": false,
|
| 17 |
+
"normalized": false,
|
| 18 |
+
"rstrip": false,
|
| 19 |
+
"single_word": false,
|
| 20 |
+
"special": true
|
| 21 |
+
},
|
| 22 |
+
"50254": {
|
| 23 |
+
"content": " ",
|
| 24 |
+
"lstrip": false,
|
| 25 |
+
"normalized": true,
|
| 26 |
+
"rstrip": false,
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"special": false
|
| 29 |
+
},
|
| 30 |
+
"50255": {
|
| 31 |
+
"content": " ",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": true,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false,
|
| 36 |
+
"special": false
|
| 37 |
+
},
|
| 38 |
+
"50256": {
|
| 39 |
+
"content": " ",
|
| 40 |
+
"lstrip": false,
|
| 41 |
+
"normalized": true,
|
| 42 |
+
"rstrip": false,
|
| 43 |
+
"single_word": false,
|
| 44 |
+
"special": false
|
| 45 |
+
},
|
| 46 |
+
"50257": {
|
| 47 |
+
"content": " ",
|
| 48 |
+
"lstrip": false,
|
| 49 |
+
"normalized": true,
|
| 50 |
+
"rstrip": false,
|
| 51 |
+
"single_word": false,
|
| 52 |
+
"special": false
|
| 53 |
+
},
|
| 54 |
+
"50258": {
|
| 55 |
+
"content": " ",
|
| 56 |
+
"lstrip": false,
|
| 57 |
+
"normalized": true,
|
| 58 |
+
"rstrip": false,
|
| 59 |
+
"single_word": false,
|
| 60 |
+
"special": false
|
| 61 |
+
},
|
| 62 |
+
"50259": {
|
| 63 |
+
"content": " ",
|
| 64 |
+
"lstrip": false,
|
| 65 |
+
"normalized": true,
|
| 66 |
+
"rstrip": false,
|
| 67 |
+
"single_word": false,
|
| 68 |
+
"special": false
|
| 69 |
+
},
|
| 70 |
+
"50260": {
|
| 71 |
+
"content": " ",
|
| 72 |
+
"lstrip": false,
|
| 73 |
+
"normalized": true,
|
| 74 |
+
"rstrip": false,
|
| 75 |
+
"single_word": false,
|
| 76 |
+
"special": false
|
| 77 |
+
},
|
| 78 |
+
"50261": {
|
| 79 |
+
"content": " ",
|
| 80 |
+
"lstrip": false,
|
| 81 |
+
"normalized": true,
|
| 82 |
+
"rstrip": false,
|
| 83 |
+
"single_word": false,
|
| 84 |
+
"special": false
|
| 85 |
+
},
|
| 86 |
+
"50262": {
|
| 87 |
+
"content": " ",
|
| 88 |
+
"lstrip": false,
|
| 89 |
+
"normalized": true,
|
| 90 |
+
"rstrip": false,
|
| 91 |
+
"single_word": false,
|
| 92 |
+
"special": false
|
| 93 |
+
},
|
| 94 |
+
"50263": {
|
| 95 |
+
"content": " ",
|
| 96 |
+
"lstrip": false,
|
| 97 |
+
"normalized": true,
|
| 98 |
+
"rstrip": false,
|
| 99 |
+
"single_word": false,
|
| 100 |
+
"special": false
|
| 101 |
+
},
|
| 102 |
+
"50264": {
|
| 103 |
+
"content": " ",
|
| 104 |
+
"lstrip": false,
|
| 105 |
+
"normalized": true,
|
| 106 |
+
"rstrip": false,
|
| 107 |
+
"single_word": false,
|
| 108 |
+
"special": false
|
| 109 |
+
},
|
| 110 |
+
"50265": {
|
| 111 |
+
"content": " ",
|
| 112 |
+
"lstrip": false,
|
| 113 |
+
"normalized": true,
|
| 114 |
+
"rstrip": false,
|
| 115 |
+
"single_word": false,
|
| 116 |
+
"special": false
|
| 117 |
+
},
|
| 118 |
+
"50266": {
|
| 119 |
+
"content": " ",
|
| 120 |
+
"lstrip": false,
|
| 121 |
+
"normalized": true,
|
| 122 |
+
"rstrip": false,
|
| 123 |
+
"single_word": false,
|
| 124 |
+
"special": false
|
| 125 |
+
},
|
| 126 |
+
"50267": {
|
| 127 |
+
"content": " ",
|
| 128 |
+
"lstrip": false,
|
| 129 |
+
"normalized": true,
|
| 130 |
+
"rstrip": false,
|
| 131 |
+
"single_word": false,
|
| 132 |
+
"special": false
|
| 133 |
+
},
|
| 134 |
+
"50268": {
|
| 135 |
+
"content": " ",
|
| 136 |
+
"lstrip": false,
|
| 137 |
+
"normalized": true,
|
| 138 |
+
"rstrip": false,
|
| 139 |
+
"single_word": false,
|
| 140 |
+
"special": false
|
| 141 |
+
},
|
| 142 |
+
"50269": {
|
| 143 |
+
"content": " ",
|
| 144 |
+
"lstrip": false,
|
| 145 |
+
"normalized": true,
|
| 146 |
+
"rstrip": false,
|
| 147 |
+
"single_word": false,
|
| 148 |
+
"special": false
|
| 149 |
+
},
|
| 150 |
+
"50270": {
|
| 151 |
+
"content": " ",
|
| 152 |
+
"lstrip": false,
|
| 153 |
+
"normalized": true,
|
| 154 |
+
"rstrip": false,
|
| 155 |
+
"single_word": false,
|
| 156 |
+
"special": false
|
| 157 |
+
},
|
| 158 |
+
"50271": {
|
| 159 |
+
"content": " ",
|
| 160 |
+
"lstrip": false,
|
| 161 |
+
"normalized": true,
|
| 162 |
+
"rstrip": false,
|
| 163 |
+
"single_word": false,
|
| 164 |
+
"special": false
|
| 165 |
+
},
|
| 166 |
+
"50272": {
|
| 167 |
+
"content": " ",
|
| 168 |
+
"lstrip": false,
|
| 169 |
+
"normalized": true,
|
| 170 |
+
"rstrip": false,
|
| 171 |
+
"single_word": false,
|
| 172 |
+
"special": false
|
| 173 |
+
},
|
| 174 |
+
"50273": {
|
| 175 |
+
"content": " ",
|
| 176 |
+
"lstrip": false,
|
| 177 |
+
"normalized": true,
|
| 178 |
+
"rstrip": false,
|
| 179 |
+
"single_word": false,
|
| 180 |
+
"special": false
|
| 181 |
+
},
|
| 182 |
+
"50274": {
|
| 183 |
+
"content": " ",
|
| 184 |
+
"lstrip": false,
|
| 185 |
+
"normalized": true,
|
| 186 |
+
"rstrip": false,
|
| 187 |
+
"single_word": false,
|
| 188 |
+
"special": false
|
| 189 |
+
},
|
| 190 |
+
"50275": {
|
| 191 |
+
"content": " ",
|
| 192 |
+
"lstrip": false,
|
| 193 |
+
"normalized": true,
|
| 194 |
+
"rstrip": false,
|
| 195 |
+
"single_word": false,
|
| 196 |
+
"special": false
|
| 197 |
+
},
|
| 198 |
+
"50276": {
|
| 199 |
+
"content": " ",
|
| 200 |
+
"lstrip": false,
|
| 201 |
+
"normalized": true,
|
| 202 |
+
"rstrip": false,
|
| 203 |
+
"single_word": false,
|
| 204 |
+
"special": false
|
| 205 |
+
},
|
| 206 |
+
"50277": {
|
| 207 |
+
"content": "|||EMAIL_ADDRESS|||",
|
| 208 |
+
"lstrip": false,
|
| 209 |
+
"normalized": true,
|
| 210 |
+
"rstrip": false,
|
| 211 |
+
"single_word": false,
|
| 212 |
+
"special": false
|
| 213 |
+
},
|
| 214 |
+
"50278": {
|
| 215 |
+
"content": "|||PHONE_NUMBER|||",
|
| 216 |
+
"lstrip": false,
|
| 217 |
+
"normalized": true,
|
| 218 |
+
"rstrip": false,
|
| 219 |
+
"single_word": false,
|
| 220 |
+
"special": false
|
| 221 |
+
},
|
| 222 |
+
"50279": {
|
| 223 |
+
"content": "<|endoftext|>",
|
| 224 |
+
"lstrip": false,
|
| 225 |
+
"normalized": false,
|
| 226 |
+
"rstrip": false,
|
| 227 |
+
"single_word": false,
|
| 228 |
+
"special": true
|
| 229 |
+
},
|
| 230 |
+
"50280": {
|
| 231 |
+
"content": "<pad>",
|
| 232 |
+
"lstrip": false,
|
| 233 |
+
"normalized": false,
|
| 234 |
+
"rstrip": false,
|
| 235 |
+
"single_word": false,
|
| 236 |
+
"special": true
|
| 237 |
+
}
|
| 238 |
+
},
|
| 239 |
+
"bos_token": "<|endoftext|>",
|
| 240 |
+
"chat_template": "{{ bos_token }}{% for message in messages %}\n{% if message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] }}\n{% elif message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
|
| 241 |
+
"clean_up_tokenization_spaces": true,
|
| 242 |
+
"eos_token": "<|endoftext|>",
|
| 243 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 244 |
+
"pad_token": "<pad>",
|
| 245 |
+
"tokenizer_class": "GPTNeoXTokenizer",
|
| 246 |
+
"unk_token": null
|
| 247 |
+
}
|