Text Classification
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
text-embeddings-inference
Instructions to use felipe-nextly/text-classification-medical with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use felipe-nextly/text-classification-medical with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="felipe-nextly/text-classification-medical")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("felipe-nextly/text-classification-medical") model = AutoModelForSequenceClassification.from_pretrained("felipe-nextly/text-classification-medical", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
8b97b3a
1
Parent(s): bd92449
Model save
Browse files
README.md
CHANGED
|
@@ -18,7 +18,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
-
- Loss: 0.
|
| 22 |
- Accuracy: 1.0
|
| 23 |
- F1: 1.0
|
| 24 |
|
|
@@ -51,21 +51,21 @@ The following hyperparameters were used during training:
|
|
| 51 |
|
| 52 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 53 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 54 |
-
| No log | 1.0 | 13 | 0.
|
| 55 |
-
| No log | 2.0 | 26 | 0.
|
| 56 |
-
| No log | 3.0 | 39 | 0.
|
| 57 |
-
| No log | 4.0 | 52 | 0.
|
| 58 |
-
| No log | 5.0 | 65 | 0.
|
| 59 |
-
| No log | 6.0 | 78 | 0.
|
| 60 |
-
| No log | 7.0 | 91 | 0.
|
| 61 |
-
| No log | 8.0 | 104 | 0.
|
| 62 |
-
| No log | 9.0 | 117 | 0.
|
| 63 |
-
| No log | 10.0 | 130 | 0.
|
| 64 |
|
| 65 |
|
| 66 |
### Framework versions
|
| 67 |
|
| 68 |
-
- Transformers 4.36.
|
| 69 |
- Pytorch 2.1.0+cu121
|
| 70 |
- Datasets 2.15.0
|
| 71 |
- Tokenizers 0.15.0
|
|
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.0394
|
| 22 |
- Accuracy: 1.0
|
| 23 |
- F1: 1.0
|
| 24 |
|
|
|
|
| 51 |
|
| 52 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 53 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 54 |
+
| No log | 1.0 | 13 | 0.6409 | 0.5714 | 0.7273 |
|
| 55 |
+
| No log | 2.0 | 26 | 0.5385 | 0.8297 | 0.8397 |
|
| 56 |
+
| No log | 3.0 | 39 | 0.3346 | 0.9286 | 0.9293 |
|
| 57 |
+
| No log | 4.0 | 52 | 0.1979 | 0.9780 | 0.9781 |
|
| 58 |
+
| No log | 5.0 | 65 | 0.1321 | 0.9945 | 0.9945 |
|
| 59 |
+
| No log | 6.0 | 78 | 0.0932 | 1.0 | 1.0 |
|
| 60 |
+
| No log | 7.0 | 91 | 0.0654 | 1.0 | 1.0 |
|
| 61 |
+
| No log | 8.0 | 104 | 0.0508 | 1.0 | 1.0 |
|
| 62 |
+
| No log | 9.0 | 117 | 0.0420 | 1.0 | 1.0 |
|
| 63 |
+
| No log | 10.0 | 130 | 0.0394 | 1.0 | 1.0 |
|
| 64 |
|
| 65 |
|
| 66 |
### Framework versions
|
| 67 |
|
| 68 |
+
- Transformers 4.36.2
|
| 69 |
- Pytorch 2.1.0+cu121
|
| 70 |
- Datasets 2.15.0
|
| 71 |
- Tokenizers 0.15.0
|