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")# pip install -U transformers accelerate # 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 ·
bf0fb71
1
Parent(s): 95a11ee
trainer: training complete at 2023-11-14 13:47:22.126011.
Browse files
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
-
base_model:
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
metrics:
|
|
@@ -15,15 +15,15 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 15 |
|
| 16 |
# bert-ner-essays-classify_span
|
| 17 |
|
| 18 |
-
This model is a fine-tuned version of [
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
-
- Loss: 0.
|
| 21 |
-
- Claim: {'precision': 0.
|
| 22 |
-
- Majorclaim: {'precision': 0.
|
| 23 |
-
- Premise: {'precision': 0.
|
| 24 |
-
- Accuracy: 0.
|
| 25 |
-
- Macro avg: {'precision': 0.
|
| 26 |
-
- Weighted avg: {'precision': 0.
|
| 27 |
|
| 28 |
## Model description
|
| 29 |
|
|
@@ -52,10 +52,10 @@ The following hyperparameters were used during training:
|
|
| 52 |
|
| 53 |
### Training results
|
| 54 |
|
| 55 |
-
| Training Loss | Epoch | Step | Validation Loss | Claim
|
| 56 |
-
|:-------------:|:-----:|:----:|:---------------:|:------------------------------------------------------------------------------------------------------------------
|
| 57 |
-
| No log | 1.0 | 267 | 0.
|
| 58 |
-
| 0.
|
| 59 |
|
| 60 |
|
| 61 |
### Framework versions
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
base_model: bert-base-cased
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
metrics:
|
|
|
|
| 15 |
|
| 16 |
# bert-ner-essays-classify_span
|
| 17 |
|
| 18 |
+
This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on the None dataset.
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 0.6855
|
| 21 |
+
- Claim: {'precision': 0.4016393442622951, 'recall': 0.3402777777777778, 'f1-score': 0.3684210526315789, 'support': 144.0}
|
| 22 |
+
- Majorclaim: {'precision': 0.5882352941176471, 'recall': 0.5555555555555556, 'f1-score': 0.5714285714285715, 'support': 72.0}
|
| 23 |
+
- Premise: {'precision': 0.7947494033412887, 'recall': 0.8473282442748091, 'f1-score': 0.8201970443349754, 'support': 393.0}
|
| 24 |
+
- Accuracy: 0.6929
|
| 25 |
+
- Macro avg: {'precision': 0.5948746805737436, 'recall': 0.5810538592027141, 'f1-score': 0.5866822227983753, 'support': 609.0}
|
| 26 |
+
- Weighted avg: {'precision': 0.6773818099562685, 'recall': 0.6929392446633826, 'f1-score': 0.6839621135393265, 'support': 609.0}
|
| 27 |
|
| 28 |
## Model description
|
| 29 |
|
|
|
|
| 52 |
|
| 53 |
### Training results
|
| 54 |
|
| 55 |
+
| Training Loss | Epoch | Step | Validation Loss | Claim | Majorclaim | Premise | Accuracy | Macro avg | Weighted avg |
|
| 56 |
+
|:-------------:|:-----:|:----:|:---------------:|:------------------------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------:|:--------:|:-----------------------------------------------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------:|
|
| 57 |
+
| No log | 1.0 | 267 | 0.6910 | {'precision': 0.40860215053763443, 'recall': 0.2638888888888889, 'f1-score': 0.3206751054852321, 'support': 144.0} | {'precision': 0.625, 'recall': 0.3472222222222222, 'f1-score': 0.44642857142857145, 'support': 72.0} | {'precision': 0.7521008403361344, 'recall': 0.910941475826972, 'f1-score': 0.8239355581127733, 'support': 393.0} | 0.6913 | {'precision': 0.5952343302912563, 'recall': 0.5073508623126944, 'f1-score': 0.5303464116755255, 'support': 609.0} | {'precision': 0.6558527749253206, 'recall': 0.6912972085385879, 'f1-score': 0.66030664478005, 'support': 609.0} |
|
| 58 |
+
| 0.7234 | 2.0 | 534 | 0.6855 | {'precision': 0.4016393442622951, 'recall': 0.3402777777777778, 'f1-score': 0.3684210526315789, 'support': 144.0} | {'precision': 0.5882352941176471, 'recall': 0.5555555555555556, 'f1-score': 0.5714285714285715, 'support': 72.0} | {'precision': 0.7947494033412887, 'recall': 0.8473282442748091, 'f1-score': 0.8201970443349754, 'support': 393.0} | 0.6929 | {'precision': 0.5948746805737436, 'recall': 0.5810538592027141, 'f1-score': 0.5866822227983753, 'support': 609.0} | {'precision': 0.6773818099562685, 'recall': 0.6929392446633826, 'f1-score': 0.6839621135393265, 'support': 609.0} |
|
| 59 |
|
| 60 |
|
| 61 |
### Framework versions
|