OpenBMB / ModelCenter

Efficient, Low-Resource, Distributed transformer implementation based on BMTrain
https://modelcenter.readthedocs.io
Apache License 2.0
243 stars 30 forks source link

[FEATURE] Can we have an example of transfering ModelCenter weights into HF weights? #46

Open MohamedAdelNaguib opened 7 months ago

MohamedAdelNaguib commented 7 months ago

Is your feature request related to a problem? Please describe. I am trying to do inference using the RandomSampling and it does not work, i want to use hf api