YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

arXiv subject classification from full text

Status: script ready, training NOT yet run β€” no compute could be started with the current credentials (job and sandbox submissions returned 403). This repo holds the training script; the model will be pushed here by the run below once it executes.

Recipe

  • Task: 11-way classification of a paper's arXiv subject from its full text (ccdv/arxiv-classification, config default; 28.4K train / 2.5K val / 2.5K test). Dataset source: He et al., "Long Document Classification From Local Word Glimpses via Recurrent Attention Learning", IEEE Access 2019 (arXiv:1909.04844).
  • Model: allenai/longformer-base-4096, input length 4096 tokens (every doc in this dataset is >4k tokens, so short-sequence truncation would break the task).
  • Preprocessing: strips arXiv:NNNN.NNNNNvN [category] stamps from the text β€” they literally name the label and would leak it.
  • Training: 1 epoch, effective batch 16 (4 Γ— grad-accum 4), lr 2e-5, fp16, gradient checkpointing; in-training eval on a fixed 800-doc validation subsample, full validation + test accuracy at the end.
  • Hardware target: a10g-small (24 GB). Run train.py with env HF_TOKEN set; it pushes to this repo when done (push_to_hub=True).

Run it

HF_TOKEN=<your token> uv run --with torch --with transformers --with datasets --with accelerate --with trackio train.py

Metrics are logged to the Trackio dashboard: https://huggingface.co/spaces/GuillaumeSalouHF/arxiv-long-docs-classification-trackio

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Paper for ml-intern-internal/ml-eval-arxiv-long-docs-395a51-r0