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

Model: Salesforce/blip2-opt-2.7b
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-06-28 18:19:12 +08:00
commit b728d64c10
19 changed files with 51649 additions and 0 deletions

39
tokenizer_config.json Normal file
View File

@@ -0,0 +1,39 @@
{
"add_bos_token": true,
"add_prefix_space": false,
"added_tokens_decoder": {
"1": {
"content": "<pad>",
"lstrip": false,
"normalized": true,
"rstrip": false,
"single_word": false,
"special": true
},
"2": {
"content": "</s>",
"lstrip": false,
"normalized": true,
"rstrip": false,
"single_word": false,
"special": true
},
"50265": {
"content": "<image>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
}
},
"bos_token": "</s>",
"clean_up_tokenization_spaces": false,
"eos_token": "</s>",
"errors": "replace",
"model_max_length": 1000000000000000019884624838656,
"pad_token": "<pad>",
"processor_class": "Blip2Processor",
"tokenizer_class": "GPT2Tokenizer",
"unk_token": "</s>"
}