mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 18:22:34 +06:00
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:
parent
3345ae733b
commit
cf85e86e9a
@ -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")
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user