From dde26ce0a697b9c964c4caeffb2985d1cad7d2c0 Mon Sep 17 00:00:00 2001 From: wailovet Date: Sat, 29 Jun 2024 20:40:06 +0800 Subject: [PATCH] 'update' --- mz_transformers.py | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/mz_transformers.py b/mz_transformers.py index ce2c375..7158acd 100644 --- a/mz_transformers.py +++ b/mz_transformers.py @@ -92,12 +92,43 @@ def florence2_node_encode(args_dict): { "file_path": "pytorch_model.bin", "url": "https://www.modelscope.cn/api/v1/models/AI-ModelScope/Florence-2-large/repo?Revision=master&FilePath=pytorch_model.bin" + }, + + # tokenizer.json + { + "file_path": "tokenizer.json", + "url": "https://www.modelscope.cn/api/v1/models/AI-ModelScope/Florence-2-large/repo?Revision=master&FilePath=tokenizer.json" + }, + # tokenizer_config.json + { + "file_path": "tokenizer_config.json", + "url": "https://www.modelscope.cn/api/v1/models/AI-ModelScope/Florence-2-large/repo?Revision=master&FilePath=tokenizer_config.json" + }, + # vocab.json + { + "file_path": "vocab.json", + "url": "https://www.modelscope.cn/api/v1/models/AI-ModelScope/Florence-2-large/repo?Revision=master&FilePath=vocab.json" } ], "Florence-2-large-ft": [ { "file_path": "pytorch_model.bin", "url": "https://www.modelscope.cn/api/v1/models/AI-ModelScope/Florence-2-large-ft/repo?Revision=master&FilePath=pytorch_model.bin" + }, + # tokenizer.json + { + "file_path": "tokenizer.json", + "url": "https://www.modelscope.cn/api/v1/models/AI-ModelScope/Florence-2-large-ft/repo?Revision=master&FilePath=tokenizer.json" + }, + # tokenizer_config.json + { + "file_path": "tokenizer_config.json", + "url": "https://www.modelscope.cn/api/v1/models/AI-ModelScope/Florence-2-large-ft/repo?Revision=master&FilePath=tokenizer_config.json" + }, + # vocab.json + { + "file_path": "vocab.json", + "url": "https://www.modelscope.cn/api/v1/models/AI-ModelScope/Florence-2-large-ft/repo?Revision=master&FilePath=vocab.json" } ], }