Instructions to use dsiukaev/arxiv-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dsiukaev/arxiv-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dsiukaev/arxiv-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dsiukaev/arxiv-classifier") model = AutoModelForSequenceClassification.from_pretrained("dsiukaev/arxiv-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| ["astro-ph", "cond-mat", "cs", "econ", "eess", "gr-qc", "hep-ex", "hep-lat", "hep-ph", "hep-th", "math", "math-ph", "nlin", "nucl-ex", "nucl-th", "physics", "q-bio", "q-fin", "quant-ph", "stat"] |