asahi417 commited on
Commit
646671a
1 Parent(s): 51b41d2

Upload XLMRobertaForMaskedLM

Browse files
Files changed (2) hide show
  1. config.json +49 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "ckpts/xlm-roberta-base-trimmed-pt-10000",
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": 768,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "xlm-roberta",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "output_past": true,
21
+ "pad_token_id": 1,
22
+ "position_embedding_type": "absolute",
23
+ "torch_dtype": "float32",
24
+ "transformers_version": "4.26.1",
25
+ "type_vocab_size": 1,
26
+ "use_cache": true,
27
+ "vocab_size": 10002,
28
+ "vocabtrimmer": {
29
+ "mining_config": {
30
+ "dataset": "vocabtrimmer/mc4_validation",
31
+ "dataset_column": "text",
32
+ "dataset_name": "pt",
33
+ "dataset_split": "validation",
34
+ "language": "pt",
35
+ "min_frequency": 2,
36
+ "target_vocab_size": 10000
37
+ },
38
+ "stats": {
39
+ "compression_rate_embedding": 4.000767993856049,
40
+ "compression_rate_full": 33.68192865542417,
41
+ "parameter_size_embedding/raw": 192001536,
42
+ "parameter_size_embedding/trimmed": 7681536,
43
+ "parameter_size_full/raw": 278295186,
44
+ "parameter_size_full/trimmed": 93735186,
45
+ "vocab_size/raw": 250002,
46
+ "vocab_size/trimmed": 10002
47
+ }
48
+ }
49
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:134761ebb32452cd3dfaef0d0d13d9fa92ef02637bb3e07629df6f2d3889f15a
3
+ size 375009899