v36: full-FT GRPO with substantive-deletion-aware reward — filler-free 96.9%, sub-del-15-long 0.64%
Browse files- README.md +70 -70
- config.json +6 -5
- generation_config.json +1 -1
- model.safetensors +1 -1
- tokenizer_config.json +1 -0
README.md
CHANGED
|
@@ -10,12 +10,15 @@ tags:
|
|
| 10 |
- asr-post-processing
|
| 11 |
- LFM
|
| 12 |
- LiquidAI
|
|
|
|
|
|
|
|
|
|
| 13 |
pipeline_tag: text-generation
|
| 14 |
datasets:
|
| 15 |
- juanquivilla/sotto-transcript-cleanup
|
| 16 |
---
|
| 17 |
|
| 18 |
-
# SottoASR Transcript Cleanup — LFM2.5-350M (Full Precision,
|
| 19 |
|
| 20 |
[sottoasr.app](https://sottoasr.app) · [MLX 5-bit (recommended)](https://huggingface.co/juanquivilla/sotto-cleanup-lfm25-350m-mlx-5bit) · [MLX 4-bit (smaller)](https://huggingface.co/juanquivilla/sotto-cleanup-lfm25-350m-mlx-4bit) · [Training Dataset](https://huggingface.co/datasets/juanquivilla/sotto-transcript-cleanup)
|
| 21 |
|
|
@@ -23,34 +26,39 @@ datasets:
|
|
| 23 |
|
| 24 |
**Full-precision bf16** fine-tune of [LiquidAI/LFM2.5-350M-Base](https://huggingface.co/LiquidAI/LFM2.5-350M-Base) for on-device speech-to-text transcript cleanup. This is the **training artifact** — for on-device deployment on Apple Silicon, use the [5-bit MLX variant](https://huggingface.co/juanquivilla/sotto-cleanup-lfm25-350m-mlx-5bit) instead.
|
| 25 |
|
| 26 |
-
This model powers on-device transcript cleanup in [SottoASR](https://sottoasr.app) — a local, privacy-first speech-to-text application for macOS. It removes filler words, corrects grammar, formats punctuation, handles false starts and self-corrections, and **— new in
|
| 27 |
|
| 28 |
-
## What's new in
|
| 29 |
|
| 30 |
-
|
| 31 |
|
| 32 |
-
| Capability |
|
| 33 |
|---|---|---|
|
| 34 |
-
|
|
| 35 |
-
|
|
| 36 |
-
| ROUGE-L on
|
| 37 |
-
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
-
|
|
|
|
|
|
|
| 40 |
|
| 41 |
## Key Specs
|
| 42 |
|
| 43 |
| Property | Value |
|
| 44 |
|----------|-------|
|
| 45 |
| **Size** | **676 MB** |
|
| 46 |
-
| **ROUGE-L (
|
| 47 |
-
| **
|
| 48 |
-
| **
|
| 49 |
-
| **Paragraph rate (long inputs)** | **91.5 %** |
|
| 50 |
-
| **Latency** | **118 ms** average per transcript (RTX 4090) |
|
| 51 |
| **Architecture** | Hybrid: 10 conv + 6 GQA attention (354M params) |
|
| 52 |
| **Precision** | bf16 |
|
| 53 |
-
| **Training
|
|
|
|
|
|
|
|
|
|
| 54 |
|
| 55 |
## What It Does
|
| 56 |
|
|
@@ -64,9 +72,9 @@ Takes raw, unpunctuated ASR output and produces clean, readable text:
|
|
| 64 |
| okay so the thing is basically we're running out of disk space | We're running out of disk space. |
|
| 65 |
| uh yes | Yes. |
|
| 66 |
|
| 67 |
-
###
|
| 68 |
|
| 69 |
-
Long, multi-topic input is
|
| 70 |
|
| 71 |
**Input:**
|
| 72 |
> okay so were having some real issues with the deployment pipeline and i want to walk through whats going wrong the main problem is that the redis cache is timing out during deploys we push a new version and then for about thirty seconds the connections hang and customers see errors so i think we need to add a graceful shutdown period before we kill the old pods now separately the elasticsearch cluster has been a pain we deployed a new svelte frontend last month and it caused index corruption we need to validate the schema before pushing anything live going forward i think the answer here is to add both of these checks to our standard deployment checklist
|
|
@@ -76,41 +84,24 @@ Long, multi-topic input is now restructured into paragraph-formatted prose:
|
|
| 76 |
>
|
| 77 |
> I think we need to add a graceful shutdown period before we kill the old pods. Now separately, the Elasticsearch cluster has been a pain. We deployed a new Svelte frontend last month and it caused index corruption. We need to validate the schema before pushing anything live. Going forward, I think the answer here is to add both of these checks to our standard deployment checklist.
|
| 78 |
|
| 79 |
-
Notice the model:
|
| 80 |
-
- Strips speech disfluencies ("okay so", "uh", "basically")
|
| 81 |
-
- Capitalizes proper nouns (Redis, Elasticsearch, Svelte)
|
| 82 |
-
- Adds correct punctuation
|
| 83 |
-
- **Inserts a paragraph break at the topic shift** ("the elasticsearch cluster has been a pain")
|
| 84 |
-
|
| 85 |
## Benchmark Results
|
| 86 |
|
| 87 |
-
|
| 88 |
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
|
| 92 |
-
|
|
| 93 |
-
|
|
| 94 |
-
|
|
| 95 |
-
|
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
|
| 100 |
-
|
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
| Exact Match | 2.0 % | 0.0 % | +2.0 pts |
|
| 104 |
-
| Avg latency | 1.45 s | 1.40 s | +50 ms |
|
| 105 |
-
|
| 106 |
-
### vs Prompted Qwen 2B Baseline (from earlier benchmarks)
|
| 107 |
-
|
| 108 |
-
| Metric | This model (354M) | Prompted Qwen 2B | Improvement |
|
| 109 |
-
|--------|-------------------|-------------------|-------------|
|
| 110 |
-
| ROUGE-L | **0.9537** | 0.891 | **+0.059** |
|
| 111 |
-
| Exact Match | **64.3 %** | 37 % | **+26 pts** |
|
| 112 |
-
| Inference | **118 ms** | 1.0 s | **8.5× faster** |
|
| 113 |
-
| Parameters | 354M | 2B | **5.6× smaller** |
|
| 114 |
|
| 115 |
## Usage
|
| 116 |
|
|
@@ -149,7 +140,7 @@ print(output.strip())
|
|
| 149 |
# → "We need to fix the deployment pipeline."
|
| 150 |
```
|
| 151 |
|
| 152 |
-
For long dictation that may need paragraph formatting, use a higher `max_new_tokens` (1024
|
| 153 |
|
| 154 |
## Training Details
|
| 155 |
|
|
@@ -157,42 +148,51 @@ For long dictation that may need paragraph formatting, use a higher `max_new_tok
|
|
| 157 |
|
| 158 |
```
|
| 159 |
LiquidAI/LFM2.5-350M-Base
|
| 160 |
-
→ SFT: 157,556 rows (v22 base + 4,012 paragraph_formatting),
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
```
|
| 170 |
|
| 171 |
-
###
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 172 |
|
| 173 |
-
|
| 174 |
|
| 175 |
-
|
| 176 |
-
- **3,995 new paragraph_formatting samples** (held out 200 for `paragraph_val.jsonl`) — generated via AWS Bedrock Claude Haiku 4.5, instructed to produce 100–500 word raw input + 2–5 paragraph clean output, split at natural discourse boundaries
|
| 177 |
|
| 178 |
-
|
|
|
|
|
|
|
| 179 |
|
| 180 |
-
1
|
| 181 |
|
| 182 |
## All Variants
|
| 183 |
|
| 184 |
| Variant | Size | Use Case |
|
| 185 |
|---------|------|----------|
|
| 186 |
| **[Full precision (this)](https://huggingface.co/juanquivilla/sotto-cleanup-lfm25-350m)** | 676 MB | Training, GPU inference |
|
| 187 |
-
| **[MLX 5-bit](https://huggingface.co/juanquivilla/sotto-cleanup-lfm25-350m-mlx-5bit)** | 237 MB | **Recommended for Apple Silicon** |
|
| 188 |
-
| [MLX 4-bit](https://huggingface.co/juanquivilla/sotto-cleanup-lfm25-350m-mlx-4bit) | 195 MB | Smallest, slight quality trade-off |
|
| 189 |
|
| 190 |
## Limitations
|
| 191 |
|
| 192 |
- Optimized for **English** conversational/meeting-style speech
|
| 193 |
- Domain-specific jargon (medical, legal) may not be corrected without additional fine-tuning
|
| 194 |
-
-
|
| 195 |
-
-
|
| 196 |
- Not designed for formal written text — trained on spoken language patterns
|
| 197 |
|
| 198 |
## License
|
|
|
|
| 10 |
- asr-post-processing
|
| 11 |
- LFM
|
| 12 |
- LiquidAI
|
| 13 |
+
- grpo
|
| 14 |
+
- full-fine-tune
|
| 15 |
+
- preservation
|
| 16 |
pipeline_tag: text-generation
|
| 17 |
datasets:
|
| 18 |
- juanquivilla/sotto-transcript-cleanup
|
| 19 |
---
|
| 20 |
|
| 21 |
+
# SottoASR Transcript Cleanup — LFM2.5-350M (Full Precision, v36 + Preservation)
|
| 22 |
|
| 23 |
[sottoasr.app](https://sottoasr.app) · [MLX 5-bit (recommended)](https://huggingface.co/juanquivilla/sotto-cleanup-lfm25-350m-mlx-5bit) · [MLX 4-bit (smaller)](https://huggingface.co/juanquivilla/sotto-cleanup-lfm25-350m-mlx-4bit) · [Training Dataset](https://huggingface.co/datasets/juanquivilla/sotto-transcript-cleanup)
|
| 24 |
|
|
|
|
| 26 |
|
| 27 |
**Full-precision bf16** fine-tune of [LiquidAI/LFM2.5-350M-Base](https://huggingface.co/LiquidAI/LFM2.5-350M-Base) for on-device speech-to-text transcript cleanup. This is the **training artifact** — for on-device deployment on Apple Silicon, use the [5-bit MLX variant](https://huggingface.co/juanquivilla/sotto-cleanup-lfm25-350m-mlx-5bit) instead.
|
| 28 |
|
| 29 |
+
This model powers on-device transcript cleanup in [SottoASR](https://sottoasr.app) — a local, privacy-first speech-to-text application for macOS. It removes filler words, corrects grammar, formats punctuation, handles false starts and self-corrections, restructures long dictations into paragraph-formatted prose, and **— new in v36 — preserves substantive content reliably even on long inputs**, all locally with zero cloud dependency.
|
| 30 |
|
| 31 |
+
## What's new in v36
|
| 32 |
|
| 33 |
+
v36 fixes the **aggressive-edits failure mode** that earlier checkpoints occasionally exhibited: on long inputs the model would sometimes delete substantive content along with the fillers. v36 is a GRPO **full fine-tune** (all 354M params trainable, no LoRA) with a substantive-deletion-aware reward that penalizes any deletion of non-filler words beyond a 10% threshold. Result: high-substantive-deletion incidence on long inputs drops from **3.85% → 0.64%** while filler-free rate climbs from **50.9% → 96.9%**.
|
| 34 |
|
| 35 |
+
| Capability | v23 baseline | **v36 (this model)** |
|
| 36 |
|---|---|---|
|
| 37 |
+
| Filler-Free rate | 50.9 % | **96.9 %** ⭐ |
|
| 38 |
+
| Substantive-deletion >15% on long inputs | 3.85 % | **0.64 %** ⭐ |
|
| 39 |
+
| ROUGE-L F1 on long inputs (>100 words) | 0.9242 | **0.9425** |
|
| 40 |
+
| Set-based deletion >40% (legacy metric) | 11.4 % | **3.4 %** |
|
| 41 |
+
| Word retention median | 0.899 | 0.884 |
|
| 42 |
+
| Composite winner score | 131.7 | **189.2** |
|
| 43 |
|
| 44 |
+
The substantive-deletion metric is the one that maps most directly to the user-reported failure mode: it counts how often the model removes more than 15% of the *non-filler* words from a long input. v36 is roughly **6× rarer to do this than the v23 baseline**.
|
| 45 |
+
|
| 46 |
+
v36 is the breakthrough run from a 28-run autonomous GRPO campaign. All 14 LoRA r=32 variants we tried converged to a ~7–8% sub-del-15-long floor regardless of reward shape, oversampling ratio, or warm-start checkpoint. The full fine-tune cleared the floor by a 12× margin — the conclusion: with 96 GB of VRAM available, full fine-tuning of a 354M model is the right tool for shaping fine-grained word-level behavior.
|
| 47 |
|
| 48 |
## Key Specs
|
| 49 |
|
| 50 |
| Property | Value |
|
| 51 |
|----------|-------|
|
| 52 |
| **Size** | **676 MB** |
|
| 53 |
+
| **ROUGE-L F1 (long inputs)** | **0.9425** |
|
| 54 |
+
| **Filler-Free rate** | **96.9 %** ⭐ |
|
| 55 |
+
| **Substantive-deletion >15% (long)** | **0.64 %** ⭐ |
|
|
|
|
|
|
|
| 56 |
| **Architecture** | Hybrid: 10 conv + 6 GQA attention (354M params) |
|
| 57 |
| **Precision** | bf16 |
|
| 58 |
+
| **Training method** | Full fine-tune GRPO (no LoRA) |
|
| 59 |
+
| **Training context** | 2,048 prompt + 1,024 completion |
|
| 60 |
+
| **Native context** | 32,768 tokens (128K base) |
|
| 61 |
+
| **Hardware** | 1× RTX PRO 6000 Blackwell (96 GB), ~46 min for 1000 GRPO steps |
|
| 62 |
|
| 63 |
## What It Does
|
| 64 |
|
|
|
|
| 72 |
| okay so the thing is basically we're running out of disk space | We're running out of disk space. |
|
| 73 |
| uh yes | Yes. |
|
| 74 |
|
| 75 |
+
### Paragraph emission on long dictations (inherited from v23)
|
| 76 |
|
| 77 |
+
Long, multi-topic input is restructured into paragraph-formatted prose with `\n\n` breaks at natural topic boundaries:
|
| 78 |
|
| 79 |
**Input:**
|
| 80 |
> okay so were having some real issues with the deployment pipeline and i want to walk through whats going wrong the main problem is that the redis cache is timing out during deploys we push a new version and then for about thirty seconds the connections hang and customers see errors so i think we need to add a graceful shutdown period before we kill the old pods now separately the elasticsearch cluster has been a pain we deployed a new svelte frontend last month and it caused index corruption we need to validate the schema before pushing anything live going forward i think the answer here is to add both of these checks to our standard deployment checklist
|
|
|
|
| 84 |
>
|
| 85 |
> I think we need to add a graceful shutdown period before we kill the old pods. Now separately, the Elasticsearch cluster has been a pain. We deployed a new Svelte frontend last month and it caused index corruption. We need to validate the schema before pushing anything live. Going forward, I think the answer here is to add both of these checks to our standard deployment checklist.
|
| 86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
## Benchmark Results
|
| 88 |
|
| 89 |
+
Evaluated on a 350-sample held-out mix: 200 random samples from `data_v23_paragraphs/val.jsonl` plus 150 held-out preservation samples (the last 150 of `preservation_samples.jsonl`, never seen during training).
|
| 90 |
|
| 91 |
+
### Headline numbers vs baselines
|
| 92 |
+
|
| 93 |
+
| Metric | v23 baseline | v24 (Apr) | **v36 (this model)** |
|
| 94 |
+
|--------|---:|---:|---:|
|
| 95 |
+
| ROUGE-L F1 (overall) | 0.9357 | 0.9300 | 0.9076 |
|
| 96 |
+
| ROUGE-L F1 (long inputs >100 words) | 0.9242 | 0.9144 | **0.9425** |
|
| 97 |
+
| Filler-Free rate | 50.9 % | 74.9 % | **96.9 %** ⭐ |
|
| 98 |
+
| Set-based deletion >40% | 11.4 % | 12.9 % | **3.4 %** |
|
| 99 |
+
| **Substantive-deletion >15% on long inputs** | **3.85 %** | — | **0.64 %** ⭐ |
|
| 100 |
+
| Substantive-deletion >25% on long inputs | 0.0 % | — | 0.0 % |
|
| 101 |
+
| Set-based deletion median | 0.107 | 0.175 | 0.092 |
|
| 102 |
+
| Word retention median | 0.899 | 0.818 | 0.884 |
|
| 103 |
+
|
| 104 |
+
v36 is **slightly more aggressive on short inputs** (overall ROUGE-L drops from 0.936 → 0.908 — the model more readily strips fillers and tightens punctuation) but **better on long inputs** (ROUGE-L 0.924 → 0.943) where preservation matters most. For workloads dominated by long-form dictation (the design target), v36 is strictly better than v23.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
|
| 106 |
## Usage
|
| 107 |
|
|
|
|
| 140 |
# → "We need to fix the deployment pipeline."
|
| 141 |
```
|
| 142 |
|
| 143 |
+
For long dictation that may need paragraph formatting, use a higher `max_new_tokens` (1024–2048).
|
| 144 |
|
| 145 |
## Training Details
|
| 146 |
|
|
|
|
| 148 |
|
| 149 |
```
|
| 150 |
LiquidAI/LFM2.5-350M-Base
|
| 151 |
+
→ SFT (v23): 157,556 rows (v22 base + 4,012 paragraph_formatting),
|
| 152 |
+
LR 3e-5, β2=0.95, 3 epochs, bf16+tf32, packed 4,096 ctx
|
| 153 |
+
→ GRPO R5/R6 (v23): LoRA r=32, paragraph emission tuned
|
| 154 |
+
→ main val ROUGE-L 0.9499, Filler-Free 91.0 %, paragraph rate 89 %
|
| 155 |
+
→ GRPO v36 (this model): FULL fine-tune (no LoRA), all 354M params,
|
| 156 |
+
substantive-deletion-aware reward, 6,000 examples
|
| 157 |
+
(3,000 flat + 3,000 oversampled preservation, 50/50),
|
| 158 |
+
batch=48, num_gen=8, 1000 steps, LR 5e-6, ~46 min
|
| 159 |
+
→ 350-sample eval: 96.9 % filler-free, 0.64 % sub-del-15-long
|
| 160 |
```
|
| 161 |
|
| 162 |
+
### v36 reward function
|
| 163 |
+
|
| 164 |
+
The v36 reward is a sum of:
|
| 165 |
+
|
| 166 |
+
1. **Quality**: `+5.0 × ROUGE-L F1` against the reference clean output.
|
| 167 |
+
2. **Filler penalty**: `−min(count × 0.5, 2.0) × 3.0` per generation.
|
| 168 |
+
3. **Format bonus**: +0.2 each for capital-leading and terminal punctuation.
|
| 169 |
+
4. **Substantive-deletion penalty**: strip filler words from input, compute multiplicity-aware (multiset) deletion ratio of substantive words. If `> 0.10` (threshold), apply `−10.0 × ramp` linearly scaling from 0 at 0.10 to 1.0 at 0.35 deletion. Clipped at `−10.0`.
|
| 170 |
+
5. **Preservation bonus**: `+1.5` when output/input word ratio is in `[0.70, 0.95]`.
|
| 171 |
|
| 172 |
+
Hyperparameters: `DEL_CAP=−10.0`, `DEL_THRESH=0.10`, `DEL_RAMP_END=0.35`, `PRES_BONUS=+1.5`, `PRES_BAND=(0.70, 0.95)`.
|
| 173 |
|
| 174 |
+
### Why full fine-tune
|
|
|
|
| 175 |
|
| 176 |
+
The campaign ran 14 LoRA variants (v25–v38, v50, v52) and one full fine-tune (v36) of the same substantive-deletion-aware reward. **All LoRA r=32 runs converged to ~7–8% sub-del-15-long** regardless of reward shape, oversampling ratio, threshold, cap, or warm-start checkpoint. The full FT run (v36) **broke through to 0.64%** — a 12× improvement. With 96 GB of VRAM available, full fine-tuning a 354M model is the right tool for shaping fine-grained word-level behavior; LoRA's low-rank constraint was the limiting factor.
|
| 177 |
+
|
| 178 |
+
### Dataset
|
| 179 |
|
| 180 |
+
**157,556 train / 7,121 val rows** in [juanquivilla/sotto-transcript-cleanup](https://huggingface.co/datasets/juanquivilla/sotto-transcript-cleanup), plus a **1,352-sample preservation set** (long inputs specifically constructed to stress preservation under heavy filler removal). v36 GRPO trains on a 6,000-example mix: 3,000 flat from `train.jsonl` + 3,000 from the 1,352-sample preservation set (oversampled ~2.2× for a 50/50 balance).
|
| 181 |
|
| 182 |
## All Variants
|
| 183 |
|
| 184 |
| Variant | Size | Use Case |
|
| 185 |
|---------|------|----------|
|
| 186 |
| **[Full precision (this)](https://huggingface.co/juanquivilla/sotto-cleanup-lfm25-350m)** | 676 MB | Training, GPU inference |
|
| 187 |
+
| **[MLX 5-bit](https://huggingface.co/juanquivilla/sotto-cleanup-lfm25-350m-mlx-5bit)** | ~237 MB | **Recommended for Apple Silicon** |
|
| 188 |
+
| [MLX 4-bit](https://huggingface.co/juanquivilla/sotto-cleanup-lfm25-350m-mlx-4bit) | ~195 MB | Smallest, slight quality trade-off |
|
| 189 |
|
| 190 |
## Limitations
|
| 191 |
|
| 192 |
- Optimized for **English** conversational/meeting-style speech
|
| 193 |
- Domain-specific jargon (medical, legal) may not be corrected without additional fine-tuning
|
| 194 |
+
- v36 is slightly more aggressive on short inputs than v23 (overall ROUGE-L 0.908 vs 0.936); for workloads dominated by short utterances where lexical fidelity matters more than filler removal, v23 may be a better fit
|
| 195 |
+
- The substantive-deletion metric is reference-free (compares output to input only, after filler-stripping) so it cannot catch *semantic* hallucinations — only word-level losses
|
| 196 |
- Not designed for formal written text — trained on spoken language patterns
|
| 197 |
|
| 198 |
## License
|
config.json
CHANGED
|
@@ -4,7 +4,6 @@
|
|
| 4 |
],
|
| 5 |
"block_auto_adjust_ff_dim": true,
|
| 6 |
"block_dim": 1024,
|
| 7 |
-
"block_ff_dim": 6656,
|
| 8 |
"block_ffn_dim_multiplier": 1.0,
|
| 9 |
"block_mlp_init_scale": 1.0,
|
| 10 |
"block_multiple_of": 256,
|
|
@@ -19,6 +18,7 @@
|
|
| 19 |
"conv_use_xavier_init": true,
|
| 20 |
"dtype": "bfloat16",
|
| 21 |
"eos_token_id": 7,
|
|
|
|
| 22 |
"hidden_size": 1024,
|
| 23 |
"initializer_range": 0.02,
|
| 24 |
"intermediate_size": 6656,
|
|
@@ -52,10 +52,11 @@
|
|
| 52 |
"rope_theta": 1000000.0,
|
| 53 |
"rope_type": "default"
|
| 54 |
},
|
| 55 |
-
"tie_embedding": true,
|
| 56 |
"tie_word_embeddings": true,
|
| 57 |
-
"transformers_version": "5.
|
| 58 |
"use_cache": false,
|
| 59 |
"use_pos_enc": true,
|
| 60 |
-
"vocab_size": 65536
|
| 61 |
-
|
|
|
|
|
|
|
|
|
| 4 |
],
|
| 5 |
"block_auto_adjust_ff_dim": true,
|
| 6 |
"block_dim": 1024,
|
|
|
|
| 7 |
"block_ffn_dim_multiplier": 1.0,
|
| 8 |
"block_mlp_init_scale": 1.0,
|
| 9 |
"block_multiple_of": 256,
|
|
|
|
| 18 |
"conv_use_xavier_init": true,
|
| 19 |
"dtype": "bfloat16",
|
| 20 |
"eos_token_id": 7,
|
| 21 |
+
"full_attn_idxs": null,
|
| 22 |
"hidden_size": 1024,
|
| 23 |
"initializer_range": 0.02,
|
| 24 |
"intermediate_size": 6656,
|
|
|
|
| 52 |
"rope_theta": 1000000.0,
|
| 53 |
"rope_type": "default"
|
| 54 |
},
|
|
|
|
| 55 |
"tie_word_embeddings": true,
|
| 56 |
+
"transformers_version": "5.6.2",
|
| 57 |
"use_cache": false,
|
| 58 |
"use_pos_enc": true,
|
| 59 |
+
"vocab_size": 65536,
|
| 60 |
+
"block_ff_dim": 6656,
|
| 61 |
+
"rope_theta": 1000000.0
|
| 62 |
+
}
|
generation_config.json
CHANGED
|
@@ -5,5 +5,5 @@
|
|
| 5 |
7
|
| 6 |
],
|
| 7 |
"pad_token_id": 0,
|
| 8 |
-
"transformers_version": "5.
|
| 9 |
}
|
|
|
|
| 5 |
7
|
| 6 |
],
|
| 7 |
"pad_token_id": 0,
|
| 8 |
+
"transformers_version": "5.6.2"
|
| 9 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 708984464
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:06f28fd7204bc24d3e7f42cec46beeb18cd1db8e9041d394efa33b7d18f025ad
|
| 3 |
size 708984464
|
tokenizer_config.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
| 6 |
"extra_special_tokens": [],
|
| 7 |
"is_local": true,
|
| 8 |
"legacy": false,
|
|
|
|
| 9 |
"model_input_names": [
|
| 10 |
"input_ids",
|
| 11 |
"attention_mask"
|
|
|
|
| 6 |
"extra_special_tokens": [],
|
| 7 |
"is_local": true,
|
| 8 |
"legacy": false,
|
| 9 |
+
"local_files_only": false,
|
| 10 |
"model_input_names": [
|
| 11 |
"input_ids",
|
| 12 |
"attention_mask"
|