yandexdataschool / nlp_course

YSDA course in Natural Language Processing
https://lena-voita.github.io/nlp_course.html
MIT License
9.79k stars 2.59k forks source link

min_len arg added to make_batch fun #140

Open germanKoch opened 10 months ago

germanKoch commented 10 months ago

'explain' function does not work if neural network contains Conv1D layer with kernel_size=3, sinse some Titles contain only two tokens.

To fixed that, the min_len parameter is added.

review-notebook-app[bot] commented 10 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB