Commit From AutoTrain
Browse files- .gitattributes +3 -0
- README.md +49 -0
- config.json +3 -0
- pytorch_model.bin +3 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +3 -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 |
+
- imranraad/autotrain-data-magpie-metaphor-xlmr
|
11 |
+
co2_eq_emissions:
|
12 |
+
emissions: 9.232131148683266
|
13 |
+
---
|
14 |
+
|
15 |
+
# Model Trained Using AutoTrain
|
16 |
+
|
17 |
+
- Problem type: Entity Extraction
|
18 |
+
- Model ID: 1590556166
|
19 |
+
- CO2 Emissions (in grams): 9.2321
|
20 |
+
|
21 |
+
## Validation Metrics
|
22 |
+
|
23 |
+
- Loss: 0.137
|
24 |
+
- Accuracy: 0.985
|
25 |
+
- Precision: 0.000
|
26 |
+
- Recall: 0.000
|
27 |
+
- F1: 0.000
|
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/imranraad/autotrain-magpie-metaphor-xlmr-1590556166
|
35 |
+
```
|
36 |
+
|
37 |
+
Or Python API:
|
38 |
+
|
39 |
+
```
|
40 |
+
from transformers import AutoModelForTokenClassification, AutoTokenizer
|
41 |
+
|
42 |
+
model = AutoModelForTokenClassification.from_pretrained("imranraad/autotrain-magpie-metaphor-xlmr-1590556166", use_auth_token=True)
|
43 |
+
|
44 |
+
tokenizer = AutoTokenizer.from_pretrained("imranraad/autotrain-magpie-metaphor-xlmr-1590556166", 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:0bdd55c1343d88e34b2f50a83dbf15537656ba763a2689983c8943dd5b12988d
|
3 |
+
size 871
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d9cd4de7b88dde823188bd09cffa2b4af1782fb7992dfb35471668a205a2a6a
|
3 |
+
size 1109889457
|
sentencepiece.bpe.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
|
3 |
+
size 5069051
|
special_tokens_map.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:06e405a36dfe4b9604f484f6a1e619af1a7f7d09e34a8555eb0b77b66318067f
|
3 |
+
size 280
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b93bf61272f75c0a0b96b85fa262d2242e8a46008d76095386e98675f0bdd119
|
3 |
+
size 17082925
|
tokenizer_config.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb891f26724f8deb8bc6a0b97bc9dfe38f87c2f86a75130bed448b19f2a7ef1a
|
3 |
+
size 444
|