Downloads · 30 days
4
15% of all-time downloads
hawada/Llama-3.2-1B-h100-slim
Llama-3.2-1B-h100-slim is a machine learning model from hawada. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains two variants: - Gated student (with learned pruning gates) – requires custom code. - Slim student (post-prune/export) – loads with standard HF APIs plus this repo’s custom code.
Downloads · 30 days
4
15% of all-time downloads
All-time downloads
27
Public
Repo size
3.1 GB
Likes
0
Public
Click a slice to open those files.
.bin3.1 GB · 100%
From the Hugging Face model README
---
library_name: pytorch
tags:
- llama
- causal-lm
- text-generation
- pruning
- knowledge-distillation
- speedup
license: apache-2.0
dataset: slimpajama-test
pipeline_tag: text-generation
---
This repository contains two variants:
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained('hawada/Llama-3.2-1B-h100-slim')
mdl = AutoModelForCausalLM.from_pretrained('hawada/Llama-3.2-1B-h100-slim', torch_dtype='auto').eval()
x = tok('Hello', return_tensors='pt')
print(tok.decode(mdl.generate(**x, max_new_tokens=16)[0]))
{
"base_id": "meta-llama/Llama-3.2-1B",
"variant": "slim-export",
"repo_slim": "hawada/Llama-3.2-1B-h100-slim"
}