Downloads · 30 days
18
29% of all-time downloads
nbeerbower/A0l-8B-PRUNE
A0l-8B-PRUNE is a machine learning model from nbeerbower. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Pruned version of schneewolflabs/A0l-12B
Downloads · 30 days
18
29% of all-time downloads
All-time downloads
62
Public
Parameters
8.7B
17.4 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors17.4 GB · 100%
From the Hugging Face model README
Pruned version of schneewolflabs/A0l-12B
This is a depth-pruned variant of the A0l-12B model, reduced from 12.25B to 8.70B parameters using structured layer removal.
This model maintains full compatibility with the Mistral-Nemo architecture:
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
# Load model
model = AutoModelForCausalLM.from_pretrained(
"nbeerbower/A0l-8B-PRUNE",
torch_dtype=torch.bfloat16,
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("nbeerbower/A0l-8B-PRUNE")
# Generate text
prompt = "The future of AI is"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=100,
temperature=0.7,
do_sample=True
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
⚠️ Important: This model was pruned without knowledge distillation or retraining. Output quality is degraded compared to the original A0l-12B:
For best results: Consider this a "base" pruned model that should be fine-tuned or distilled on your target task/dataset.
Good for:
Not recommended for:
{
"original_model": "schneewolflabs/A0l-12B",
"original_params": 12247782400,
"pruned_params": 8703462400,
"reduction_percent": 28.93,
"pruning_type": "depth",
"layers_removed": 13,
"removed_layer_indices": "13-25"
}
| Component | Original | Pruned | Status |
|---|---|---|---|
| Layers | 40 | 27 | ⚠️ Changed |
| Hidden Size | 5120 | 5120 | ✅ Same |
| Intermediate Size | 14336 | 14336 | ✅ Same |
| Attention Heads | 32 | 32 | ✅ Same |
| KV Heads | 8 | 8 | ✅ Same |
| Vocab Size | 131072 | 131072 | ✅ Same |
This model was pruned using structured depth pruning:
Tools used: Torch-Pruning
If you use this model, please cite the original A0l-12B:
Original model: schneewolflabs/A0l-12B
Base architecture: Mistral-Nemo-12B
Pruning method: Depth pruning (layer removal)
Follows the same license as the original A0l-12B model.