Instructions to use anarodrdi/clasificador-medical-biomedbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use anarodrdi/clasificador-medical-biomedbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="anarodrdi/clasificador-medical-biomedbert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("anarodrdi/clasificador-medical-biomedbert") model = AutoModelForSequenceClassification.from_pretrained("anarodrdi/clasificador-medical-biomedbert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
anarodrdi/clasificador-medical-biomedbert
Browse files- README.md +5 -6
- model.safetensors +1 -1
- tokenizer.json +10 -1
README.md
CHANGED
|
@@ -3,7 +3,6 @@ library_name: transformers
|
|
| 3 |
license: mit
|
| 4 |
base_model: microsoft/BiomedNLP-BiomedBERT-base-uncased-abstract
|
| 5 |
tags:
|
| 6 |
-
- classification
|
| 7 |
- generated_from_trainer
|
| 8 |
metrics:
|
| 9 |
- accuracy
|
|
@@ -19,8 +18,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 19 |
|
| 20 |
This model is a fine-tuned version of [microsoft/BiomedNLP-BiomedBERT-base-uncased-abstract](https://huggingface.co/microsoft/BiomedNLP-BiomedBERT-base-uncased-abstract) on the None dataset.
|
| 21 |
It achieves the following results on the evaluation set:
|
| 22 |
-
- Loss: 0.
|
| 23 |
-
- Accuracy: 0.
|
| 24 |
|
| 25 |
## Model description
|
| 26 |
|
|
@@ -51,9 +50,9 @@ The following hyperparameters were used during training:
|
|
| 51 |
|
| 52 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 53 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 54 |
-
| No log | 1.0 | 405 | 0.
|
| 55 |
-
| 0.
|
| 56 |
-
| 0.
|
| 57 |
|
| 58 |
|
| 59 |
### Framework versions
|
|
|
|
| 3 |
license: mit
|
| 4 |
base_model: microsoft/BiomedNLP-BiomedBERT-base-uncased-abstract
|
| 5 |
tags:
|
|
|
|
| 6 |
- generated_from_trainer
|
| 7 |
metrics:
|
| 8 |
- accuracy
|
|
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [microsoft/BiomedNLP-BiomedBERT-base-uncased-abstract](https://huggingface.co/microsoft/BiomedNLP-BiomedBERT-base-uncased-abstract) on the None dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.9350
|
| 22 |
+
- Accuracy: 0.6472
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
|
|
| 50 |
|
| 51 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 52 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 53 |
+
| No log | 1.0 | 405 | 0.8226 | 0.6264 |
|
| 54 |
+
| 0.8555 | 2.0 | 810 | 0.7807 | 0.6625 |
|
| 55 |
+
| 0.5712 | 3.0 | 1215 | 0.9350 | 0.6472 |
|
| 56 |
|
| 57 |
|
| 58 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 437961724
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5231f527b3c592d10a7c00cb232d1e2781fedddcd1f9b99a249f1cf80e104cce
|
| 3 |
size 437961724
|
tokenizer.json
CHANGED
|
@@ -6,7 +6,16 @@
|
|
| 6 |
"strategy": "LongestFirst",
|
| 7 |
"stride": 0
|
| 8 |
},
|
| 9 |
-
"padding":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
"added_tokens": [
|
| 11 |
{
|
| 12 |
"id": 0,
|
|
|
|
| 6 |
"strategy": "LongestFirst",
|
| 7 |
"stride": 0
|
| 8 |
},
|
| 9 |
+
"padding": {
|
| 10 |
+
"strategy": {
|
| 11 |
+
"Fixed": 256
|
| 12 |
+
},
|
| 13 |
+
"direction": "Right",
|
| 14 |
+
"pad_to_multiple_of": null,
|
| 15 |
+
"pad_id": 0,
|
| 16 |
+
"pad_type_id": 0,
|
| 17 |
+
"pad_token": "[PAD]"
|
| 18 |
+
},
|
| 19 |
"added_tokens": [
|
| 20 |
{
|
| 21 |
"id": 0,
|