Text Generation
Transformers
Safetensors
kphi3
conversational
custom_code
schuler commited on
Commit
d506bf5
1 Parent(s): 10306be

Update modeling_kphi3.py

Browse files
Files changed (1) hide show
  1. modeling_kphi3.py +1 -0
modeling_kphi3.py CHANGED
@@ -32,6 +32,7 @@ from torch import nn
32
  from torch.nn import BCEWithLogitsLoss, CrossEntropyLoss, MSELoss
33
 
34
  from transformers.activations import ACT2FN
 
35
  from transformers.cache_utils import Cache, DynamicCache
36
  from transformers.modeling_attn_mask_utils import _prepare_4d_causal_attention_mask
37
  from transformers.modeling_outputs import (
 
32
  from torch.nn import BCEWithLogitsLoss, CrossEntropyLoss, MSELoss
33
 
34
  from transformers.activations import ACT2FN
35
+ from transformers.generation import GenerationMixin
36
  from transformers.cache_utils import Cache, DynamicCache
37
  from transformers.modeling_attn_mask_utils import _prepare_4d_causal_attention_mask
38
  from transformers.modeling_outputs import (