system HF staff commited on
Commit
53b2c66
1 Parent(s): aa39ef2

Commit From AutoTrain

Browse files
.gitattributes CHANGED
@@ -32,3 +32,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
35
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
36
+ *.tar.gz filter=lfs diff=lfs merge=lfs -text
37
+ *.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - autotrain
4
+ - text-classification
5
+ language:
6
+ - unk
7
+ widget:
8
+ - text: "I love AutoTrain 🤗"
9
+ datasets:
10
+ - alanila/autotrain-data-acc
11
+ co2_eq_emissions:
12
+ emissions: 1.6543357301983936
13
+ ---
14
+
15
+ # Model Trained Using AutoTrain
16
+
17
+ - Problem type: Multi-class Classification
18
+ - Model ID: 2337673709
19
+ - CO2 Emissions (in grams): 1.6543
20
+
21
+ ## Validation Metrics
22
+
23
+ - Loss: 1.331
24
+ - Accuracy: 0.492
25
+ - Macro F1: 0.457
26
+ - Micro F1: 0.492
27
+ - Weighted F1: 0.423
28
+ - Macro Precision: 0.464
29
+ - Micro Precision: 0.492
30
+ - Weighted Precision: 0.420
31
+ - Macro Recall: 0.484
32
+ - Micro Recall: 0.492
33
+ - Weighted Recall: 0.492
34
+
35
+
36
+ ## Usage
37
+
38
+ You can use cURL to access this model:
39
+
40
+ ```
41
+ $ 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/alanila/autotrain-acc-2337673709
42
+ ```
43
+
44
+ Or Python API:
45
+
46
+ ```
47
+ from transformers import AutoModelForSequenceClassification, AutoTokenizer
48
+
49
+ model = AutoModelForSequenceClassification.from_pretrained("alanila/autotrain-acc-2337673709", use_auth_token=True)
50
+
51
+ tokenizer = AutoTokenizer.from_pretrained("alanila/autotrain-acc-2337673709", use_auth_token=True)
52
+
53
+ inputs = tokenizer("I love AutoTrain", return_tensors="pt")
54
+
55
+ outputs = model(**inputs)
56
+ ```
config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bb3aca0204139743a2e3173719f1145a9269d99f66fa3efcc406b7be67572f6
3
+ size 1181
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d059b1196862b2ae6684f43accc4e601774aa424b052a0c56975223075ba815a
3
+ size 438033773
special_tokens_map.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6d346be366a7d1d48332dbc9fdf3bf8960b5d879522b7799ddba59e76237ee3
3
+ size 125
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41b9d12a4c559e4098f30173bc0f76d092c43d7b1f873e7027da45a256f30f87
3
+ size 711659
tokenizer_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a3d22e072657bd4ffffaccab84bac4f632e2c20e146a808188fe9bd29a31801
3
+ size 340
vocab.txt ADDED
The diff for this file is too large to render. See raw diff