Instructions to use m176/distilbert-base-uncased-lora-text-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use m176/distilbert-base-uncased-lora-text-classification with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("distilbert-base-uncased") model = PeftModel.from_pretrained(base_model, "m176/distilbert-base-uncased-lora-text-classification") - Transformers
How to use m176/distilbert-base-uncased-lora-text-classification with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("m176/distilbert-base-uncased-lora-text-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
distilbert-base-uncased-lora-text-classification
This model was trained from scratch on an unknown dataset.
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.001
- train_batch_size: 4
- eval_batch_size: 4
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 1
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| No log | 1.0 | 250 | 0.2930 | 0.895 |
Framework versions
- PEFT 0.19.1
- Transformers 5.13.1
- Pytorch 2.13.0+cpu
- Datasets 5.0.0
- Tokenizers 0.22.2
- Downloads last month
- 38
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for m176/distilbert-base-uncased-lora-text-classification
Base model
distilbert/distilbert-base-uncased