Hello author, congregation for this wonderful work.
When I tried to reproduce the result, I found the following bugs:
Imported class: <class 'models.llava-model-hf.LLaVA_Model_HF'>
/mnt/sdc1/yifei/models/llava-1.5-7b-hf/tokenizer.json
Traceback (most recent call last):
File "/mnt/sdc1/yifei/Decoding/CODE/evaluate.py", line 169, in <module>
model = load_model(model_info["name"], model_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/sdc1/yifei/Decoding/CODE/models/base_model.py", line 70, in load_model
return model_class(**model_args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/sdc1/yifei/Decoding/CODE/models/llava-model-hf.py", line 19, in __init__
self.processor = AutoProcessor.from_pretrained(default_model_path, revision='a272c74')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/sdc1/yifei/Decoding/CODE/transformers/src/transformers/models/auto/processing_auto.py", line 314, in from_pretrained
return processor_class.from_pretrained(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/sdc1/yifei/Decoding/CODE/transformers/src/transformers/processing_utils.py", line 465, in from_pretrained
args = cls._get_arguments_from_pretrained(pretrained_model_name_or_path, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/sdc1/yifei/Decoding/CODE/transformers/src/transformers/processing_utils.py", line 511, in _get_arguments_from_pretrained
args.append(attribute_class.from_pretrained(pretrained_model_name_or_path, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/sdc1/yifei/Decoding/CODE/transformers/src/transformers/tokenization_utils_base.py", line 2089, in from_pretrained
return cls._from_pretrained(
^^^^^^^^^^^^^^^^^^^^^
File "/mnt/sdc1/yifei/Decoding/CODE/transformers/src/transformers/tokenization_utils_base.py", line 2311, in _from_pretrained
tokenizer = cls(*init_inputs, **init_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/sdc1/yifei/Decoding/CODE/transformers/src/transformers/models/llama/tokenization_llama_fast.py", line 124, in __init__
super().__init__(
File "/mnt/sdc1/yifei/Decoding/CODE/transformers/src/transformers/tokenization_utils_fast.py", line 112, in __init__
fast_tokenizer = TokenizerFast.from_file(fast_tokenizer_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**Exception: data did not match any variant of untagged enum ModelWrapper at line 277156 column 3**
Due to the update of "llava-1.5-7b-hf", could you please consider to update your code accordingly. I do appreciate that!
Hello author, congregation for this wonderful work.
When I tried to reproduce the result, I found the following bugs:
Due to the update of "llava-1.5-7b-hf", could you please consider to update your code accordingly. I do appreciate that!