Text Classification
Transformers
PyTorch
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use isaacaderogba/tonality with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use isaacaderogba/tonality with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="isaacaderogba/tonality")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("isaacaderogba/tonality") model = AutoModelForSequenceClassification.from_pretrained("isaacaderogba/tonality", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
f57c1e4
1
Parent(s): 2b9d443
update model card README.md
Browse files
README.md
CHANGED
|
@@ -2,9 +2,6 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
| 5 |
-
metrics:
|
| 6 |
-
- accuracy
|
| 7 |
-
- f1
|
| 8 |
model-index:
|
| 9 |
- name: tonality
|
| 10 |
results: []
|
|
@@ -16,10 +13,6 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 16 |
# tonality
|
| 17 |
|
| 18 |
This model is a fine-tuned version of [distilbert-base-cased](https://huggingface.co/distilbert-base-cased) on an unknown dataset.
|
| 19 |
-
It achieves the following results on the evaluation set:
|
| 20 |
-
- Loss: 0.4069
|
| 21 |
-
- Accuracy: 0.8205
|
| 22 |
-
- F1: 0.8194
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
@@ -46,15 +39,6 @@ The following hyperparameters were used during training:
|
|
| 46 |
- lr_scheduler_type: linear
|
| 47 |
- num_epochs: 3
|
| 48 |
|
| 49 |
-
### Training results
|
| 50 |
-
|
| 51 |
-
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 52 |
-
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 53 |
-
| 0.4257 | 1.0 | 73 | 0.4153 | 0.811 | 0.8087 |
|
| 54 |
-
| 0.3588 | 2.0 | 146 | 0.4020 | 0.824 | 0.8234 |
|
| 55 |
-
| 0.3279 | 3.0 | 219 | 0.4069 | 0.8205 | 0.8194 |
|
| 56 |
-
|
| 57 |
-
|
| 58 |
### Framework versions
|
| 59 |
|
| 60 |
- Transformers 4.21.0
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
|
|
|
|
|
|
|
|
|
| 5 |
model-index:
|
| 6 |
- name: tonality
|
| 7 |
results: []
|
|
|
|
| 13 |
# tonality
|
| 14 |
|
| 15 |
This model is a fine-tuned version of [distilbert-base-cased](https://huggingface.co/distilbert-base-cased) on an unknown dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
## Model description
|
| 18 |
|
|
|
|
| 39 |
- lr_scheduler_type: linear
|
| 40 |
- num_epochs: 3
|
| 41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
### Framework versions
|
| 43 |
|
| 44 |
- Transformers 4.21.0
|