初始化项目,由ModelHub XC社区提供模型

Model: ivanhinz/gpt2-yt-comment-generator
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-08-13 13:21:34 +08:00
commit e6c657e3f8
7 changed files with 250652 additions and 0 deletions

21
tokenizer_config.json Normal file
View File

@@ -0,0 +1,21 @@
{
"add_prefix_space": false,
"backend": "tokenizers",
"bos_token": "<|endoftext|>",
"eos_token": "<|endoftext|>",
"errors": "replace",
"extra_special_tokens": [
"<CHANNEL>",
"<TITLE>",
"<COMMENT>"
],
"is_local": true,
"max_length": 256,
"model_max_length": 1024,
"pad_token": "<PAD>",
"stride": 0,
"tokenizer_class": "GPT2Tokenizer",
"truncation_side": "right",
"truncation_strategy": "longest_first",
"unk_token": "<|endoftext|>"
}