diff options
Diffstat (limited to 'bot.py')
-rw-r--r-- | bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ args = parser.parse_args() tokenizer = AutoTokenizer.from_pretrained('gpt2-large') -model = AutoModelForCausalLM.from_pretrained(args.model, torch_dtype=float16).to('cuda') +model = AutoModelForCausalLM.from_pretrained(args.model).to('cuda') if args.input is None: |