Update modeling_baichuan.py
Browse files- modeling_baichuan.py +1 -0
modeling_baichuan.py
CHANGED
@@ -12,6 +12,7 @@ from transformers import PreTrainedModel
|
|
12 |
from transformers.activations import ACT2FN
|
13 |
from transformers.modeling_outputs import BaseModelOutputWithPast, CausalLMOutputWithPast
|
14 |
from transformers.utils import logging
|
|
|
15 |
|
16 |
from .configuration_baichuan import BaichuanConfig
|
17 |
|
|
|
12 |
from transformers.activations import ACT2FN
|
13 |
from transformers.modeling_outputs import BaseModelOutputWithPast, CausalLMOutputWithPast
|
14 |
from transformers.utils import logging
|
15 |
+
from transformers.generation.utils import GenerationConfig
|
16 |
|
17 |
from .configuration_baichuan import BaichuanConfig
|
18 |
|