OFA-Sys / OFA

Official repository of OFA (ICML 2022). Paper: OFA: Unifying Architectures, Tasks, and Modalities Through a Simple Sequence-to-Sequence Learning Framework
Apache License 2.0
2.41k stars 248 forks source link

Share the method to train and inference OFA-CN model with huggingface’s transformers #356

Open yangjianxin1 opened 1 year ago

yangjianxin1 commented 1 year ago

I have implemented a respository, and succeed to use transformers to train OFA-CN model and inference. I succeed to convert the official pretrained cn checkpoint to transformers version: https://github.com/yangjianxin1/OFA-Chinese

JustinLin610 commented 1 year ago

Thanks for your contribution very much (and sorry for my late response)! I'll check it as soon as possible.