Update pruned model - 8 files
Browse files- README.md +16 -10
- comparison_graph.png +0 -0
- model.safetensors +1 -1
- tokenizer.json +1 -1
README.md
CHANGED
|
@@ -11,24 +11,30 @@ pipeline_tag: text-generation
|
|
| 11 |
|
| 12 |
# LFM2.5-1.2B-Base-python-safe
|
| 13 |
|
| 14 |
-
>
|
| 15 |
|
| 16 |
This model is a **conservatively pruned** version of [LiquidAI/LFM2.5-1.2B-Base](https://huggingface.co/LiquidAI/LFM2.5-1.2B-Base).
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
## Performance Comparison
|
| 19 |
|
| 20 |
| Category | Original | Pruned | Change |
|
| 21 |
|----------|----------|--------|--------|
|
| 22 |
| **Python** | 0.0% | 0.0% β | β |
|
| 23 |
-
| Html |
|
| 24 |
-
| Trivia |
|
| 25 |
-
| Math |
|
| 26 |
-
| Reasoning |
|
| 27 |
-
| Medical |
|
| 28 |
-
| Linux |
|
| 29 |
-
| Writing |
|
| 30 |
|
| 31 |
-
**Average**:
|
| 32 |
|
| 33 |
|
| 34 |
|
|
@@ -54,7 +60,7 @@ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
|
| 54 |
| Base Model | [LiquidAI/LFM2.5-1.2B-Base](https://huggingface.co/LiquidAI/LFM2.5-1.2B-Base) |
|
| 55 |
| Specialization | Python |
|
| 56 |
| Prune Mode | Safe |
|
| 57 |
-
| Weight Reduction |
|
| 58 |
|
| 59 |
## License
|
| 60 |
|
|
|
|
| 11 |
|
| 12 |
# LFM2.5-1.2B-Base-python-safe
|
| 13 |
|
| 14 |
+
> **PYTHON-optimized** | **Safe** pruning | **30% weights pruned**
|
| 15 |
|
| 16 |
This model is a **conservatively pruned** version of [LiquidAI/LFM2.5-1.2B-Base](https://huggingface.co/LiquidAI/LFM2.5-1.2B-Base).
|
| 17 |
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
> **Note:** Minimal quality drop detected. The Wanda pruning algorithm effectively identifies and removes less important weights while preserving model capability.
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
|
| 24 |
## Performance Comparison
|
| 25 |
|
| 26 |
| Category | Original | Pruned | Change |
|
| 27 |
|----------|----------|--------|--------|
|
| 28 |
| **Python** | 0.0% | 0.0% β | β |
|
| 29 |
+
| Html | 0.0% | 0.0% | β |
|
| 30 |
+
| Trivia | 15.0% | 15.0% | β |
|
| 31 |
+
| Math | 15.0% | 15.0% | β |
|
| 32 |
+
| Reasoning | 0.0% | 0.0% | β |
|
| 33 |
+
| Medical | 20.0% | 20.0% | β |
|
| 34 |
+
| Linux | 30.0% | 25.0% | β 5.0% |
|
| 35 |
+
| Writing | 5.0% | 5.0% | β |
|
| 36 |
|
| 37 |
+
**Average**: 10.6% -> 10.0% (-0.6%)
|
| 38 |
|
| 39 |
|
| 40 |
|
|
|
|
| 60 |
| Base Model | [LiquidAI/LFM2.5-1.2B-Base](https://huggingface.co/LiquidAI/LFM2.5-1.2B-Base) |
|
| 61 |
| Specialization | Python |
|
| 62 |
| Prune Mode | Safe |
|
| 63 |
+
| Weight Reduction | 30% weights pruned |
|
| 64 |
|
| 65 |
## License
|
| 66 |
|
comparison_graph.png
CHANGED
|
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2340697784
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:878bc57aaab79e1f145b2c1fcbf8ebea9547d45d344ee3a5d6e5fafda64d6150
|
| 3 |
size 2340697784
|
tokenizer.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
"version": "1.0",
|
| 3 |
"truncation": {
|
| 4 |
"direction": "Right",
|
| 5 |
-
"max_length":
|
| 6 |
"strategy": "LongestFirst",
|
| 7 |
"stride": 0
|
| 8 |
},
|
|
|
|
| 2 |
"version": "1.0",
|
| 3 |
"truncation": {
|
| 4 |
"direction": "Right",
|
| 5 |
+
"max_length": 126976,
|
| 6 |
"strategy": "LongestFirst",
|
| 7 |
"stride": 0
|
| 8 |
},
|