Spaces:
Paused
Paused
ElPlaguister
commited on
Commit
β’
abdd246
1
Parent(s):
f9188ae
DISABLE CUDA
Browse files- koalpaca.py +1 -1
koalpaca.py
CHANGED
@@ -26,7 +26,7 @@ class KoAlpaca:
|
|
26 |
inputs,
|
27 |
return_tensors='pt',
|
28 |
return_token_type_ids=False
|
29 |
-
)
|
30 |
generation_config=self.gen_config
|
31 |
)
|
32 |
outputs = self.tokenizer.decode(output_ids[0]).split("### λ΅λ³: ")[-1]
|
|
|
26 |
inputs,
|
27 |
return_tensors='pt',
|
28 |
return_token_type_ids=False
|
29 |
+
),#.to('cuda'),
|
30 |
generation_config=self.gen_config
|
31 |
)
|
32 |
outputs = self.tokenizer.decode(output_ids[0]).split("### λ΅λ³: ")[-1]
|