Update modeling_switchllama.py
Browse files- modeling_switchllama.py +1 -1
modeling_switchllama.py
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
from transformers.models.llama.modeling_llama import *
|
4 |
from torch import nn
|
5 |
import torch
|
6 |
-
from configuration_switchllama import SwitchLlamaConfig
|
7 |
|
8 |
|
9 |
def router_z_loss_func(router_logits: torch.Tensor) -> float:
|
|
|
3 |
from transformers.models.llama.modeling_llama import *
|
4 |
from torch import nn
|
5 |
import torch
|
6 |
+
from .configuration_switchllama import SwitchLlamaConfig
|
7 |
|
8 |
|
9 |
def router_z_loss_func(router_logits: torch.Tensor) -> float:
|