Update README.md
Browse files
README.md
CHANGED
|
@@ -5,31 +5,17 @@ tags:
|
|
| 5 |
metrics:
|
| 6 |
- accuracy
|
| 7 |
model-index:
|
| 8 |
-
- name: bert-paper-classifier
|
| 9 |
results: []
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
| 13 |
-
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
This model is a fine-tuned version of [microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract](https://huggingface.co/microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract) on the None dataset.
|
| 18 |
-
It achieves the following results on the evaluation set:
|
| 19 |
-
- Loss: 1.8488
|
| 20 |
-
- Accuracy: 0.6562
|
| 21 |
-
|
| 22 |
-
## Model description
|
| 23 |
-
|
| 24 |
-
More information needed
|
| 25 |
|
| 26 |
## Intended uses & limitations
|
| 27 |
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
## Training and evaluation data
|
| 31 |
-
|
| 32 |
-
More information needed
|
| 33 |
|
| 34 |
## Training procedure
|
| 35 |
|
|
@@ -37,27 +23,12 @@ More information needed
|
|
| 37 |
|
| 38 |
The following hyperparameters were used during training:
|
| 39 |
- learning_rate: 5e-05
|
| 40 |
-
- train_batch_size:
|
| 41 |
-
- eval_batch_size:
|
| 42 |
- seed: 42
|
| 43 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 44 |
- lr_scheduler_type: linear
|
| 45 |
-
- num_epochs:
|
| 46 |
-
|
| 47 |
-
### Training results
|
| 48 |
-
|
| 49 |
-
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 50 |
-
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 51 |
-
| 1.2783 | 1.0 | 579 | 1.2078 | 0.6502 |
|
| 52 |
-
| 0.946 | 2.0 | 1158 | 1.1323 | 0.669 |
|
| 53 |
-
| 0.9028 | 3.0 | 1737 | 1.1039 | 0.675 |
|
| 54 |
-
| 0.6021 | 4.0 | 2316 | 1.1990 | 0.6765 |
|
| 55 |
-
| 0.4469 | 5.0 | 2895 | 1.3144 | 0.6697 |
|
| 56 |
-
| 0.3425 | 6.0 | 3474 | 1.4456 | 0.6647 |
|
| 57 |
-
| 0.2306 | 7.0 | 4053 | 1.5915 | 0.6583 |
|
| 58 |
-
| 0.1458 | 8.0 | 4632 | 1.7172 | 0.6555 |
|
| 59 |
-
| 0.1209 | 9.0 | 5211 | 1.8114 | 0.6525 |
|
| 60 |
-
| 0.0792 | 10.0 | 5790 | 1.8488 | 0.6562 |
|
| 61 |
|
| 62 |
|
| 63 |
### Framework versions
|
|
@@ -65,4 +36,4 @@ The following hyperparameters were used during training:
|
|
| 65 |
- Transformers 4.28.1
|
| 66 |
- Pytorch 2.0.0+cu117
|
| 67 |
- Datasets 2.11.0
|
| 68 |
-
- Tokenizers 0.13.3
|
|
|
|
| 5 |
metrics:
|
| 6 |
- accuracy
|
| 7 |
model-index:
|
| 8 |
+
- name: bert-paper-classifier
|
| 9 |
results: []
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# bert-paper-classifier
|
|
|
|
| 13 |
|
| 14 |
+
This model is a fine-tuned version of [microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract](https://huggingface.co/microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract) on [the dataset](https://www.kaggle.com/datasets/neelshah18/arxivdataset) with titles and abstracts of papers from arXiv.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
## Intended uses & limitations
|
| 17 |
|
| 18 |
+
This model is intended to predict the [arXiv taxonomy terms](https://arxiv.org/category_taxonomy) given the paper title (and optionally its abstract) — this is relevant for papers in mathematics, computer science, physics, etc. For example, it is likely to predict `cs.CL` (computation and language) as the mostl likely category for [the original transformers paper](https://arxiv.org/abs/1706.03762).
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
## Training procedure
|
| 21 |
|
|
|
|
| 23 |
|
| 24 |
The following hyperparameters were used during training:
|
| 25 |
- learning_rate: 5e-05
|
| 26 |
+
- train_batch_size: 128
|
| 27 |
+
- eval_batch_size: 32
|
| 28 |
- seed: 42
|
| 29 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 30 |
- lr_scheduler_type: linear
|
| 31 |
+
- num_epochs: 3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
|
| 34 |
### Framework versions
|
|
|
|
| 36 |
- Transformers 4.28.1
|
| 37 |
- Pytorch 2.0.0+cu117
|
| 38 |
- Datasets 2.11.0
|
| 39 |
+
- Tokenizers 0.13.3
|