Commit From AutoTrain
Browse files- .gitattributes +3 -0
- README.md +49 -0
- config.json +3 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +3 -0
- vocab.txt +0 -0
.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,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-171022-update_label2
|
11 |
+
co2_eq_emissions:
|
12 |
+
emissions: 19.661735872263936
|
13 |
+
---
|
14 |
+
|
15 |
+
# Model Trained Using AutoTrain
|
16 |
+
|
17 |
+
- Problem type: Entity Extraction
|
18 |
+
- Model ID: 1788462049
|
19 |
+
- CO2 Emissions (in grams): 19.6617
|
20 |
+
|
21 |
+
## Validation Metrics
|
22 |
+
|
23 |
+
- Loss: 0.031
|
24 |
+
- Accuracy: 0.991
|
25 |
+
- Precision: 0.755
|
26 |
+
- Recall: 0.812
|
27 |
+
- F1: 0.783
|
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-171022-update_label2-1788462049
|
35 |
+
```
|
36 |
+
|
37 |
+
Or Python API:
|
38 |
+
|
39 |
+
```
|
40 |
+
from transformers import AutoModelForTokenClassification, AutoTokenizer
|
41 |
+
|
42 |
+
model = AutoModelForTokenClassification.from_pretrained("teacookies/autotrain-171022-update_label2-1788462049", use_auth_token=True)
|
43 |
+
|
44 |
+
tokenizer = AutoTokenizer.from_pretrained("teacookies/autotrain-171022-update_label2-1788462049", 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:d3dcc275f618676dc2dd94fd3c390fe764801d98fd11a11d23c836efbacfcf49
|
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
|
|