Downloads · 30 days
14
3% of all-time downloads
xiaoqin/ernie-1.0-base-zh
ernie-1.0-base-zh is a machine learning model from xiaoqin. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
14
3% of all-time downloads
All-time downloads
493
Public
Repo size
804 MB
Likes
1
Public
Click a slice to open those files.
.bin402 MB · 100%
From the Hugging Face model README
1.1亿参数的ernie-1.0模型
当前发布的pytorch版本ERNIE-base,是从huggingface下载并修复vocab和config对不上的问题。
This released pytorch model is downloading from huggingface, then fixed the vocab and config not matching issue.
from transformers import AutoModelForMaskedLM, AutoTokenizer
tokenizer=AutoTokenizer.from_pretrained("xiaoqin/ernie-1.0-base-zh")
model=AutoModelForMaskedLM.from_pretrained("xiaoqin/ernie-1.0-base-zh")