Skip to content

Commit c214e0a

Browse files
authored
Update convert_roformer_original_tf_checkpoint_to_pytorch.py
1 parent e7df421 commit c214e0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/roformer/convert_roformer_original_tf_checkpoint_to_pytorch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
import torch
2121

22-
from transformers import RoFormerConfig, RoFormerForMaskedLM, load_tf_weights_in_roformer
22+
from roformer import RoFormerConfig, RoFormerForMaskedLM, load_tf_weights_in_roformer
2323
from transformers.utils import logging
2424

2525

0 commit comments

Comments
 (0)