Upload custom_nodes/comfyui_controlnet_aux/src/custom_mesh_graphormer/modeling/bert/modeling_bert.py with huggingface_hub
Browse files
custom_nodes/comfyui_controlnet_aux/src/custom_mesh_graphormer/modeling/bert/modeling_bert.py
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from transformers.models.bert import modeling_bert
|
| 2 |
+
|
| 3 |
+
for symbol in dir(modeling_bert):
|
| 4 |
+
if not symbol.startswith("_"):
|
| 5 |
+
globals()[symbol] = getattr(modeling_bert, symbol)
|