Instructions to use laodaImissU/imdb-lora-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use laodaImissU/imdb-lora-1.0 with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("bert-base-uncased") model = PeftModel.from_pretrained(base_model, "laodaImissU/imdb-lora-1.0") - Transformers
How to use laodaImissU/imdb-lora-1.0 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("laodaImissU/imdb-lora-1.0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
imdb-lora-1.0
This model is a fine-tuned version of bert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.3094
- Accuracy: 0.8727
- F1: 0.8727
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: 5e-06
- train_batch_size: 80
- eval_batch_size: 80
- 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: 8
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| 0.6898 | 1.0 | 313 | 0.6817 | 0.5751 | 0.5709 |
| 0.6537 | 2.0 | 626 | 0.6356 | 0.6969 | 0.6942 |
| 0.5451 | 3.0 | 939 | 0.4891 | 0.7919 | 0.7919 |
| 0.4011 | 4.0 | 1252 | 0.3686 | 0.8477 | 0.8477 |
| 0.3532 | 5.0 | 1565 | 0.3297 | 0.8636 | 0.8636 |
| 0.3447 | 6.0 | 1878 | 0.3169 | 0.8688 | 0.8688 |
| 0.3415 | 7.0 | 2191 | 0.3115 | 0.8717 | 0.8717 |
| 0.3386 | 8.0 | 2504 | 0.3094 | 0.8727 | 0.8727 |
Framework versions
- PEFT 0.18.0
- Transformers 4.57.3
- Pytorch 2.9.1+cu128
- Datasets 4.4.2
- Tokenizers 0.22.1
- Downloads last month
- 4
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Model tree for laodaImissU/imdb-lora-1.0
Base model
google-bert/bert-base-uncased