Add bert_padding
Browse files- __init__.py +6 -1
__init__.py
CHANGED
|
@@ -34,7 +34,10 @@ from .model import (
|
|
| 34 |
FlexBertForSequenceClassification,
|
| 35 |
FlexBertForMultipleChoice,
|
| 36 |
)
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
__all__ = [
|
| 40 |
"BertAlibiEmbeddings",
|
|
@@ -65,4 +68,6 @@ __all__ = [
|
|
| 65 |
"FlexBertForMaskedLM",
|
| 66 |
"FlexBertForSequenceClassification",
|
| 67 |
"FlexBertForMultipleChoice",
|
|
|
|
|
|
|
| 68 |
]
|
|
|
|
| 34 |
FlexBertForSequenceClassification,
|
| 35 |
FlexBertForMultipleChoice,
|
| 36 |
)
|
| 37 |
+
from .bert_padding import(
|
| 38 |
+
IndexFirstAxis,
|
| 39 |
+
IndexPutFirstAxis
|
| 40 |
+
)
|
| 41 |
|
| 42 |
__all__ = [
|
| 43 |
"BertAlibiEmbeddings",
|
|
|
|
| 68 |
"FlexBertForMaskedLM",
|
| 69 |
"FlexBertForSequenceClassification",
|
| 70 |
"FlexBertForMultipleChoice",
|
| 71 |
+
"IndexFirstAxis,
|
| 72 |
+
"IndexPutFirstAxis"
|
| 73 |
]
|