How to use IDEA-CCNL/Randeng-T5-784M-MultiTask-Chinese with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("IDEA-CCNL/Randeng-T5-784M-MultiTask-Chinese") model = AutoModelForSeq2SeqLM.from_pretrained("IDEA-CCNL/Randeng-T5-784M-MultiTask-Chinese")
README里关于各个任务的示例代码块看起来不是很明白,能否整理出一份完整的示例代码程序,把全部支持的任务类型都列出来,及各类任务的example_dict和dataset2instruction分别都应该怎么写?谢谢!
example_dict
dataset2instruction
· Sign up or log in to comment