from transformers import GPT2LMHeadModel | |
model = GPT2LMHeadModel.from_pretrained("./", from_flax=True) | |
model.save_pretrained("./") |
from transformers import GPT2LMHeadModel | |
model = GPT2LMHeadModel.from_pretrained("./", from_flax=True) | |
model.save_pretrained("./") |