This repository contains code for benchmarking ModernBERT, RoBERTa, and OPT-350m on multi-class emotion classification using 8-bit quantization, backbone freezing, and LoRA-based PEFT.
scikit-learn python3 pytorch scipy lora quantization emotion-analysis plotly-express huggingface-transformers int8-quantization supervised-finetuning llm-inference llm-fine-tuning roberta-base peft-fine-tuning-llm torchao modernbert facebook-opt cochrans-q-test
-
Updated
Mar 16, 2026 - Python