Initial commit: upload all files in current directory
Browse files- config.json +12 -27
- model.safetensors +2 -2
- tokenizer_config.json +1 -0
- upload.ipynb +0 -0
config.json
CHANGED
@@ -1,34 +1,19 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"RobertaForSequenceClassification"
|
4 |
],
|
5 |
-
"
|
6 |
-
"bos_token_id": 0,
|
7 |
-
"classifier_dropout": null,
|
8 |
-
"eos_token_id": 2,
|
9 |
-
"hidden_act": "gelu",
|
10 |
-
"hidden_dropout_prob": 0.1,
|
11 |
-
"hidden_size": 768,
|
12 |
"id2label": {
|
13 |
-
"0": "
|
|
|
|
|
|
|
14 |
},
|
15 |
-
"initializer_range": 0.02,
|
16 |
-
"intermediate_size": 3072,
|
17 |
"label2id": {
|
18 |
-
"
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
"num_hidden_layers": 12,
|
25 |
-
"output_past": true,
|
26 |
-
"pad_token_id": 1,
|
27 |
-
"position_embedding_type": "absolute",
|
28 |
-
"problem_type": "single_label_classification",
|
29 |
-
"torch_dtype": "float32",
|
30 |
-
"transformers_version": "4.54.1",
|
31 |
-
"type_vocab_size": 1,
|
32 |
-
"use_cache": true,
|
33 |
-
"vocab_size": 50265
|
34 |
-
}
|
|
|
1 |
{
|
2 |
+
"model_type": "roberta",
|
3 |
"architectures": [
|
4 |
"RobertaForSequenceClassification"
|
5 |
],
|
6 |
+
"num_labels": 4,
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
"id2label": {
|
8 |
+
"0": "LABEL_0",
|
9 |
+
"1": "LABEL_1",
|
10 |
+
"2": "LABEL_2",
|
11 |
+
"3": "LABEL_3"
|
12 |
},
|
|
|
|
|
13 |
"label2id": {
|
14 |
+
"LABEL_0": 0,
|
15 |
+
"LABEL_1": 1,
|
16 |
+
"LABEL_2": 2,
|
17 |
+
"LABEL_3": 3
|
18 |
+
}
|
19 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c8037175a0f7980967910a796119cf0250a6c0200f7568225f2e9aaeb43b9b68
|
3 |
+
size 498633008
|
tokenizer_config.json
CHANGED
@@ -45,6 +45,7 @@
|
|
45 |
"bos_token": "<s>",
|
46 |
"clean_up_tokenization_spaces": false,
|
47 |
"cls_token": "<s>",
|
|
|
48 |
"eos_token": "</s>",
|
49 |
"errors": "replace",
|
50 |
"extra_special_tokens": {},
|
|
|
45 |
"bos_token": "<s>",
|
46 |
"clean_up_tokenization_spaces": false,
|
47 |
"cls_token": "<s>",
|
48 |
+
"do_lower_case": false,
|
49 |
"eos_token": "</s>",
|
50 |
"errors": "replace",
|
51 |
"extra_special_tokens": {},
|
upload.ipynb
ADDED
File without changes
|