Spaces:
Sleeping
Sleeping
Reuben Tan
commited on
Commit
•
1865678
1
Parent(s):
ac2f34f
test new path
Browse files
global_local/models/video_instruction_ft_model.py
CHANGED
@@ -77,12 +77,12 @@ class VideoInstructionFTLLAMA(Blip2Base):
|
|
77 |
equip_audio_branch = True
|
78 |
):
|
79 |
super().__init__()
|
80 |
-
tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")
|
81 |
model = AutoModel.from_pretrained("bert-base-uncased")
|
82 |
model.push_to_hub("bert-base-uncased")
|
83 |
tokenizer.push_to_hub("bert-base-uncased")
|
84 |
#model.push_to_hub("huggingface/bert-base-uncased")
|
85 |
-
sys.exit()
|
86 |
|
87 |
self.tokenizer = self.init_tokenizer()
|
88 |
self.low_resource = low_resource
|
|
|
77 |
equip_audio_branch = True
|
78 |
):
|
79 |
super().__init__()
|
80 |
+
'''tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")
|
81 |
model = AutoModel.from_pretrained("bert-base-uncased")
|
82 |
model.push_to_hub("bert-base-uncased")
|
83 |
tokenizer.push_to_hub("bert-base-uncased")
|
84 |
#model.push_to_hub("huggingface/bert-base-uncased")
|
85 |
+
sys.exit()'''
|
86 |
|
87 |
self.tokenizer = self.init_tokenizer()
|
88 |
self.low_resource = low_resource
|