diff options
author | Anthony Wang | 2022-07-15 13:44:44 -0500 |
---|---|---|
committer | Anthony Wang | 2022-07-15 13:44:44 -0500 |
commit | 354ebba7892380d6935b9c9e0c72624e7fcced83 (patch) | |
tree | 5f3ca4f01ca626367ea12052e046e9b688233887 | |
parent | fc56d2c0a873945e0b5f8720f3f75fd02c0c1602 (diff) |
Use single-quotes instead of double quotes
-rw-r--r-- | bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ if args.input is None: # Run the input through the model print(args.input) -inputs = tokenizer.encode(args.input, return_tensors="pt") +inputs = tokenizer.encode(args.input, return_tensors='pt') output = tokenizer.decode(model.generate( inputs, do_sample=True, max_length=150, top_p=0.9)[0]) print(output) |