初始化项目,由ModelHub XC社区提供模型

Model: dkleczek/papuGaPT2
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-08-23 18:01:18 +08:00
commit 2055174cf5
62 changed files with 58964 additions and 0 deletions

5
convert_to_pytorch.py Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env python3
from transformers import GPT2LMHeadModel
model = GPT2LMHeadModel.from_pretrained("./", from_flax=True)
model.save_pretrained("./")