英文

使用AutoTrain训练的模型

  • 问题类型:多类别分类
  • 模型ID:870727732
  • CO2排放量(以克为单位):120.82460124309924

验证指标

  • 损失:0.1098366305232048
  • 准确率:0.9697853317600073
  • 宏F1值:0.9482820974460786
  • 微F1值:0.9697853317600073
  • 加权F1值:0.9695237873890088
  • 宏精确度:0.9540948884759232
  • 微精确度:0.9697853317600073
  • 加权精确度:0.9694186941924757
  • 宏召回率:0.9428467518468838
  • 微召回率:0.9697853317600073
  • 加权召回率:0.9697853317600073

用法

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

$ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "Bu ürün gerçekten güzel çıktı"}' https://api-inference.huggingface.co/models/emre/turkish-sentiment-analysis

或者Python API:

from transformers import AutoModelForSequenceClassification, AutoTokenizer

model = AutoModelForSequenceClassification.from_pretrained("emre/turkish-sentiment-analysis", use_auth_token=True)

tokenizer = AutoTokenizer.from_pretrained("emre/turkish-sentiment-analysis", use_auth_token=True)

inputs = tokenizer("Bu ürün gerçekten güzel çıktı", return_tensors="pt")

outputs = model(**inputs)