bhadresh-savani
commited on
Commit
·
b058840
1
Parent(s):
b5ae0fc
added tf abd
Browse files
convert_pytorch_to_tensorflow.py
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
from transformers import TFAutoModelForTokenClassification
|
2 |
+
model = TFAutoModelForTokenClassification.from_pretrained("./", from_pt=True)
|
3 |
+
model.save_pretrained("./")
|