英文

使用 AutoTrain 训练的模型

  • 问题类型:多类分类
  • 模型 ID:1283149075
  • CO2 排放量(以克计):7.7092

验证指标

  • 损失:0.551
  • 准确率:0.849
  • 宏平均 F1:0.632
  • 微平均 F1:0.849
  • 加权平均 F1:0.844
  • 宏平均精确率:0.632
  • 微平均精确率:0.849
  • 加权平均精确率:0.845
  • 宏平均召回率:0.654
  • 微平均召回率:0.849
  • 加权平均召回率:0.849

用法

您可以使用 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/aujer/autotrain-not_interested_8_19-1283149075

或者使用 Python API:

from transformers import AutoModelForSequenceClassification, AutoTokenizer

model = AutoModelForSequenceClassification.from_pretrained("aujer/autotrain-not_interested_8_19-1283149075", use_auth_token=True)

tokenizer = AutoTokenizer.from_pretrained("aujer/autotrain-not_interested_8_19-1283149075", use_auth_token=True)

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

outputs = model(**inputs)