sgugger commited on
Commit
09dbff8
·
1 Parent(s): 2356027

Upload tiny models for FNetForMaskedLM

Browse files
Files changed (5) hide show
  1. config.json +3 -3
  2. pytorch_model.bin +2 -2
  3. spiece.model +3 -0
  4. tokenizer.json +0 -0
  5. tokenizer_config.json +1 -2
config.json CHANGED
@@ -13,11 +13,11 @@
13
  "max_position_embeddings": 512,
14
  "model_type": "fnet",
15
  "num_hidden_layers": 5,
16
- "pad_token_id": 1,
17
  "torch_dtype": "float32",
18
  "tpu_short_seq_length": 7,
19
- "transformers_version": "4.25.0.dev0",
20
  "type_vocab_size": 16,
21
  "use_tpu_fourier_optimizations": false,
22
- "vocab_size": 1024
23
  }
 
13
  "max_position_embeddings": 512,
14
  "model_type": "fnet",
15
  "num_hidden_layers": 5,
16
+ "pad_token_id": 3,
17
  "torch_dtype": "float32",
18
  "tpu_short_seq_length": 7,
19
+ "transformers_version": "4.28.0.dev0",
20
  "type_vocab_size": 16,
21
  "use_tpu_fourier_optimizations": false,
22
+ "vocab_size": 32000
23
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5e0157a36df73e614980774b8fa3c9128d4d3d409370109a0a8e178790582710
3
- size 288790
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a60dcb6aed4f65023e36d84c0c3b3b26af68dbb78f67b2e2f5a9888cf3c09158
3
+ size 4377622
spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f848afb4cb35389f15819aad6b9b4bb65d8b6cec9613b6145bea94b4a045ab6
3
+ size 708295
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -5,13 +5,12 @@
5
  "mask_token": {
6
  "__type": "AddedToken",
7
  "content": "[MASK]",
8
- "lstrip": true,
9
  "normalized": true,
10
  "rstrip": false,
11
  "single_word": false
12
  },
13
  "model_max_length": 512,
14
- "name_or_path": "google/fnet-base",
15
  "pad_token": "<pad>",
16
  "remove_space": true,
17
  "sep_token": "[SEP]",
 
5
  "mask_token": {
6
  "__type": "AddedToken",
7
  "content": "[MASK]",
8
+ "lstrip": false,
9
  "normalized": true,
10
  "rstrip": false,
11
  "single_word": false
12
  },
13
  "model_max_length": 512,
 
14
  "pad_token": "<pad>",
15
  "remove_space": true,
16
  "sep_token": "[SEP]",