Skip to content

Commit

Permalink
fix json code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
zxcd committed Nov 10, 2022
1 parent ab288ff commit ae98cc8
Show file tree
Hide file tree
Showing 7 changed files with 100,573 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
{"bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "unk_token": "<|endoftext|>"}
{
"bos_token": "<|endoftext|>",
"eos_token": "<|endoftext|>",
"unk_token": "<|endoftext|>"
}
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
{"unk_token": "<|endoftext|>", "bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "add_prefix_space": false, "model_max_length": 1024, "special_tokens_map_file": null, "name_or_path": "gpt2", "tokenizer_class": "GPT2Tokenizer"}
{
"unk_token": "<|endoftext|>",
"bos_token": "<|endoftext|>",
"eos_token": "<|endoftext|>",
"add_prefix_space": false,
"model_max_length": 1024,
"special_tokens_map_file": null,
"name_or_path": "gpt2",
"tokenizer_class": "GPT2Tokenizer"
}
50,260 changes: 50,259 additions & 1 deletion paddlespeech/s2t/models/whisper/assets/gpt2/vocab.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
{"<|endoftext|>": 50257}
{
"<|endoftext|>": 50257
}
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
{"bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "unk_token": "<|endoftext|>"}
{
"bos_token": "<|endoftext|>",
"eos_token": "<|endoftext|>",
"unk_token": "<|endoftext|>"
}
Original file line number Diff line number Diff line change
@@ -1 +1,32 @@
{"unk_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "bos_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "eos_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "add_prefix_space": false, "model_max_length": 1024, "special_tokens_map_file": null, "name_or_path": "multilingual", "errors": "replace", "tokenizer_class": "GPT2Tokenizer"}
{
"unk_token": {
"content": "<|endoftext|>",
"single_word": false,
"lstrip": false,
"rstrip": false,
"normalized": true,
"__type": "AddedToken"
},
"bos_token": {
"content": "<|endoftext|>",
"single_word": false,
"lstrip": false,
"rstrip": false,
"normalized": true,
"__type": "AddedToken"
},
"eos_token": {
"content": "<|endoftext|>",
"single_word": false,
"lstrip": false,
"rstrip": false,
"normalized": true,
"__type": "AddedToken"
},
"add_prefix_space": false,
"model_max_length": 1024,
"special_tokens_map_file": null,
"name_or_path": "multilingual",
"errors": "replace",
"tokenizer_class": "GPT2Tokenizer"
}
50,260 changes: 50,259 additions & 1 deletion paddlespeech/s2t/models/whisper/assets/multilingual/vocab.json

Large diffs are not rendered by default.

0 comments on commit ae98cc8

Please sign in to comment.