fxmarty MhondGhod commited on
Commit
19638cb
1 Parent(s): 5bc772e

Adding ONNX file of this model (#15)

Browse files

- Adding ONNX file of this model (ffaefd54b2c2a7c25305a113f32ffe70e1375dcd)


Co-authored-by: Chawakorn Phiantham <[email protected]>

.gitattributes CHANGED
@@ -9,3 +9,5 @@
9
  *.msgpack filter=lfs diff=lfs merge=lfs -text
10
  onnx/model.onnx_data filter=lfs diff=lfs merge=lfs -text
11
  model.safetensors filter=lfs diff=lfs merge=lfs -text
 
 
 
9
  *.msgpack filter=lfs diff=lfs merge=lfs -text
10
  onnx/model.onnx_data filter=lfs diff=lfs merge=lfs -text
11
  model.safetensors filter=lfs diff=lfs merge=lfs -text
12
+ onnx/sentencepiece.bpe.model filter=lfs diff=lfs merge=lfs -text
13
+ onnx/tokenizer.json filter=lfs diff=lfs merge=lfs -text
onnx/config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "xlm-roberta-large",
3
+ "architectures": [
4
+ "XLMRobertaForMaskedLM"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 1024,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 4096,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "xlm-roberta",
18
+ "num_attention_heads": 16,
19
+ "num_hidden_layers": 24,
20
+ "output_past": true,
21
+ "pad_token_id": 1,
22
+ "position_embedding_type": "absolute",
23
+ "transformers_version": "4.30.2",
24
+ "type_vocab_size": 1,
25
+ "use_cache": true,
26
+ "vocab_size": 250002
27
+ }
onnx/model.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dda5af4a7d1889f0d1d892f879d64cb52cc0e6b2a6b332ef2e8bf8ca067ba2a3
3
- size 620785
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb5a52503a3ef35247f5b5ae6c473aaae60505dd3ffaef56d7b69e2f84683c05
3
+ size 545850
onnx/model.onnx_data CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9fcf59bc3ffbdb6ace828101bad98ef1de226cfdb2105b90a721b14f3270a972
3
- size 3264578120
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1798dab29db9d3fe4193ffa091512730369bd1c1c2041de430e09394d4f57df1
3
+ size 2235363328
onnx/sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
3
+ size 5069051
onnx/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
+ }
onnx/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62c24cdc13d4c9952d63718d6c9fa4c287974249e16b7ade6d5a85e7bbb75626
3
+ size 17082660
onnx/tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "model_max_length": 512,
15
+ "pad_token": "<pad>",
16
+ "sep_token": "</s>",
17
+ "tokenizer_class": "XLMRobertaTokenizer",
18
+ "unk_token": "<unk>"
19
+ }