pytorch/text

Ignoring UNK words

Open

#355 ouverte le 22 juil. 2018

Voir sur GitHub
 (7 commentaires) (0 réactions) (0 assignés)Python (822 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (3 396 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Cannot find the way to ignore UNK words when numericalising, i.e. instead by substituting them by a 0, it just ignore that word.

Is that implemented?

This is useful in classification problems, when you just want to remove 'UNK' words.

Guide contributeur