system HF staff commited on
Commit
47c56a6
1 Parent(s): a1e3564

Commit From AutoTrain

Browse files
.gitattributes CHANGED
@@ -30,3 +30,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
  *.zip filter=lfs diff=lfs merge=lfs -text
31
  *.zst filter=lfs diff=lfs merge=lfs -text
32
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
30
  *.zip filter=lfs diff=lfs merge=lfs -text
31
  *.zst filter=lfs diff=lfs merge=lfs -text
32
  *tfevents* filter=lfs diff=lfs merge=lfs -text
33
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
34
+ *.tar.gz filter=lfs diff=lfs merge=lfs -text
35
+ *.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
+ - en
7
+ widget:
8
+ - text: "I love AutoTrain 🤗"
9
+ datasets:
10
+ - bvint/autotrain-data-sphere-lecture-demo
11
+ co2_eq_emissions:
12
+ emissions: 0.004735324111068996
13
+ ---
14
+
15
+ # Model Trained Using AutoTrain
16
+
17
+ - Problem type: Multi-class Classification
18
+ - Model ID: 1671659193
19
+ - CO2 Emissions (in grams): 0.0047
20
+
21
+ ## Validation Metrics
22
+
23
+ - Loss: 0.803
24
+ - Accuracy: 0.658
25
+ - Macro F1: 0.478
26
+ - Micro F1: 0.658
27
+ - Weighted F1: 0.580
28
+ - Macro Precision: 0.424
29
+ - Micro Precision: 0.658
30
+ - Weighted Precision: 0.520
31
+ - Macro Recall: 0.549
32
+ - Micro Recall: 0.658
33
+ - Weighted Recall: 0.658
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/bvint/autotrain-sphere-lecture-demo-1671659193
42
+ ```
43
+
44
+ Or Python API:
45
+
46
+ ```
47
+ from transformers import AutoModelForSequenceClassification, AutoTokenizer
48
+
49
+ model = AutoModelForSequenceClassification.from_pretrained("bvint/autotrain-sphere-lecture-demo-1671659193", use_auth_token=True)
50
+
51
+ tokenizer = AutoTokenizer.from_pretrained("bvint/autotrain-sphere-lecture-demo-1671659193", use_auth_token=True)
52
+
53
+ inputs = tokenizer("I love AutoTrain", return_tensors="pt")
54
+
55
+ outputs = model(**inputs)
56
+ ```
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc046d04c9b0ada7ae6f1dc89c465801799acdf0c9a6aab8c15a1b2d5ca4e91f
3
+ size 23
config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5a1792342c40119e832606066a158016154961a7a6d3e47c59667a82879706b
3
+ size 1085
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57447204c71a24714a9f6eaaec3c9fbf624909f69caa76bdbaebf1fd411410c7
3
+ size 737770027
special_tokens_map.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:311de3f4eed9d76a43bf0d71f10e62e086ca65ccce9f15d5da0d2098bf519ecc
3
+ size 173
spm.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
3
+ size 2464616
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eddd4ada5ffddd4535d81a9cb77a98a7fa3b43d3166a10b994062eab9edcc2eb
3
+ size 8656814
tokenizer_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:619b240a0db7984d26d6e973a1b76fe3a11069f25be17e0539947b0158b71d16
3
+ size 383