runtime error
Exit code: 1. Reason: of the following files was downloaded from https://huggingface.co/microsoft/Florence-2-large: - configuration_florence2.py . Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision. Traceback (most recent call last): File "/home/user/app/app.py", line 22, in <module> FLORENCE_MODEL, FLORENCE_PROCESSOR = load_florence_model(device=DEVICE) File "/home/user/app/utils/florence.py", line 33, in load_florence_model model = AutoModelForCausalLM.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 339, in from_pretrained config, kwargs = AutoConfig.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 395, in from_pretrained return config_class.from_pretrained(pretrained_model_name_or_path, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/configuration_utils.py", line 662, in from_pretrained return cls.from_dict(config_dict, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/configuration_utils.py", line 839, in from_dict config = cls(**config_dict) File "/home/user/.cache/huggingface/modules/transformers_modules/microsoft/Florence_hyphen_2_hyphen_large/21a599d414c4d928c9032694c424fb94458e3594/configuration_florence2.py", line 336, in __init__ self.text_config = Florence2LanguageConfig(**text_config) File "/home/user/.cache/huggingface/modules/transformers_modules/microsoft/Florence_hyphen_2_hyphen_large/21a599d414c4d928c9032694c424fb94458e3594/configuration_florence2.py", line 265, in __init__ if self.forced_bos_token_id is None and kwargs.get("force_bos_token_to_be_generated", False): File "/usr/local/lib/python3.10/site-packages/transformers/configuration_utils.py", line 434, in __getattribute__ return super().__getattribute__(key) AttributeError: 'Florence2LanguageConfig' object has no attribute 'forced_bos_token_id'
Container logs:
Fetching error logs...