gesistsa / grafzahl

🧛 fine-tuning Transformers for text data from within R
https://gesistsa.github.io/grafzahl/
GNU General Public License v3.0
41 stars 2 forks source link

Base 0 for y #4

Closed chainsawriot closed 2 years ago

chainsawriot commented 2 years ago

The label y must be base-0. Therefore, as.factor() a vector will create error in the downstream Python task because as.factor() is base 1.