HIT-SCIR / plm-nlp-code

Apache License 2.0
620 stars 195 forks source link

关于第七章的from datasets import load_dataset, load_metric问题 #19

Open Really-Nice opened 1 year ago

Really-Nice commented 1 year ago

第七章中四个bert代码都有from datasets import load_dataset, load_metric这句导包,想请问老师,是编者自己写的datasets,还是直接自己pip install datasets?

ymcui commented 1 year ago

datasets是huggingface datasets,不是自定义库。

pip install datasets