Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,6 @@ import time
|
|
3 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
4 |
import torch
|
5 |
|
6 |
-
@st.cache(allow_output_mutation=True)
|
7 |
model = AutoModelForCausalLM.from_pretrained("facebook/opt-30b", torch_dtype=torch.float16).cuda()
|
8 |
tokenizer = AutoTokenizer.from_pretrained("facebook/opt-30b", use_fast=False)
|
9 |
|
|
|
3 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
4 |
import torch
|
5 |
|
|
|
6 |
model = AutoModelForCausalLM.from_pretrained("facebook/opt-30b", torch_dtype=torch.float16).cuda()
|
7 |
tokenizer = AutoTokenizer.from_pretrained("facebook/opt-30b", use_fast=False)
|
8 |
|