Text Classification
Transformers
PyTorch
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use Theoreticallyhugo/bert-ner-essays-classify_span with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Theoreticallyhugo/bert-ner-essays-classify_span with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Theoreticallyhugo/bert-ner-essays-classify_span")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Theoreticallyhugo/bert-ner-essays-classify_span") model = AutoModelForSequenceClassification.from_pretrained("Theoreticallyhugo/bert-ner-essays-classify_span", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
2f7225d
1
Parent(s): 03afa1d
trainer: training complete at 2023-11-13 16:49:31.030061.
Browse files
README.md
CHANGED
|
@@ -3,8 +3,6 @@ license: apache-2.0
|
|
| 3 |
base_model: distilbert-base-uncased
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
-
metrics:
|
| 7 |
-
- accuracy
|
| 8 |
model-index:
|
| 9 |
- name: bert-ner-essays-classify_span
|
| 10 |
results: []
|
|
@@ -18,7 +16,13 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 18 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
- Loss: 0.6951
|
| 21 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
## Model description
|
| 24 |
|
|
@@ -47,10 +51,10 @@ The following hyperparameters were used during training:
|
|
| 47 |
|
| 48 |
### Training results
|
| 49 |
|
| 50 |
-
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 51 |
-
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 52 |
-
| No log | 1.0 | 267 | 0.7245 | 0.6650
|
| 53 |
-
| 0.7275 | 2.0 | 534 | 0.6951 | 0.7077
|
| 54 |
|
| 55 |
|
| 56 |
### Framework versions
|
|
|
|
| 3 |
base_model: distilbert-base-uncased
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
|
|
|
|
|
|
| 6 |
model-index:
|
| 7 |
- name: bert-ner-essays-classify_span
|
| 8 |
results: []
|
|
|
|
| 16 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
|
| 17 |
It achieves the following results on the evaluation set:
|
| 18 |
- Loss: 0.6951
|
| 19 |
+
- Ajorclaim: {'precision': 0.5098039215686274, 'recall': 0.4, 'f1': 0.4482758620689655, 'number': 65}
|
| 20 |
+
- Laim: {'precision': 0.29545454545454547, 'recall': 0.23008849557522124, 'f1': 0.2587064676616916, 'number': 113}
|
| 21 |
+
- Remise: {'precision': 0.23140495867768596, 'recall': 0.20588235294117646, 'f1': 0.2178988326848249, 'number': 136}
|
| 22 |
+
- Overall Precision: 0.3077
|
| 23 |
+
- Overall Recall: 0.2548
|
| 24 |
+
- Overall F1: 0.2787
|
| 25 |
+
- Overall Accuracy: 0.7077
|
| 26 |
|
| 27 |
## Model description
|
| 28 |
|
|
|
|
| 51 |
|
| 52 |
### Training results
|
| 53 |
|
| 54 |
+
| Training Loss | Epoch | Step | Validation Loss | Ajorclaim | Laim | Remise | Overall Precision | Overall Recall | Overall F1 | Overall Accuracy |
|
| 55 |
+
|:-------------:|:-----:|:----:|:---------------:|:----------------------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------------------------:|:-----------------:|:--------------:|:----------:|:----------------:|
|
| 56 |
+
| No log | 1.0 | 267 | 0.7245 | {'precision': 0.5, 'recall': 0.2153846153846154, 'f1': 0.3010752688172043, 'number': 65} | {'precision': 0.1794871794871795, 'recall': 0.061946902654867256, 'f1': 0.09210526315789473, 'number': 113} | {'precision': 0.15625, 'recall': 0.07352941176470588, 'f1': 0.1, 'number': 136} | 0.2366 | 0.0987 | 0.1393 | 0.6650 |
|
| 57 |
+
| 0.7275 | 2.0 | 534 | 0.6951 | {'precision': 0.5098039215686274, 'recall': 0.4, 'f1': 0.4482758620689655, 'number': 65} | {'precision': 0.29545454545454547, 'recall': 0.23008849557522124, 'f1': 0.2587064676616916, 'number': 113} | {'precision': 0.23140495867768596, 'recall': 0.20588235294117646, 'f1': 0.2178988326848249, 'number': 136} | 0.3077 | 0.2548 | 0.2787 | 0.7077 |
|
| 58 |
|
| 59 |
|
| 60 |
### Framework versions
|