File size: 1,005 Bytes
42757ac
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
753e354
42757ac
 
 
 
9e92630
42757ac
9e92630
42757ac
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
tags:
- autotrain
- text-classification
language:
- en
widget:
- text: "I love AutoTrain 🤗"
datasets:
- tradero/autotrain-data-user-intent
co2_eq_emissions:
  emissions: 0.46902644633558377
---

# Model Trained Using AutoTrain

- Problem type: Multi-class Classification
- Model ID: 49241119078
- CO2 Emissions (in grams): 0.4690

## Validation Metrics

- Loss: 1.676
- Accuracy: 0.800
- Macro F1: 0.733
- Micro F1: 0.800
- Weighted F1: 0.733
- Macro Precision: 0.700
- Micro Precision: 0.800
- Weighted Precision: 0.700
- Macro Recall: 0.800
- Micro Recall: 0.800
- Weighted Recall: 0.800


## Usage

Python API:

```
from transformers import AutoModelForSequenceClassification, AutoTokenizer

model = AutoModelForSequenceClassification.from_pretrained("tradero/distilbert-user-intent", use_auth_token=True)

tokenizer = AutoTokenizer.from_pretrained("tradero/distilbert-user-intent", use_auth_token=True)

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

outputs = model(**inputs)
```