Crystalcareai
commited on
Update generate.py
Browse files- generate.py +1 -1
generate.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import torch
|
2 |
from transformers import LogitsProcessorList, StoppingCriteriaList
|
3 |
|
4 |
-
def
|
5 |
self,
|
6 |
input_ids,
|
7 |
attention_mask=None,
|
|
|
1 |
import torch
|
2 |
from transformers import LogitsProcessorList, StoppingCriteriaList
|
3 |
|
4 |
+
def generate(
|
5 |
self,
|
6 |
input_ids,
|
7 |
attention_mask=None,
|