huangyx316
commited on
Commit
•
6c811fc
1
Parent(s):
4015a81
first commit
Browse files- added_tokens.json +1 -0
- config.json +29 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- tokenizer_config.json +1 -0
- vocab.json +0 -0
added_tokens.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"string_literal": 51416, "heredoc_content": 51417, "class_variable": 51418, "simple_symbol": 51419, "shorthand_property_identifier": 51420, "statement_identifier": 51421, "null_literal": 51422, "boolean_type": 51423, "regex_pattern": 51424, "raw_string_literal": 51425, "php_tag": 51426, "instance_variable": 51427, "property_identifier": 51428, "package_identifier": 51429, "label_name": 51430, "character_literal": 51431, "heredoc_beginning": 51432, "separators": 51433, "string_content": 51434, "string_fragment": 51435, "regex_flags": 51436, "hash_key_symbol": 51437, "global_variable": 51438, "decimal_integer_literal": 51439, "void_type": 51440, "field_identifier": 51441, "int_literal": 51442, "rune_literal": 51443, "decimal_floating_point_literal": 51444, "escape_sequence": 51445, "shorthand_property_identifier_pattern": 51446, "heredoc_end": 51447, "float_literal": 51448, "type_identifier": 51449, "hex_integer_literal": 51450}
|
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/unixcoder-base",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaModel"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"gradient_checkpointing": false,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 3072,
|
16 |
+
"layer_norm_eps": 1e-05,
|
17 |
+
"max_position_embeddings": 1026,
|
18 |
+
"model_type": "roberta",
|
19 |
+
"num_attention_heads": 12,
|
20 |
+
"num_hidden_layers": 12,
|
21 |
+
"output_past": true,
|
22 |
+
"pad_token_id": 1,
|
23 |
+
"position_embedding_type": "absolute",
|
24 |
+
"torch_dtype": "float32",
|
25 |
+
"transformers_version": "4.12.5",
|
26 |
+
"type_vocab_size": 10,
|
27 |
+
"use_cache": true,
|
28 |
+
"vocab_size": 51451
|
29 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:993583739ba7118bddd9e77abe090e6115c3e512987a942eeb38b41ab3dacac8
|
3 |
+
size 503911921
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "eos_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "unk_token": {"content": "<unk>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "sep_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "pad_token": {"content": "<pad>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "cls_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true}, "additional_special_tokens": ["string_literal", "heredoc_content", "class_variable", "simple_symbol", "shorthand_property_identifier", "constant", "comment", "statement_identifier", "null_literal", "\"", "boolean_type", "regex_pattern", "ERROR", "integer", "raw_string_literal", "boolean", "number", "php_tag", "extends", "identifier", "instance_variable", "property_identifier", "package_identifier", "none", "label_name", "character_literal", "heredoc_beginning", "separators", "string_content", "text", "string_fragment", "regex_flags", "hash_key_symbol", "namespace", "operator", "global_variable", "string", "decimal_integer_literal", "void_type", "field_identifier", "int_literal", "rune_literal", "class", "decimal_floating_point_literal", "keyword", "escape_sequence", "shorthand_property_identifier_pattern", "heredoc_end", "float_literal", "name", "type_identifier", "hex_integer_literal"]}
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"errors": "replace", "unk_token": {"content": "<unk>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "bos_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "eos_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "add_prefix_space": false, "sep_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "cls_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "pad_token": {"content": "<pad>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "microsoft/unixcoder-base", "tokenizer_class": "RobertaTokenizer"}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|