Views
No views yet
mtapiapacheco/len2_5120
(merge-len2 tokenizer, vocab 5120).<SUITE>/<task>/:GBM/demo_coding_vs_intergenomic_seqs/
GUE/EMP/H3K4me1/
NT/H3K27ac/
multi-ATAC/human_mouse_superclass_allchr/
multi-SCREEN/allchr_csv/model.safetensors, config.json, tokenizer.json,
tokenizer_config.json, special_tokens_map.json, trainer_state.json and
training_args.bin. Optimizer and scheduler state are stripped.training_args.bin holds the complete TrainingArguments for that run, so every
hyperparameter is recoverable from the checkpoint itself:1import torch, sys
2class TrainingArguments: pass # the pickle references train.py's subclass
3sys.modules["__main__"].TrainingArguments = TrainingArguments
4args = torch.load("training_args.bin", map_location="cpu", weights_only=False).__dict__1from transformers import AutoModelForSequenceClassification, PreTrainedTokenizerFast
2
3REPO = "EvoLenTokenizer/evolen-200k-sft-checkpoints"
4model = AutoModelForSequenceClassification.from_pretrained(
5 REPO, subfolder="GUE/EMP/H3K4me1", trust_remote_code=True)--fp16; evaluating in fp32 shifts MCC by ~3e-4.model_max_length per task — ranges from 20 to 512 and is not derivable from
the task name. Read it from training_args.bin.sorted(set(...)) over the
split file. For multi-SCREEN/allchr_csv that is
['CA','CA-CTCF','CA-H3K4me3','CA-TF','PLS','TF','dELS','pELS'] → 0..7.padding="longest", truncation=True, max_length=model_max_length;
attention mask is input_ids.ne(pad_token_id). Metric is
sklearn.metrics.matthews_corrcoef over argmax predictions.num_train_epochs with per-epoch validation on dev.csv.
load_best_model_at_end=True with metric_for_best_model=eval_f1 reloaded the
checkpoint with the best validation F1; that checkpoint was then evaluated once on
test.csv, and its MCC is the reported number.num_train_epochs — 40 of 56 runs
stopped early, in one case at epoch 1 of 10. The real value is the epoch field in
trainer_state.json, not the training budget.