arxiv-community/arxiv_dataset
Updated • 1.01k • 135
How to use voroninip/bert-paper-classifier-arxiv with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="voroninip/bert-paper-classifier-arxiv") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("voroninip/bert-paper-classifier-arxiv")
model = AutoModelForSequenceClassification.from_pretrained("voroninip/bert-paper-classifier-arxiv")This model is a fine-tuned version of microsoft/deberta-v3-base on the aXiv dataset. It achieves the following results on the evaluation set:
Predict category of the paper based on its title and article.
The following hyperparameters were used during training:
| 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 |
Base model
microsoft/deberta-v3-base