seonglae commited on
Commit
dea3d7f
1 Parent(s): 7733a2d

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ 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
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "e5-base-multilingual-4096",
3
+ "adaptive": true,
4
+ "architectures": [
5
+ "LSGXLMRobertaModel"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "auto_map": {
9
+ "AutoConfig": "modeling_lsg_xlm_roberta.LSGXLMRobertaConfig",
10
+ "AutoModel": "modeling_lsg_xlm_roberta.LSGXLMRobertaModel",
11
+ "AutoModelForCausalLM": "modeling_lsg_xlm_roberta.LSGXLMRobertaForCausalLM",
12
+ "AutoModelForMaskedLM": "modeling_lsg_xlm_roberta.LSGXLMRobertaForMaskedLM",
13
+ "AutoModelForMultipleChoice": "modeling_lsg_xlm_roberta.LSGXLMRobertaForMultipleChoice",
14
+ "AutoModelForQuestionAnswering": "modeling_lsg_xlm_roberta.LSGXLMRobertaForQuestionAnswering",
15
+ "AutoModelForSequenceClassification": "modeling_lsg_xlm_roberta.LSGXLMRobertaForSequenceClassification",
16
+ "AutoModelForTokenClassification": "modeling_lsg_xlm_roberta.LSGXLMRobertaForTokenClassification"
17
+ },
18
+ "base_model_prefix": "lsg",
19
+ "block_size": 128,
20
+ "bos_token_id": 0,
21
+ "classifier_dropout": null,
22
+ "eos_token_id": 2,
23
+ "hidden_act": "gelu",
24
+ "hidden_dropout_prob": 0.1,
25
+ "hidden_size": 768,
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 3072,
28
+ "layer_norm_eps": 1e-05,
29
+ "lsh_num_pre_rounds": 1,
30
+ "mask_first_token": false,
31
+ "max_position_embeddings": 4098,
32
+ "model_type": "xlm-roberta",
33
+ "num_attention_heads": 12,
34
+ "num_global_tokens": 1,
35
+ "num_hidden_layers": 12,
36
+ "output_past": true,
37
+ "pad_token_id": 1,
38
+ "pool_with_global": true,
39
+ "position_embedding_type": "absolute",
40
+ "sparse_block_size": 128,
41
+ "sparsity_factor": 2,
42
+ "sparsity_type": "norm",
43
+ "transformers_version": "4.33.2",
44
+ "type_vocab_size": 1,
45
+ "use_cache": true,
46
+ "vocab_size": 250002
47
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a10f5984c11953045d2ef2ebcfe00125320952d82b2318e00f62f35e2a17d2c
3
+ size 1121097810
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12bca905967a647de5182bf9b275913bdd6acd52c4fb2c0d2db090572dd8d169
3
+ size 281428852
quantize_config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "Div",
8
+ "Concat",
9
+ "Reshape",
10
+ "MatMul",
11
+ "Constant",
12
+ "Not",
13
+ "Sqrt",
14
+ "ReduceMean",
15
+ "Sub",
16
+ "Slice",
17
+ "Erf",
18
+ "CumSum",
19
+ "Shape",
20
+ "Expand",
21
+ "ConstantOfShape",
22
+ "Equal",
23
+ "Transpose",
24
+ "Unsqueeze",
25
+ "Pow",
26
+ "Gather",
27
+ "Add",
28
+ "Mul",
29
+ "Cast",
30
+ "Softmax",
31
+ "Where"
32
+ ],
33
+ "weight_type": "QInt8"
34
+ }
35
+ }
36
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46afe88da5fd71bdbab5cfab5e84c1adce59c246ea5f9341bbecef061891d0a7
3
+ size 17082913
tokenizer_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "clean_up_tokenization_spaces": true,
4
+ "cls_token": "<s>",
5
+ "eos_token": "</s>",
6
+ "mask_token": {
7
+ "__type": "AddedToken",
8
+ "content": "<mask>",
9
+ "lstrip": true,
10
+ "normalized": true,
11
+ "rstrip": false,
12
+ "single_word": false
13
+ },
14
+ "max_length": 512,
15
+ "model_max_length": 512,
16
+ "pad_to_multiple_of": null,
17
+ "pad_token": "<pad>",
18
+ "pad_token_type_id": 0,
19
+ "padding_side": "right",
20
+ "sep_token": "</s>",
21
+ "stride": 0,
22
+ "tokenizer_class": "XLMRobertaTokenizer",
23
+ "truncation_side": "right",
24
+ "truncation_strategy": "longest_first",
25
+ "unk_token": "<unk>"
26
+ }