FinCompress / README.md
github-actions[bot]
Sync from GitHub @ d3bfc1089108584e062562fe14056a5fb1cd1d5a
737b4cb
|
Raw
History Blame Contribute Delete
1.01 kB
---
title: FinCompress
emoji: πŸ—œοΈ
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 6.6.0
app_file: app.py
pinned: false
short_description: FinBERT compression via KD, INT8 quant, and pruning
---
# πŸ—œοΈ FinCompress
Compressing **FinBERT** (109M params) into a 19M-parameter student using
knowledge distillation, INT8 quantization, and structured attention-head pruning β€”
all benchmarked on financial sentiment classification.
## What this Space shows
- **Live demo**: run both the 109M teacher and 19M student side-by-side on any financial sentence
- **Benchmark table**: all 7 model variants (teacher, KD students, PTQ, QAT, pruned)
- **Architecture explainer**: how KD, quantization, and pruning each work
## Links
- πŸ“¦ [GitHub β€” FinCompress](https://github.com/Rohanjain2312/FinCompress)
- πŸ€— [Student Model Weights](https://huggingface.co/rohanjain2312/FinCompress_student)
- πŸ“Š Dataset: [takala/financial_phrasebank](https://huggingface.co/datasets/takala/financial_phrasebank)