OFATokenizerZH' object has no attribute 'vocab'
一楼说的是对的但是对于我们小白来说,需要配置transformers环境和OFA环境
git clone --single-branch --branch feature/add_transformers https://github.com/OFA-Sys/OFA.git
pip install OFA/transformers/
git clone https://huggingface.co/OFA-Sys/OFA-tiny
详情请看[https://huggingface.co/OFA-Sys/ofa-tiny]
赞0
踩0