tomrb commited on
Commit
5fe1662
1 Parent(s): a5e0cac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,8 +11,8 @@ examples = [["Adventurer is approached by a mysterious stranger in the tavern fo
11
 
12
 
13
 
14
- tokenizer = BloomTokenizerFast.from_pretrained("tomrb/bettercallbloom-3b-8bit")
15
- model = BloomForCausalLM.from_pretrained("tomrb/bettercallbloom-3b-8bit",device_map="auto",load_in_8bit=True)
16
 
17
  generator = pipeline('text-generation', model=model, tokenizer=tokenizer)
18
 
 
11
 
12
 
13
 
14
+ tokenizer = BloomTokenizerFast.from_pretrained("tomrb/bettercallbloom-3b")
15
+ model = BloomForCausalLM.from_pretrained("tomrb/bettercallbloom-3b",low_cpu_mem_usage=True)
16
 
17
  generator = pipeline('text-generation', model=model, tokenizer=tokenizer)
18