Spaces:
Build error
Build error
Update app.py
Browse files
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
|
15 |
-
model = BloomForCausalLM.from_pretrained("tomrb/bettercallbloom-3b
|
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 |
|