ElPlaguister commited on
Commit
abdd246
β€’
1 Parent(s): f9188ae

DISABLE CUDA

Browse files
Files changed (1) hide show
  1. 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
- ).to('cuda'),
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]