add model
Browse files- config.json +49 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/canine-c",
|
3 |
+
"architectures": [
|
4 |
+
"CanineForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 57344,
|
8 |
+
"downsampling_rate": 4,
|
9 |
+
"eos_token_id": 57345,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "LABEL_0",
|
15 |
+
"1": "LABEL_1",
|
16 |
+
"2": "LABEL_2",
|
17 |
+
"3": "LABEL_3",
|
18 |
+
"4": "LABEL_4",
|
19 |
+
"5": "LABEL_5",
|
20 |
+
"6": "LABEL_6",
|
21 |
+
"7": "LABEL_7"
|
22 |
+
},
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 3072,
|
25 |
+
"label2id": {
|
26 |
+
"LABEL_0": 0,
|
27 |
+
"LABEL_1": 1,
|
28 |
+
"LABEL_2": 2,
|
29 |
+
"LABEL_3": 3,
|
30 |
+
"LABEL_4": 4,
|
31 |
+
"LABEL_5": 5,
|
32 |
+
"LABEL_6": 6,
|
33 |
+
"LABEL_7": 7
|
34 |
+
},
|
35 |
+
"layer_norm_eps": 1e-12,
|
36 |
+
"local_transformer_stride": 128,
|
37 |
+
"max_position_embeddings": 16384,
|
38 |
+
"model_type": "canine",
|
39 |
+
"num_attention_heads": 12,
|
40 |
+
"num_hash_buckets": 16384,
|
41 |
+
"num_hash_functions": 8,
|
42 |
+
"num_hidden_layers": 12,
|
43 |
+
"pad_token_id": 0,
|
44 |
+
"torch_dtype": "float32",
|
45 |
+
"transformers_version": "4.20.1",
|
46 |
+
"type_vocab_size": 16,
|
47 |
+
"upsampling_kernel_size": 4,
|
48 |
+
"use_cache": true
|
49 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d78d28a80fb0c2068230ea92d547bb35cb2e7e5b52f7407a8ad0b4b9570c8c62
|
3 |
+
size 528571087
|