Downloads · 30 days
4
22% of all-time downloads
DikovAlexandr/Qwen2.5-3B-LoAR-Classifier
Qwen2.5-3B-LoAR-Classifier is a machine learning model from DikovAlexandr. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft.
This repository contains a LoRA adapter trained to classify marketplace customer reviews into product categories. The adapter was fine-tuned on a downstream sequence-classification task and is intended to be used with…
Downloads · 30 days
4
22% of all-time downloads
All-time downloads
18
Public
Repo size
80.3 MB
Likes
0
Public
Click a slice to open those files.
.safetensors80.3 MB · 100%
From the Hugging Face model README
This repository contains a LoRA adapter trained to classify marketplace customer reviews into product categories. The adapter was fine-tuned on a downstream sequence-classification task and is intended to be used with the Qwen/Qwen2.5-3B base model using the PEFT library.
Adapter type: LoRA (PEFT)
Base model: Qwen/Qwen2.5-3B
Task: Multiclass text classification (product category of marketplace reviews)
Labels (classes):
Developed by: [More Information Needed]
Funded by [optional]: [More Information Needed]
Shared by [optional]: [More Information Needed]
Model type: [More Information Needed]
Language(s) (NLP): [More Information Needed]
License: [More Information Needed]
Finetuned from model [optional]: [More Information Needed]
Install prerequisites:
pip install transformers peft safetensors huggingface_hub
# If you want 8-bit:
pip install bitsandbytes
LORA_R = 64
LORA_ALPHA = 128
LORA_DROPOUT = 0.10
NUM_EPOCHS = 5
PER_DEVICE_BATCH_SIZE = 1
GRAD_ACCUM_STEPS = 8
LEARNING_RATE = 2e-4
WEIGHT_DECAY = 0.01
WARMUP_RATIO = 0.03
MAX_SEQ_LENGTH = 256
SEED = 42
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).