Crystalcareai
commited on
Update generate.py
Browse files- 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,
|