Upload AlbertForSequenceClassification
Browse files- config.json +42 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "albert-base-v2",
|
3 |
+
"architectures": [
|
4 |
+
"AlbertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0,
|
7 |
+
"bos_token_id": 2,
|
8 |
+
"classifier_dropout_prob": 0.1,
|
9 |
+
"down_scale_factor": 1,
|
10 |
+
"embedding_size": 128,
|
11 |
+
"eos_token_id": 3,
|
12 |
+
"gap_size": 0,
|
13 |
+
"hidden_act": "gelu_new",
|
14 |
+
"hidden_dropout_prob": 0,
|
15 |
+
"hidden_size": 768,
|
16 |
+
"id2label": {
|
17 |
+
"0": "neg",
|
18 |
+
"1": "pos"
|
19 |
+
},
|
20 |
+
"initializer_range": 0.02,
|
21 |
+
"inner_group_num": 1,
|
22 |
+
"intermediate_size": 3072,
|
23 |
+
"label2id": {
|
24 |
+
"neg": 0,
|
25 |
+
"pos": 1
|
26 |
+
},
|
27 |
+
"layer_norm_eps": 1e-12,
|
28 |
+
"max_position_embeddings": 512,
|
29 |
+
"model_type": "albert",
|
30 |
+
"net_structure_type": 0,
|
31 |
+
"num_attention_heads": 12,
|
32 |
+
"num_hidden_groups": 1,
|
33 |
+
"num_hidden_layers": 12,
|
34 |
+
"num_memory_blocks": 0,
|
35 |
+
"pad_token_id": 0,
|
36 |
+
"position_embedding_type": "absolute",
|
37 |
+
"problem_type": "single_label_classification",
|
38 |
+
"torch_dtype": "float32",
|
39 |
+
"transformers_version": "4.46.3",
|
40 |
+
"type_vocab_size": 2,
|
41 |
+
"vocab_size": 30000
|
42 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:de8bbd74caf7bfc3d6062e7fa267cac61c44869891015f6cae44b120c506e41b
|
3 |
+
size 46743912
|