jiajunlong commited on
Commit
a48fa5a
1 Parent(s): 3f2a050

Update modeling_tinyllava_elm.py

Browse files
Files changed (1) hide show
  1. modeling_tinyllava_elm.py +1 -0
modeling_tinyllava_elm.py CHANGED
@@ -6,6 +6,7 @@ import re
6
  import torch
7
  import torch.utils.checkpoint
8
  from torch import nn, Tensor
 
9
 
10
  from transformers import PreTrainedModel
11
  from transformers.modeling_outputs import CausalLMOutputWithPast
 
6
  import torch
7
  import torch.utils.checkpoint
8
  from torch import nn, Tensor
9
+ from torch.nn import functional as F
10
 
11
  from transformers import PreTrainedModel
12
  from transformers.modeling_outputs import CausalLMOutputWithPast