Upload modeling_esm_plusplus.py with huggingface_hub
Browse files- modeling_esm_plusplus.py +1 -7
modeling_esm_plusplus.py
CHANGED
|
@@ -32,13 +32,7 @@ except ImportError:
|
|
| 32 |
create_block_mask = None
|
| 33 |
flex_attention = None
|
| 34 |
|
| 35 |
-
|
| 36 |
-
from .embedding_mixin import EmbeddingMixin, Pooler
|
| 37 |
-
except ImportError:
|
| 38 |
-
try:
|
| 39 |
-
from ..embedding_mixin import EmbeddingMixin, Pooler
|
| 40 |
-
except ImportError:
|
| 41 |
-
from embedding_mixin import EmbeddingMixin, Pooler
|
| 42 |
|
| 43 |
|
| 44 |
|
|
|
|
| 32 |
create_block_mask = None
|
| 33 |
flex_attention = None
|
| 34 |
|
| 35 |
+
from embedding_mixin import EmbeddingMixin, Pooler
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
|
| 38 |
|