Qwen3-0.6B SentiBench Distill: A Compact LLM for Sentiment Analysis
2 min readupdated
This model is an official knowledge distillation result (transferring skills from a large model to a small one) for the compact language model Qwen/Qwen3-0.6B. It is fine-tuned to solve 12 diverse SentiBench benchmark tasks related to text sentiment analysis, aspect extraction, and stance detection. The authors implemented a three-stage training pipeline, including efficient logit processing and data balancing, allowing the sub-1B parameter model to outperform larger alternatives like Phi-2-2.7B. This tool is useful for researchers and developers who need efficient and fast sentiment analysis of reviews or texts on limited hardware.
Key features
- Memory distillation: Using Sliced Target Logits cuts peak memory consumption by 94%.
- Three-stage training: Sequential application of sequence distillation, filtering, and class balancing boosts quality metrics.
- High accuracy: The model outperforms the base version across all 12 SentiBench subtasks and approaches the results of 8B models.
- Adapter merging: Supports post-hoc merging of LoRA adapters without the need for retraining.
What you can do
- Run evaluation: Test the model on all 12 tasks using the built-in repository scripts.
- Analyze sentiment: Apply the model to classify reviews, identify aspects, and determine hidden sentiment in texts.
- Use Jupyter: Walk through the entire training and evaluation pipeline step by step in an interactive notebook from the notebooks folder.
- Combine adapters: Merge different LoRA modules using WiSE-FT or DARE-TIES methods to improve results.
Example
python -m src.evaluation.run_sentibench \
--model_name_or_path Qwen/Qwen3-0.6B \
--adapter ./hf_artifacts/checkpoints/fcb_replay_r64_seed42 \
--datasets_dir ./datasets \
--output_dir ./results/eval_fcb_replay \
--policy raw \
--seed 42Read more
Details• Metrics: The average Avg-12 F1 score increased from a baseline of 52.36% to 65.76% (FCB-Replay).
• Hardware: Distillation of the Qwen3-0.6B model was performed on a single GPU with 15 GB VRAM.
• Training: SentiBench datasets were used (N = 11,974 test examples).
• License: MIT.










Comments