Zwounds commited on
Commit
fa332ef
·
verified ·
1 Parent(s): ea1b3e9

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. demo_cpu.py +2 -2
demo_cpu.py CHANGED
@@ -42,13 +42,13 @@ def load_model():
42
  """Load the model and tokenizer."""
43
  logger.info("Loading model on CPU...")
44
  model = AutoModelForCausalLM.from_pretrained(
45
- "../boolean_model_llama/merged_llama",
46
  torch_dtype=torch.float32,
47
  device_map="cpu",
48
  trust_remote_code=True
49
  )
50
  tokenizer = AutoTokenizer.from_pretrained(
51
- "../boolean_model_llama/merged_llama",
52
  trust_remote_code=True
53
  )
54
 
 
42
  """Load the model and tokenizer."""
43
  logger.info("Loading model on CPU...")
44
  model = AutoModelForCausalLM.from_pretrained(
45
+ "Zwounds/boolean-search-model",
46
  torch_dtype=torch.float32,
47
  device_map="cpu",
48
  trust_remote_code=True
49
  )
50
  tokenizer = AutoTokenizer.from_pretrained(
51
+ "Zwounds/boolean-search-model",
52
  trust_remote_code=True
53
  )
54