Update modeling_hyena.py
Browse files- modeling_hyena.py +1 -0
modeling_hyena.py
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
"""StripedHyena custom code port for the Hugging Face Hub"""
|
3 |
|
4 |
import torch
|
|
|
5 |
from torch.nn import functional as F
|
6 |
from .configuration_hyena import StripedHyenaConfig
|
7 |
from transformers import PreTrainedModel
|
|
|
2 |
"""StripedHyena custom code port for the Hugging Face Hub"""
|
3 |
|
4 |
import torch
|
5 |
+
import functools
|
6 |
from torch.nn import functional as F
|
7 |
from .configuration_hyena import StripedHyenaConfig
|
8 |
from transformers import PreTrainedModel
|