MiniGPT-4 icon indicating copy to clipboard operation
MiniGPT-4 copied to clipboard

sentencepiece_processor

Open masapasa opened this issue 1 year ago • 2 comments

Initializing Chat Loading VIT Loading VIT Done Loading Q-Former Loading Q-Former Done Loading LLAMA miniconda3/envs/fit/lib/python3.11/site-packages/transformers/tokenization_utils_base.py:1714: FutureWarning: Calling LlamaTokenizer.from_pretrained() with the path to a single file or url is deprecated and won't be possible anymore in v5. Use a model identifier or the path to a directory instead. warnings.warn( ╭───────────────────── Traceback (most recent call last) ──────────────────────╮ │ doze/wound/MiniGPT-4/demo.py:60 in │ │ │ │ 57 model_config = cfg.model_cfg │ │ 58 model_config.device_8bit = args.gpu_id │ │ 59 model_cls = registry.get_model_class(model_config.arch) │ │ ❱ 60 model = model_cls.from_config(model_config).to('cuda:{}'.format(args.g │ │ 61 │ │ 62 vis_processor_cfg = cfg.datasets_cfg.cc_sbu_align.vis_processor.train │ │ 63 vis_processor = registry.get_processor_class(vis_processor_cfg.name).f │ │ │ │ doze/wound/MiniGPT-4/minigpt4/models/mini_gpt4.py:243 in │ │ from_config │ │ │ ... │ 313 │ │ return _sentencepiece.SentencePieceProcessor__EncodeAsIds(sel │ ╰──────────────────────────────────────────────────────────────────────────────╯ RuntimeError: Internal: src/sentencepiece_processor.cc(1101) [model_proto->ParseFromArray(serialized.data(), serialized.size())]

masapasa avatar Apr 20 '23 16:04 masapasa

这个解决了吗?

cuppersd avatar Apr 21 '23 09:04 cuppersd

no @cuppersd . Did you solve it?

masapasa avatar Apr 21 '23 10:04 masapasa

exactly the same problem :(

amourlion avatar May 23 '23 00:05 amourlion