File size: 3,027 Bytes
21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 fb1c3d2 21f67a0 | 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 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | # 📗 SPECTER2 – Social Sciences Classifier (Binary Classification)
This model is a fine-tuned version of **allenai/specter2_base** for identifying whether a scientific publication belongs to the **Social Sciences** domain.
It achieves the following results on the evaluation set:
- Loss: 0.1382
- Accuracy: 0.9670
- F1 Micro: 0.9670
- F1 Macro: 0.9480
- F1 Weighted: 0.9670
## Model description
This model performs **binary document classification** and predicts whether a publication belongs to the **Social Sciences** domain.
The model was trained using title and abstract text from multiple openly available datasets with native disciplinary annotations, including:
- [MAG / SciDocs](https://github.com/allenai/scidocs)
- [Elsevier Open Access (ASJC subject areas)](https://researchcollaborations.elsevier.com/en/datasets/elsevier-oa-cc-by-corpus/)
- [ERC panel datasets (publications and funded projects)](https://huggingface.co/datasets/SIRIS-Lab/erc-classification-dataset)
Each dataset was converted into a common binary label indicating whether a document belongs to the Social Sciences according to mappings from the original classification systems. :contentReference[oaicite:0]{index=0}
**Key characteristics**
- Base model: `allenai/specter2_base`
- Task: binary document classification
- Labels:
- `False` → Non-Social Sciences
- `True` → Social Sciences
- Activation: softmax
- Loss: CrossEntropyLoss
## Intended uses
This model is suitable for:
- Identifying Social Sciences publications
- Research information systems
- Funding portfolio analysis
- Metadata enrichment
- Bibliometric analyses
The model accepts:
- title
- abstract
- title + abstract (recommended)
## Training data
Training data combines approximately **20,000** documents sampled from multiple sources:
- MAG/SciDocs
- ERC panel datasets (publications and projects)
- Elsevier Open Access publications
Each source provides its own disciplinary taxonomy. Categories corresponding to **Social Sciences** were mapped into a common binary classification problem. :contentReference[oaicite:1]{index=1}
## Training procedure
### Preprocessing
- Input text: `title + abstract`
- Maximum sequence length: **512 tokens**
- Tokenization using the SPECTER2 tokenizer
### Training hyperparameters
- learning_rate: 2e-5
- train_batch_size: 32
- eval_batch_size: 32
- num_epochs: 4
- max_length: 512
- optimizer: AdamW
- metric for best model: F1 Macro
## Evaluation results
| Metric | Value |
|--------|------:|
| Accuracy | 0.9670 |
| F1 Micro | 0.9670 |
| F1 Macro | 0.9480 |
| F1 Weighted | 0.9670 |
## Limitations
- The model predicts whether a publication belongs to the **Social Sciences** domain only.
- It does not distinguish between individual Social Sciences disciplines.
- Labels are derived from mappings between different disciplinary taxonomies and should be interpreted as high-level domain assignments.
## Framework versions
- Transformers 4.57.1
- PyTorch 2.8.0
- Datasets 3.6.0
- Tokenizers 0.22.1 |