英文

使用 AutoTrain 训练的模型

  • 问题类型:实体提取
  • 模型ID:55272128958
  • CO2排放量(以克为单位):0.0038

验证指标

  • 损失:0.192
  • 准确率:0.959
  • 精确度:0.651
  • 召回率:0.686
  • F1值:0.668

用法

您可以使用cURL访问此模型:

$ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoTrain"}' https://api-inference.huggingface.co/models/sxandie/autotrain-re_syn_cleanedtext_bert-55272128958

或者Python API:

from transformers import AutoModelForTokenClassification, AutoTokenizer

model = AutoModelForTokenClassification.from_pretrained("sxandie/autotrain-re_syn_cleanedtext_bert-55272128958", use_auth_token=True)

tokenizer = AutoTokenizer.from_pretrained("sxandie/autotrain-re_syn_cleanedtext_bert-55272128958", use_auth_token=True)

inputs = tokenizer("I love AutoTrain", return_tensors="pt")

outputs = model(**inputs)