Spaces:
Running
on
Zero
Running
on
Zero
wondervictor
commited on
Update model.py
Browse files
model.py
CHANGED
@@ -88,7 +88,7 @@ class Model:
|
|
88 |
precision = torch.bfloat16
|
89 |
t5_model = T5Embedder(
|
90 |
device="cuda",
|
91 |
-
local_cache=
|
92 |
cache_dir='checkpoints/flan-t5-xl',
|
93 |
dir_or_name='flan-t5-xl',
|
94 |
torch_dtype=precision,
|
|
|
88 |
precision = torch.bfloat16
|
89 |
t5_model = T5Embedder(
|
90 |
device="cuda",
|
91 |
+
local_cache=True,
|
92 |
cache_dir='checkpoints/flan-t5-xl',
|
93 |
dir_or_name='flan-t5-xl',
|
94 |
torch_dtype=precision,
|