You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that available_uriel_languages does not work properly. I am not sure why it is filtered according to fam features, but the filtering itself seems buggy. The resulting mask has only ~3.5k elements, even though we have 7k languages with URIEL features. All of elements in the mask are True. Additionally, the number 3.5k is exactly equal to the number of language families. I suspect that the reduction in np.all might being done along wrong axis.
I have sidestepped the issue for now by using data directly from the feature_predictions.npz file.
I've noticed that
available_uriel_languages
does not work properly. I am not sure why it is filtered according tofam
features, but the filtering itself seems buggy. The resulting mask has only ~3.5k elements, even though we have 7k languages with URIEL features. All of elements in the mask areTrue
. Additionally, the number 3.5k is exactly equal to the number of language families. I suspect that the reduction innp.all
might being done along wrong axis.I have sidestepped the issue for now by using data directly from the
feature_predictions.npz
file.lang2vec/lang2vec/lang2vec.py
Lines 57 to 69 in 82ab445
The text was updated successfully, but these errors were encountered: