模型:

bullmount/hseBert-it-cased

英文

hseBERT

hseBert-it-cased是通过在意大利法规文本(Testo unico sulla sicurezza sul lavoro - D.lgs. 9 aprile 2008, n. 81, Codice dell'Ambiente - D.lgs. 3 aprile 2006, n. 152)中进行MLM自适应调整而获得的BERT模型,大约包含7k个句子。

用法

from transformers import AutoModel, AutoTokenizer
model_name = "bullmount/hseBert-it-cased"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)