boun-tabi-LMG / turkish-lm-tuner

Turkish LM Tuner
https://boun-tabi-lmg.github.io/turkish-lm-tuner/
MIT License
73 stars 6 forks source link

Fix push to hub #52

Closed gokceuludogan closed 5 months ago

gokceuludogan commented 5 months ago

This pull request fixes the bug occurred in pushing models to HF hub. AutoModel has been replaced with AutoModelForSeq2SeqLM.

gokceuludogan commented 5 months ago

The script should be refactored for the encoder-based models, though.