Commit From AutoTrain
Browse files- .gitattributes +3 -0
- README.md +50 -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
@@ -32,3 +32,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
37 |
+
*.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 |
+
- unk
|
7 |
+
widget:
|
8 |
+
- text: "I love AutoTrain 🤗"
|
9 |
+
datasets:
|
10 |
+
- alexandreteles/autotrain-data-told_br_binary_sm_bertimbau
|
11 |
+
co2_eq_emissions:
|
12 |
+
emissions: 1.778776476039011
|
13 |
+
---
|
14 |
+
|
15 |
+
# Model Trained Using AutoTrain
|
16 |
+
|
17 |
+
- Problem type: Binary Classification
|
18 |
+
- Model ID: 2489776826
|
19 |
+
- CO2 Emissions (in grams): 1.7788
|
20 |
+
|
21 |
+
## Validation Metrics
|
22 |
+
|
23 |
+
- Loss: 0.412
|
24 |
+
- Accuracy: 0.815
|
25 |
+
- Precision: 0.793
|
26 |
+
- Recall: 0.794
|
27 |
+
- AUC: 0.895
|
28 |
+
- F1: 0.793
|
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/alexandreteles/autotrain-told_br_binary_sm_bertimbau-2489776826
|
36 |
+
```
|
37 |
+
|
38 |
+
Or Python API:
|
39 |
+
|
40 |
+
```
|
41 |
+
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
42 |
+
|
43 |
+
model = AutoModelForSequenceClassification.from_pretrained("alexandreteles/autotrain-told_br_binary_sm_bertimbau-2489776826", use_auth_token=True)
|
44 |
+
|
45 |
+
tokenizer = AutoTokenizer.from_pretrained("alexandreteles/autotrain-told_br_binary_sm_bertimbau-2489776826", 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:f3644859ba97992449ef821f8888a65593d354020854891ec2748b36992fd9ef
|
3 |
+
size 1057
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:751713e64da642b2987565235c2365ad187ffe73464be5610397be9b16bc4652
|
3 |
+
size 435769709
|
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:112d88e0707640edfa50d95d8b2271da3f13f6c7e8a441018891aa52b36d67b4
|
3 |
+
size 678053
|
tokenizer_config.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:273759c62c8a7a0efce520c2a6904c1e23e5778796263cb9dfe4301afbdff6c8
|
3 |
+
size 513
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|