system HF staff commited on
Commit
1490aa4
1 Parent(s): 881a3aa

Commit From AutoTrain

Browse files
.gitattributes CHANGED
@@ -31,3 +31,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
31
  *.zip filter=lfs diff=lfs merge=lfs -text
32
  *.zst filter=lfs diff=lfs merge=lfs -text
33
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
31
  *.zip filter=lfs diff=lfs merge=lfs -text
32
  *.zst filter=lfs diff=lfs merge=lfs -text
33
  *tfevents* filter=lfs diff=lfs merge=lfs -text
34
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
35
+ *.tar.gz filter=lfs diff=lfs merge=lfs -text
36
+ *.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - autotrain
4
+ - token-classification
5
+ language:
6
+ - unk
7
+ widget:
8
+ - text: "I love AutoTrain 🤗"
9
+ datasets:
10
+ - teacookies/autotrain-data-28102022-cert2
11
+ co2_eq_emissions:
12
+ emissions: 17.982023070008026
13
+ ---
14
+
15
+ # Model Trained Using AutoTrain
16
+
17
+ - Problem type: Entity Extraction
18
+ - Model ID: 1916264970
19
+ - CO2 Emissions (in grams): 17.9820
20
+
21
+ ## Validation Metrics
22
+
23
+ - Loss: 0.002
24
+ - Accuracy: 1.000
25
+ - Precision: 0.980
26
+ - Recall: 0.986
27
+ - F1: 0.983
28
+
29
+ ## Usage
30
+
31
+ You can use cURL to access this model:
32
+
33
+ ```
34
+ $ 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/teacookies/autotrain-28102022-cert2-1916264970
35
+ ```
36
+
37
+ Or Python API:
38
+
39
+ ```
40
+ from transformers import AutoModelForTokenClassification, AutoTokenizer
41
+
42
+ model = AutoModelForTokenClassification.from_pretrained("teacookies/autotrain-28102022-cert2-1916264970", use_auth_token=True)
43
+
44
+ tokenizer = AutoTokenizer.from_pretrained("teacookies/autotrain-28102022-cert2-1916264970", use_auth_token=True)
45
+
46
+ inputs = tokenizer("I love AutoTrain", return_tensors="pt")
47
+
48
+ outputs = model(**inputs)
49
+ ```
config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e87a9ba1206be7e5e921baf318b1bab0ed3c29b53c36b9ea6364d1c77a81dc75
3
+ size 1949
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e817da7c5773f3dabc2767f6d4d2577d2516ec4ccdd8a317463f4c0019a0d1df
3
+ size 667179825
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:a530333648f6b969fe92eacd2b0a338cfe48fd0fb5f194b1c3ad5c85f87a95e2
3
+ size 2563635
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