system HF staff commited on
Commit
8e1b4da
1 Parent(s): 33d8931

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,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - autotrain
4
+ - text-classification
5
+ language:
6
+ - en
7
+ widget:
8
+ - text: "I love AutoTrain 🤗"
9
+ datasets:
10
+ - suresh-subramanian/autotrain-data-fake-news
11
+ co2_eq_emissions:
12
+ emissions: 4.695596043893512
13
+ ---
14
+
15
+ # Model Trained Using AutoTrain
16
+
17
+ - Problem type: Binary Classification
18
+ - Model ID: 1649058541
19
+ - CO2 Emissions (in grams): 4.6956
20
+
21
+ ## Validation Metrics
22
+
23
+ - Loss: 0.459
24
+ - Accuracy: 0.779
25
+ - Precision: 0.790
26
+ - Recall: 0.546
27
+ - AUC: 0.881
28
+ - F1: 0.646
29
+
30
+ ## Usage
31
+
32
+ You can use cURL to access this model:
33
+
34
+ ```
35
+ $ 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/suresh-subramanian/autotrain-fake-news-1649058541
36
+ ```
37
+
38
+ Or Python API:
39
+
40
+ ```
41
+ from transformers import AutoModelForSequenceClassification, AutoTokenizer
42
+
43
+ model = AutoModelForSequenceClassification.from_pretrained("suresh-subramanian/autotrain-fake-news-1649058541", use_auth_token=True)
44
+
45
+ tokenizer = AutoTokenizer.from_pretrained("suresh-subramanian/autotrain-fake-news-1649058541", use_auth_token=True)
46
+
47
+ inputs = tokenizer("I love AutoTrain", return_tensors="pt")
48
+
49
+ outputs = model(**inputs)
50
+ ```
config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ce86df8b8549cd2580951fe03f6ec11bf17e2831cf01cff33cad683220d5d02
3
+ size 891
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb0b5bc349d91e515bd18e45dbbe3b450abb37a0b8fb7b70d164081bb55f6efb
3
+ size 433318253
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:ca505be6b19b59c080886f9c41db8971878f4876cb59cdf87aa30b34fee28d67
3
+ size 669188
tokenizer_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:752fd07eb31b39ef616464da21544eeaf8f2bedceb63a0abe1ec6959a681e8b4
3
+ size 341
vocab.txt ADDED
The diff for this file is too large to render. See raw diff