duzx16
commited on
Commit
•
d4cd7d0
1
Parent(s):
9efadf3
Remove unused
Browse files- modeling_chatglm.py +0 -1
modeling_chatglm.py
CHANGED
@@ -10,7 +10,6 @@ import torch
|
|
10 |
import torch.utils.checkpoint
|
11 |
import torch.nn.functional as F
|
12 |
from torch import nn
|
13 |
-
from torch.nn import CrossEntropyLoss, LayerNorm
|
14 |
from torch.nn import CrossEntropyLoss, LayerNorm, MSELoss, BCEWithLogitsLoss
|
15 |
from torch.nn.utils import skip_init
|
16 |
from typing import Optional, Tuple, Union, List, Callable, Dict, Any
|
|
|
10 |
import torch.utils.checkpoint
|
11 |
import torch.nn.functional as F
|
12 |
from torch import nn
|
|
|
13 |
from torch.nn import CrossEntropyLoss, LayerNorm, MSELoss, BCEWithLogitsLoss
|
14 |
from torch.nn.utils import skip_init
|
15 |
from typing import Optional, Tuple, Union, List, Callable, Dict, Any
|