Views
No views yet
google-t5/t5-base trained on the WinoGrande dataset.1import torch
2from transformers import AutoModelForSequenceClassification, AutoTokenizer
3
4model_id = "yophis/DRM-T5-Base-winogrande"
5
6# Load the tokenizer
7tokenizer = AutoTokenizer.from_pretrained(model_id)
8tokenizer.pad_token = tokenizer.eos_token
9
10# Load the model
11model = AutoModelForSequenceClassification.from_pretrained(model_id, device_map="auto")
12model.config.pad_token_id = model.config.eos_token_id
13
14# Input template
15input_text = "Choices: (A) {choice1} (B) {choice2} Text: {sentence}"1@article{chaichana2025decom,
2 title={Decom-Renorm-Merge: Model Merging on the Right Space Improves Multitasking},
3 author={Chaichana, Yuatyong and Trachu, Thanapat and Limkonchotiwat, Peerat and Preechakul, Konpat and Khandhawit, Tirasan and Chuangsuwanich, Ekapol},
4 journal={arXiv preprint arXiv:2505.23117},
5 year={2025}
6}