mprzymus commited on
Commit
5847679
1 Parent(s): b392e88

Upload folder using huggingface_hub

Browse files
Files changed (5) hide show
  1. config.json +1 -1
  2. merges.txt +1 -1
  3. pytorch_model.bin +1 -1
  4. tokenizer.json +3 -16
  5. tokenizer_config.json +1 -2
config.json CHANGED
@@ -30,7 +30,7 @@
30
  "problem_type": "single_label_classification",
31
  "tokenizer_class": "HerbertTokenizerFast",
32
  "torch_dtype": "float32",
33
- "transformers_version": "4.24.0",
34
  "type_vocab_size": 2,
35
  "use_cache": true,
36
  "vocab_size": 50000
30
  "problem_type": "single_label_classification",
31
  "tokenizer_class": "HerbertTokenizerFast",
32
  "torch_dtype": "float32",
33
+ "transformers_version": "4.30.2",
34
  "type_vocab_size": 2,
35
  "use_cache": true,
36
  "vocab_size": 50000
merges.txt CHANGED
@@ -1,4 +1,4 @@
1
- #version: 0.2 - Trained by `huggingface/tokenizers`
2
  n i
3
  i e
4
  o w
1
+ #version: 0.2
2
  n i
3
  i e
4
  o w
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f69531b97a52063b95b79a9d2ded7cdc484c8fce2fec67b47db4037d12a1cc80
3
  size 497853557
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c1d537a9684fe66625e890daa350f51c428027ea36c99e110c64a59e9b4626f
3
  size 497853557
tokenizer.json CHANGED
@@ -1,21 +1,7 @@
1
  {
2
  "version": "1.0",
3
- "truncation": {
4
- "direction": "Right",
5
- "max_length": 512,
6
- "strategy": "LongestFirst",
7
- "stride": 0
8
- },
9
- "padding": {
10
- "strategy": {
11
- "Fixed": 512
12
- },
13
- "direction": "Right",
14
- "pad_to_multiple_of": null,
15
- "pad_id": 1,
16
- "pad_type_id": 0,
17
- "pad_token": "<pad>"
18
- },
19
  "added_tokens": [
20
  {
21
  "id": 0,
@@ -95,6 +81,7 @@
95
  "continuing_subword_prefix": null,
96
  "end_of_word_suffix": "</w>",
97
  "fuse_unk": false,
 
98
  "vocab": {
99
  "<s>": 0,
100
  "<pad>": 1,
1
  {
2
  "version": "1.0",
3
+ "truncation": null,
4
+ "padding": null,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  "added_tokens": [
6
  {
7
  "id": 0,
81
  "continuing_subword_prefix": null,
82
  "end_of_word_suffix": "</w>",
83
  "fuse_unk": false,
84
+ "byte_fallback": false,
85
  "vocab": {
86
  "<s>": 0,
87
  "<pad>": 1,
tokenizer_config.json CHANGED
@@ -1,16 +1,15 @@
1
  {
2
  "additional_special_tokens": [],
3
  "bos_token": "<s>",
 
4
  "cls_token": "<s>",
5
  "do_lowercase_and_remove_accent": false,
6
  "id2lang": null,
7
  "lang2id": null,
8
  "mask_token": "<mask>",
9
  "model_max_length": 512,
10
- "name_or_path": "allegro/herbert-base-cased",
11
  "pad_token": "<pad>",
12
  "sep_token": "</s>",
13
- "special_tokens_map_file": "/home/mpogoda/.cache/huggingface/hub/models--allegro--herbert-base-cased/snapshots/50e33e0567be0c0b313832314c586e3df0dc2297/special_tokens_map.json",
14
  "tokenizer_class": "HerbertTokenizer",
15
  "unk_token": "<unk>"
16
  }
1
  {
2
  "additional_special_tokens": [],
3
  "bos_token": "<s>",
4
+ "clean_up_tokenization_spaces": true,
5
  "cls_token": "<s>",
6
  "do_lowercase_and_remove_accent": false,
7
  "id2lang": null,
8
  "lang2id": null,
9
  "mask_token": "<mask>",
10
  "model_max_length": 512,
 
11
  "pad_token": "<pad>",
12
  "sep_token": "</s>",
 
13
  "tokenizer_class": "HerbertTokenizer",
14
  "unk_token": "<unk>"
15
  }