Ngaima Sandiman commited on
Commit
bcf10cd
1 Parent(s): 00e06fd

Changed transformers version.

Browse files
requirements.txt CHANGED
@@ -3,7 +3,7 @@ numpy==1.26.4
3
  pandas==2.2.2
4
  phonemizer==3.3.0
5
  encodec==0.1.1
6
- transformers
7
  torch==2.1.0
8
  torchaudio==2.1.0
9
  torchvision==0.16.0
 
3
  pandas==2.2.2
4
  phonemizer==3.3.0
5
  encodec==0.1.1
6
+ transformers==4.45.2
7
  torch==2.1.0
8
  torchaudio==2.1.0
9
  torchvision==0.16.0
src/model/modules/imagecraft.py CHANGED
@@ -90,7 +90,6 @@ class ImageCraft(nn.Module):
90
 
91
  self.device = "cuda" if torch.cuda.is_available() else "cpu"
92
 
93
- # Copied from transformers.models.llava.modeling_llava.LlavaForConditionalGeneration.tie_weights with Llava->PaliGemma
94
  def tie_weights(self):
95
  return self.language_model.tie_weights()
96
 
 
90
 
91
  self.device = "cuda" if torch.cuda.is_available() else "cpu"
92
 
 
93
  def tie_weights(self):
94
  return self.language_model.tie_weights()
95