Crystalcareai commited on
Commit
ac656b1
·
verified ·
1 Parent(s): 969568c

Update generate.py

Browse files
Files changed (1) hide show
  1. generate.py +0 -4
generate.py CHANGED
@@ -1,7 +1,3 @@
1
- import torch
2
- from transformers.generation.utils import GenerationMixin, validate_stopping_criteria, StoppingCriteriaList
3
- from transformers import TextStreamer
4
-
5
  def custom_generate(
6
  self,
7
  input_ids,
 
 
 
 
 
1
  def custom_generate(
2
  self,
3
  input_ids,