Commit From AutoTrain
Browse files- .gitattributes +3 -0
- README.md +56 -0
- config.json +91 -0
- model.safetensors +3 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +3 -0
- tokenizer_config.json +13 -0
- vocab.txt +0 -0
.gitattributes
CHANGED
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
37 |
+
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
38 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- autotrain
|
4 |
+
- text-classification
|
5 |
+
language:
|
6 |
+
- unk
|
7 |
+
widget:
|
8 |
+
- text: "I love AutoTrain"
|
9 |
+
datasets:
|
10 |
+
- GRPUI/autotrain-data-ssugt-model
|
11 |
+
co2_eq_emissions:
|
12 |
+
emissions: 0.01609460864740505
|
13 |
+
---
|
14 |
+
|
15 |
+
# Model Trained Using AutoTrain
|
16 |
+
|
17 |
+
- Problem type: Multi-class Classification
|
18 |
+
- Model ID: 91334144491
|
19 |
+
- CO2 Emissions (in grams): 0.0161
|
20 |
+
|
21 |
+
## Validation Metrics
|
22 |
+
|
23 |
+
- Loss: 0.022
|
24 |
+
- Accuracy: 1.000
|
25 |
+
- Macro F1: 1.000
|
26 |
+
- Micro F1: 1.000
|
27 |
+
- Weighted F1: 1.000
|
28 |
+
- Macro Precision: 1.000
|
29 |
+
- Micro Precision: 1.000
|
30 |
+
- Weighted Precision: 1.000
|
31 |
+
- Macro Recall: 1.000
|
32 |
+
- Micro Recall: 1.000
|
33 |
+
- Weighted Recall: 1.000
|
34 |
+
|
35 |
+
|
36 |
+
## Usage
|
37 |
+
|
38 |
+
You can use cURL to access this model:
|
39 |
+
|
40 |
+
```
|
41 |
+
$ 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/GRPUI/autotrain-ssugt-model-91334144491
|
42 |
+
```
|
43 |
+
|
44 |
+
Or Python API:
|
45 |
+
|
46 |
+
```
|
47 |
+
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
48 |
+
|
49 |
+
model = AutoModelForSequenceClassification.from_pretrained("GRPUI/autotrain-ssugt-model-91334144491", use_auth_token=True)
|
50 |
+
|
51 |
+
tokenizer = AutoTokenizer.from_pretrained("GRPUI/autotrain-ssugt-model-91334144491", use_auth_token=True)
|
52 |
+
|
53 |
+
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
|
54 |
+
|
55 |
+
outputs = model(**inputs)
|
56 |
+
```
|
config.json
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "AutoTrain",
|
3 |
+
"_num_labels": 26,
|
4 |
+
"architectures": [
|
5 |
+
"BertForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.1,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"directionality": "bidi",
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "\u0410\u043a\u0430\u0434\u0435\u043c\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0441\u0442\u0438\u043f\u0435\u043d\u0434\u0438\u044f",
|
15 |
+
"1": "\u0410\u043a\u0430\u0434\u0435\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043e\u0442\u043f\u0443\u0441\u043a",
|
16 |
+
"2": "\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0440\u0435\u0441\u0434\u0430\u0447",
|
17 |
+
"3": "\u041c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u043c\u043e\u0449\u044c",
|
18 |
+
"4": "\u041c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u043c\u043e\u0449\u044c \u0434\u043b\u044f \u0438\u043d\u043e\u0441\u0442\u0440\u0430\u043d\u0446\u0435\u0432",
|
19 |
+
"5": "\u041d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043c\u0430\u0433\u0438\u0441\u0442\u0440\u0430\u0442\u0443\u0440\u044b",
|
20 |
+
"6": "\u041e\u0442\u0441\u0440\u043e\u0447\u043a\u0430 \u043c\u0430\u0433\u0438\u0441\u0442\u0440\u0430\u043d\u0442\u0430\u043c",
|
21 |
+
"7": "\u041e\u0442\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u043f\u043e \u0437\u0430\u0434\u043e\u043b\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u0438",
|
22 |
+
"8": "\u041f\u0435\u0440\u0435\u0432\u043e\u0434 \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435",
|
23 |
+
"9": "\u041f\u0435\u0440\u0435\u0445\u043e\u0434 \u043d\u0430 \u0431\u044e\u0434\u0436\u0435\u0442",
|
24 |
+
"10": "\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u043d\u043e\u0439 \u0441\u0442\u0438\u043f\u0435\u043d\u0434\u0438\u0438",
|
25 |
+
"11": "\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0438\u043f\u0435\u043d\u0434\u0438\u0438",
|
26 |
+
"12": "\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0441\u043f\u0440\u0430\u0432\u043a\u0438 \u043e\u0431 \u0443\u0447\u0451\u0431\u0435",
|
27 |
+
"13": "\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0431\u0438\u043b\u0435\u0442\u0430",
|
28 |
+
"14": "\u041f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0440\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u0441\u0435\u043b\u0435\u043d\u0438\u044f \u0432 \u043e\u0431\u0449\u0435\u0436\u0438\u0442\u0438\u0435",
|
29 |
+
"15": "\u041f\u043e\u0442\u0435\u0440\u044f \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430 \u0432 \u043e\u0431\u0449\u0435\u0436\u0438\u0442\u0438\u0435",
|
30 |
+
"16": "\u041f\u043e\u0442\u0435\u0440\u044f \u0441\u0442\u0443\u0434\u0435\u043d\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0431\u0438\u043b\u0435\u0442\u0430",
|
31 |
+
"17": "\u041f\u043e\u0442\u0435\u0440\u044f \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0431\u0438\u043b\u0435\u0442\u0430",
|
32 |
+
"18": "\u041f\u0440\u0430\u0432\u0438\u043b\u0430 \u043f\u0440\u043e\u0436\u0438\u0432\u0430\u043d\u0438\u044f \u0432 \u043e\u0431\u0449\u0435\u0436\u0438\u0442\u0438\u0438",
|
33 |
+
"19": "\u0421\u0442\u0438\u043f\u0435\u043d\u0434\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u043a\u0430\u0440\u0442\u0430",
|
34 |
+
"20": "\u0421\u0442\u0438\u043f\u0435\u043d\u0434\u0438\u044f \u0432 \u043b\u0435\u0442\u043d\u0438\u0439 \u043f\u0435\u0440\u0438\u043e\u0434",
|
35 |
+
"21": "\u0421\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0436\u0438\u0432\u0430\u043d\u0438\u044f \u0432 \u043e\u0431\u0449\u0435\u0436\u0438\u0442\u0438\u0438",
|
36 |
+
"22": "\u0422\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u043d\u0430\u044f \u043a\u0430\u0440\u0442\u0430",
|
37 |
+
"23": "\u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u043a \u043a\u0440\u0430\u0441\u043d\u043e\u043c\u0443 \u0434\u0438\u043f\u043b\u043e\u043c\u0443",
|
38 |
+
"24": "\u0423\u0441\u043b\u043e\u0432\u0438\u044f \u043e\u0442\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f",
|
39 |
+
"25": "\u0423\u0442\u0435\u0440\u044f \u0434\u0438\u043f\u043b\u043e\u043c\u0430"
|
40 |
+
},
|
41 |
+
"initializer_range": 0.02,
|
42 |
+
"intermediate_size": 3072,
|
43 |
+
"label2id": {
|
44 |
+
"\u0410\u043a\u0430\u0434\u0435\u043c\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0441\u0442\u0438\u043f\u0435\u043d\u0434\u0438\u044f": 0,
|
45 |
+
"\u0410\u043a\u0430\u0434\u0435\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043e\u0442\u043f\u0443\u0441\u043a": 1,
|
46 |
+
"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0440\u0435\u0441\u0434\u0430\u0447": 2,
|
47 |
+
"\u041c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u043c\u043e\u0449\u044c": 3,
|
48 |
+
"\u041c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u043c\u043e\u0449\u044c \u0434\u043b\u044f \u0438\u043d\u043e\u0441\u0442\u0440\u0430\u043d\u0446\u0435\u0432": 4,
|
49 |
+
"\u041d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043c\u0430\u0433\u0438\u0441\u0442\u0440\u0430\u0442\u0443\u0440\u044b": 5,
|
50 |
+
"\u041e\u0442\u0441\u0440\u043e\u0447\u043a\u0430 \u043c\u0430\u0433\u0438\u0441\u0442\u0440\u0430\u043d\u0442\u0430\u043c": 6,
|
51 |
+
"\u041e\u0442\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u043f\u043e \u0437\u0430\u0434\u043e\u043b\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u0438": 7,
|
52 |
+
"\u041f\u0435\u0440\u0435\u0432\u043e\u0434 \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435": 8,
|
53 |
+
"\u041f\u0435\u0440\u0435\u0445\u043e\u0434 \u043d\u0430 \u0431\u044e\u0434\u0436\u0435\u0442": 9,
|
54 |
+
"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u043d\u043e\u0439 \u0441\u0442\u0438\u043f\u0435\u043d\u0434\u0438\u0438": 10,
|
55 |
+
"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0438\u043f\u0435\u043d\u0434\u0438\u0438": 11,
|
56 |
+
"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0441\u043f\u0440\u0430\u0432\u043a\u0438 \u043e\u0431 \u0443\u0447\u0451\u0431\u0435": 12,
|
57 |
+
"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0431\u0438\u043b\u0435\u0442\u0430": 13,
|
58 |
+
"\u041f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0440\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u0441\u0435\u043b\u0435\u043d\u0438\u044f \u0432 \u043e\u0431\u0449\u0435\u0436\u0438\u0442\u0438\u0435": 14,
|
59 |
+
"\u041f\u043e\u0442\u0435\u0440\u044f \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430 \u0432 \u043e\u0431\u0449\u0435\u0436\u0438\u0442\u0438\u0435": 15,
|
60 |
+
"\u041f\u043e\u0442\u0435\u0440\u044f \u0441\u0442\u0443\u0434\u0435\u043d\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0431\u0438\u043b\u0435\u0442\u0430": 16,
|
61 |
+
"\u041f\u043e\u0442\u0435\u0440\u044f \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0431\u0438\u043b\u0435\u0442\u0430": 17,
|
62 |
+
"\u041f\u0440\u0430\u0432\u0438\u043b\u0430 \u043f\u0440\u043e\u0436\u0438\u0432\u0430\u043d\u0438\u044f \u0432 \u043e\u0431\u0449\u0435\u0436\u0438\u0442\u0438\u0438": 18,
|
63 |
+
"\u0421\u0442\u0438\u043f\u0435\u043d\u0434\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u043a\u0430\u0440\u0442\u0430": 19,
|
64 |
+
"\u0421\u0442\u0438\u043f\u0435\u043d\u0434\u0438\u044f \u0432 \u043b\u0435\u0442\u043d\u0438\u0439 \u043f\u0435\u0440\u0438\u043e\u0434": 20,
|
65 |
+
"\u0421\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0436\u0438\u0432\u0430\u043d\u0438\u044f \u0432 \u043e\u0431\u0449\u0435\u0436\u0438\u0442\u0438\u0438": 21,
|
66 |
+
"\u0422\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u043d\u0430\u044f \u043a\u0430\u0440\u0442\u0430": 22,
|
67 |
+
"\u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u043a \u043a\u0440\u0430\u0441\u043d\u043e\u043c\u0443 \u0434\u0438\u043f\u043b\u043e\u043c\u0443": 23,
|
68 |
+
"\u0423\u0441\u043b\u043e\u0432\u0438\u044f \u043e\u0442\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f": 24,
|
69 |
+
"\u0423\u0442\u0435\u0440\u044f \u0434\u0438\u043f\u043b\u043e\u043c\u0430": 25
|
70 |
+
},
|
71 |
+
"layer_norm_eps": 1e-12,
|
72 |
+
"max_length": 64,
|
73 |
+
"max_position_embeddings": 512,
|
74 |
+
"model_type": "bert",
|
75 |
+
"num_attention_heads": 12,
|
76 |
+
"num_hidden_layers": 12,
|
77 |
+
"pad_token_id": 0,
|
78 |
+
"padding": "max_length",
|
79 |
+
"pooler_fc_size": 768,
|
80 |
+
"pooler_num_attention_heads": 12,
|
81 |
+
"pooler_num_fc_layers": 3,
|
82 |
+
"pooler_size_per_head": 128,
|
83 |
+
"pooler_type": "first_token_transform",
|
84 |
+
"position_embedding_type": "absolute",
|
85 |
+
"problem_type": "single_label_classification",
|
86 |
+
"torch_dtype": "float32",
|
87 |
+
"transformers_version": "4.29.2",
|
88 |
+
"type_vocab_size": 2,
|
89 |
+
"use_cache": true,
|
90 |
+
"vocab_size": 105879
|
91 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c594c4de0fef553580675b5c4a52d03a211231901eb4cdb2d284828403d303ac
|
3 |
+
size 669533376
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:63f61d27fff9d6919e32a24cf990dfa07ce616737ea7f636ebc2e6ead0a3fd0f
|
3 |
+
size 669578421
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b048853498a8f0d259e0b5123f05de34f6a2bcbdd56004a4c9da8f37a7cea60a
|
3 |
+
size 2563633
|
tokenizer_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"clean_up_tokenization_spaces": true,
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"do_lower_case": true,
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"model_max_length": 512,
|
7 |
+
"pad_token": "[PAD]",
|
8 |
+
"sep_token": "[SEP]",
|
9 |
+
"strip_accents": null,
|
10 |
+
"tokenize_chinese_chars": true,
|
11 |
+
"tokenizer_class": "BertTokenizer",
|
12 |
+
"unk_token": "[UNK]"
|
13 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|