hiyouga commited on
Commit
3a663f5
1 Parent(s): 1f41c4b

Update modeling_baichuan.py

Browse files
Files changed (1) hide show
  1. 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