metadata
license: apache-2.0
tags:
- pruned
- python
- optimized
- wanda
base_model: tiiuae/Falcon-H1-Tiny-90M-Base
pipeline_tag: text-generation
Falcon-H1-Tiny-90M-Base-python-safe
π― PYTHON-optimized | π¦ Safe pruning | β‘ 1% weights pruned
This model is a conservatively pruned version of tiiuae/Falcon-H1-Tiny-90M-Base.
Performance Comparison
| Category | Original | Pruned | Change |
|---|---|---|---|
| Python | 0.0% | 0.0% β | β |
| Html | 8.3% | 0.0% | β 8.3% |
| Trivia | 25.0% | 0.0% | β 25.0% |
| Math | 16.7% | 0.0% | β 16.7% |
| Reasoning | 8.3% | 0.0% | β 8.3% |
| Medical | 0.0% | 0.0% | β |
| Linux | 0.0% | 0.0% | β |
| Writing | 0.0% | 0.0% | β |
Average: 7.3% β 0.0% (-7.3%)
Quick Start
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("CompactAI/Falcon-H1-Tiny-90M-Base-python-safe")
tokenizer = AutoTokenizer.from_pretrained("CompactAI/Falcon-H1-Tiny-90M-Base-python-safe")
inputs = tokenizer("Your prompt here", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Technical Details
| Property | Value |
|---|---|
| Base Model | tiiuae/Falcon-H1-Tiny-90M-Base |
| Specialization | Python |
| Prune Mode | Safe |
| Weight Reduction | 1% weights pruned |
License
This model inherits the license from the base model.
