Text Classification
Transformers
PyTorch
TensorBoard
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use elopezlopez/distilbert-base-uncased_fold_2_binary_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use elopezlopez/distilbert-base-uncased_fold_2_binary_v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="elopezlopez/distilbert-base-uncased_fold_2_binary_v1")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("elopezlopez/distilbert-base-uncased_fold_2_binary_v1") model = AutoModelForSequenceClassification.from_pretrained("elopezlopez/distilbert-base-uncased_fold_2_binary_v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
b5e8c80
1
Parent(s): 4658a10
update model card README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
metrics:
|
| 6 |
+
- f1
|
| 7 |
+
model-index:
|
| 8 |
+
- name: distilbert-base-uncased_fold_2_binary_v1
|
| 9 |
+
results: []
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 13 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
+
|
| 15 |
+
# distilbert-base-uncased_fold_2_binary_v1
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
|
| 18 |
+
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 1.8833
|
| 20 |
+
- F1: 0.7841
|
| 21 |
+
|
| 22 |
+
## Model description
|
| 23 |
+
|
| 24 |
+
More information needed
|
| 25 |
+
|
| 26 |
+
## Intended uses & limitations
|
| 27 |
+
|
| 28 |
+
More information needed
|
| 29 |
+
|
| 30 |
+
## Training and evaluation data
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Training procedure
|
| 35 |
+
|
| 36 |
+
### Training hyperparameters
|
| 37 |
+
|
| 38 |
+
The following hyperparameters were used during training:
|
| 39 |
+
- learning_rate: 2e-05
|
| 40 |
+
- train_batch_size: 16
|
| 41 |
+
- eval_batch_size: 16
|
| 42 |
+
- seed: 42
|
| 43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 44 |
+
- lr_scheduler_type: linear
|
| 45 |
+
- num_epochs: 25
|
| 46 |
+
|
| 47 |
+
### Training results
|
| 48 |
+
|
| 49 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 |
|
| 50 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|
|
| 51 |
+
| No log | 1.0 | 290 | 0.4060 | 0.8070 |
|
| 52 |
+
| 0.3981 | 2.0 | 580 | 0.4534 | 0.8072 |
|
| 53 |
+
| 0.3981 | 3.0 | 870 | 0.5460 | 0.7961 |
|
| 54 |
+
| 0.1985 | 4.0 | 1160 | 0.8684 | 0.7818 |
|
| 55 |
+
| 0.1985 | 5.0 | 1450 | 0.9009 | 0.7873 |
|
| 56 |
+
| 0.0844 | 6.0 | 1740 | 1.1529 | 0.7825 |
|
| 57 |
+
| 0.0329 | 7.0 | 2030 | 1.3185 | 0.7850 |
|
| 58 |
+
| 0.0329 | 8.0 | 2320 | 1.4110 | 0.7862 |
|
| 59 |
+
| 0.0109 | 9.0 | 2610 | 1.4751 | 0.7784 |
|
| 60 |
+
| 0.0109 | 10.0 | 2900 | 1.6276 | 0.7723 |
|
| 61 |
+
| 0.0071 | 11.0 | 3190 | 1.6779 | 0.7861 |
|
| 62 |
+
| 0.0071 | 12.0 | 3480 | 1.6258 | 0.7850 |
|
| 63 |
+
| 0.0041 | 13.0 | 3770 | 1.6324 | 0.7903 |
|
| 64 |
+
| 0.0109 | 14.0 | 4060 | 1.7563 | 0.7932 |
|
| 65 |
+
| 0.0109 | 15.0 | 4350 | 1.6740 | 0.7906 |
|
| 66 |
+
| 0.0079 | 16.0 | 4640 | 1.7468 | 0.7944 |
|
| 67 |
+
| 0.0079 | 17.0 | 4930 | 1.7095 | 0.7879 |
|
| 68 |
+
| 0.0067 | 18.0 | 5220 | 1.7293 | 0.7912 |
|
| 69 |
+
| 0.0021 | 19.0 | 5510 | 1.7875 | 0.7848 |
|
| 70 |
+
| 0.0021 | 20.0 | 5800 | 1.7462 | 0.7906 |
|
| 71 |
+
| 0.0026 | 21.0 | 6090 | 1.8549 | 0.7815 |
|
| 72 |
+
| 0.0026 | 22.0 | 6380 | 1.8314 | 0.7860 |
|
| 73 |
+
| 0.0021 | 23.0 | 6670 | 1.8577 | 0.7839 |
|
| 74 |
+
| 0.0021 | 24.0 | 6960 | 1.8548 | 0.7883 |
|
| 75 |
+
| 0.0001 | 25.0 | 7250 | 1.8833 | 0.7841 |
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
### Framework versions
|
| 79 |
+
|
| 80 |
+
- Transformers 4.21.0
|
| 81 |
+
- Pytorch 1.12.0+cu113
|
| 82 |
+
- Datasets 2.4.0
|
| 83 |
+
- Tokenizers 0.12.1
|