Scientific-Text Classification

XLM-RoBERTa assigns Russian scientific titles/abstracts to 28 GRNTI subjects.

Classify your own abstract · Browse source subjects · Code & evaluation

Evaluation

Current artifact and evaluation

Native checkpoint replay on 2,772 pinned source test abstracts

Metric Value
Top-1 accuracy 72.37%
Top-5 accuracy 96.75%
Macro F1 72.30%

Current pinned source test split. Original training dataset revision and membership were not recorded; held-out independence is not re-established by this replay.

Evaluation record · Pinned model

The replay stores logits, source IDs and targets. Original training membership is unrecorded. Historical ruBERT baseline values (72.9% top-1 / 95.9% top-5 / 72.8% macro F1) were not replayed here. Protocol and source checksums.

Use the native checkpoint

from transformers import pipeline

classifier = pipeline(
    "text-classification", model="kiselyovd/grnti-text-classifier",
    revision="24fbe75c27112612a464935c95465def6af788ef",
    trust_remote_code=False, top_k=5,
)
print(classifier("Исследование квантовой электродинамики в кристаллах.",
                 truncation=True, max_length=256))

The training/inference recipe is 256 tokens, although the tokenizer capacity is 512. Scores are uncalibrated softmax values. Exact five- and six-digit checkpoint code strings are preserved; 680000 and 683500 share the same stored name and remain separate classes.

Numerical evidence

Per-class F1 from saved replay

Row-normalised confusion matrix from saved replay

Scope and component terms

The model targets Russian scientific subject assignment. Domain shift, overlapping subjects and text truncation limit its use. Visitor examples are illustrations rather than benchmark labels.

Code and the author-declared weights are MIT. The source corpus and XLM-RoBERTa-base separately declare MIT; dependencies retain their terms. Component details and citation.

Downloads last month
41
Safetensors
Model size
0.3B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for kiselyovd/grnti-text-classifier

Finetuned
(4,332)
this model

Dataset used to train kiselyovd/grnti-text-classifier

Space using kiselyovd/grnti-text-classifier 1

Collection including kiselyovd/grnti-text-classifier

Evaluation results

  • Top-1 accuracy on ru-scibench-grnti-classification pinned source test
    self-reported
    0.724
  • Top-5 accuracy on ru-scibench-grnti-classification pinned source test
    self-reported
    0.968
  • Macro F1 on ru-scibench-grnti-classification pinned source test
    self-reported
    0.723