dwb2023 commited on
Commit
71559ee
1 Parent(s): 7ed52f5

tweak imports

Browse files
Files changed (1) hide show
  1. model_utils.py +1 -2
model_utils.py CHANGED
@@ -1,7 +1,7 @@
1
  import subprocess
2
  import os
3
  import torch
4
- from transformers import BitsAndBytesConfig, AutoConfig, AutoModelForCausalLM, LlavaNextForConditionalGeneration, LlavaForConditionalGeneration, PaliGemmaForConditionalGeneration, Idefics2ForConditionalGeneration, Owlv2ForObjectDetection, GroundingDinoForObjectDetection, SamModel, NomicBertModel
5
  import spaces
6
 
7
  os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
@@ -22,7 +22,6 @@ ARCHITECTURE_MAP = {
22
  "GroundingDinoForObjectDetection": GroundingDinoForObjectDetection,
23
  "SamModel": SamModel,
24
  "AutoModelForCausalLM": AutoModelForCausalLM,
25
- "NomicBertModel": NomicBertModel,
26
  }
27
 
28
 
 
1
  import subprocess
2
  import os
3
  import torch
4
+ from transformers import BitsAndBytesConfig, AutoConfig, AutoModelForCausalLM, LlavaNextForConditionalGeneration, LlavaForConditionalGeneration, PaliGemmaForConditionalGeneration, Idefics2ForConditionalGeneration, Owlv2ForObjectDetection, GroundingDinoForObjectDetection, SamModel
5
  import spaces
6
 
7
  os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
 
22
  "GroundingDinoForObjectDetection": GroundingDinoForObjectDetection,
23
  "SamModel": SamModel,
24
  "AutoModelForCausalLM": AutoModelForCausalLM,
 
25
  }
26
 
27