File size: 1,881 Bytes
4f93b6b b11b80c 4f93b6b b11b80c 4f93b6b 882bfd5 4f93b6b b11b80c 4f93b6b b11b80c 4f93b6b 882bfd5 4f93b6b 882bfd5 4f93b6b 882bfd5 4f93b6b 882bfd5 4f93b6b 882bfd5 4f93b6b b11b80c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
---
library_name: transformers
license: mit
base_model: microsoft/deberta-v3-base
tags:
- generated_from_trainer
metrics:
- accuracy
model-index:
- name: bert-paper-classifier-arxiv
results: []
datasets:
- arxiv-community/arxiv_dataset
---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# bert-paper-classifier-arxiv
This model is a fine-tuned version of [microsoft/deberta-v3-base](https://huggingface.co/microsoft/deberta-v3-base) on the [aXiv dataset](https://www.kaggle.com/datasets/Cornell-University/arxiv).
It achieves the following results on the evaluation set:
- Loss: 1.1651
- Accuracy: 0.6854
## Model description
Predict category of the paper based on its title and article.
## Training and evaluation data
[aXiv dataset](https://www.kaggle.com/datasets/Cornell-University/arxiv)
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 128
- eval_batch_size: 16
- seed: 42
- gradient_accumulation_steps: 3
- total_train_batch_size: 384
- optimizer: Use OptimizerNames.ADAFACTOR and the args are:
No additional optimizer arguments
- lr_scheduler_type: cosine
- num_epochs: 5
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:------:|:----:|:---------------:|:--------:|
| No log | 1.0 | 97 | 1.5356 | 0.6095 |
| 2.3002 | 2.0 | 194 | 1.3083 | 0.6656 |
| 1.5053 | 3.0 | 291 | 1.2135 | 0.6822 |
| 1.3177 | 4.0 | 388 | 1.1702 | 0.6846 |
| 1.1984 | 4.9550 | 480 | 1.1651 | 0.6854 |
### Framework versions
- Transformers 4.50.3
- Pytorch 2.6.0+cu124
- Datasets 3.5.0
- Tokenizers 0.21.1 |