martian786/agnews-salient-random-k16-seed-1
010
martian786/agnews-salient-random-k16-seed-1
This repository contains one trained run from the AG News salience experiment.
Run details
- Run name:
random_k16 - Variant:
random - Base model:
roberta-base - Seed:
1 - Token budget for compressed variants:
16 - Maximum RoBERTa sequence length:
128 - Training examples:
28500 - Validation examples:
6000 - Test examples:
7600
Labels
0: World1: Sports2: Business3: Sci/Tech
Results
Uploaded files
This repository includes:
- model weights, config, and tokenizer at the repository root
test_data.csv— transformed test data used for this runval_data.csv— transformed validation data used for this runtrain_data_sample.csv— sample of transformed training datafull_test_predictions.csv— full test predictionsmetrics.json— run metricsclassification_report.json— per-class classification reportconfusion_matrix.csv— confusion matrixtrainer_log_history.csv— Trainer log history, if available- PNG plots for learning curves and final test metrics
Intended use
This model is intended for experiment tracking and reproducibility of AG News classification runs.
It is not intended as a production classifier without further validation.
Reproducibility
The original experiment used:
MODEL_NAME = "roberta-base"
SEED = 1
TOKEN_BUDGET = 16
MAX_SEQ_LEN = 128
TRAIN_SAMPLES = 28500
EPOCHS = 3
BATCH_SIZE = 16
LR = 2e-05
WEIGHT_DECAY = 0.01Reloading
from transformers import AutoTokenizer, AutoModelForSequenceClassification
repo_id = "martian786/agnews-salient-random-k16-seed-1"
tokenizer = AutoTokenizer.from_pretrained(repo_id)
model = AutoModelForSequenceClassification.from_pretrained(repo_id)