CyberNative commited on
Commit
19c9ea5
1 Parent(s): 61a3607

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -46,9 +46,8 @@ h1 {
46
  """
47
 
48
  # Load the tokenizer and model
49
- with torch.autocast(device_type='cpu'):
50
- tokenizer = AutoTokenizer.from_pretrained("CyberNative-AI/Colibri_8b_v0.1_gptq_128_4bit")
51
- model = AutoGPTQForCausalLM.from_quantized("CyberNative-AI/Colibri_8b_v0.1_gptq_128_4bit", dtype=torch.bfloat16, device="cpu")
52
 
53
  terminators = [
54
  tokenizer.eos_token_id,
 
46
  """
47
 
48
  # Load the tokenizer and model
49
+ tokenizer = AutoTokenizer.from_pretrained("CyberNative-AI/Colibri_8b_v0.1_gptq_128_4bit")
50
+ model = AutoGPTQForCausalLM.from_quantized("CyberNative-AI/Colibri_8b_v0.1_gptq_128_4bit", dtype=torch.float32, device="cpu")
 
51
 
52
  terminators = [
53
  tokenizer.eos_token_id,