remove incorrect urls pointing to the llava repository (#31107)

* remove incorrect urls pointing to the llava repository

* remove incorrect urls pointing to the llava repository; removing entire comments

* remove incorrect urls pointing to the llava repository; removing entire comments; ran fix-copies

* ran fixup
This commit is contained in:
Krisztián Boros 2024-07-02 20:24:55 +09:00 committed by GitHub
parent 3345ae733b
commit cf85e86e9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 6 deletions

View File

@ -1344,9 +1344,6 @@ class Idefics2PreTrainedModel(PreTrainedModel):
_supports_cache_class = True
def _init_weights(self, module):
# important: this ported version of Idefics2 isn't meant for training from scratch - only
# inference and fine-tuning - so the proper init weights code has been removed - the original codebase
# https://github.com/haotian-liu/LLaVA/tree/main/idefics2 should serve for that purpose
std = (
self.config.text_config.initializer_range
if hasattr(self.config, "initializer_range")

View File

@ -129,9 +129,6 @@ class VideoLlavaPreTrainedModel(PreTrainedModel):
_no_split_modules = ["VideoLlavaVisionAttention"]
def _init_weights(self, module):
# important: this ported version of VideoLlava isn't meant for training from scratch - only
# inference and fine-tuning - so the proper init weights code has been removed - the original codebase
# https://github.com/haotian-liu/LLaVA/tree/main/video_llava should serve for that purpose
std = (
self.config.initializer_range
if hasattr(self.config, "initializer_range")