Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Убрать *start* #7

Closed
ksuab opened this issue Mar 31, 2018 · 1 comment
Closed

Убрать *start* #7

ksuab opened this issue Mar 31, 2018 · 1 comment

Comments

@ksuab
Copy link
Collaborator

ksuab commented Mar 31, 2018

text_generator/train.py

Lines 63 to 66 in 9d2d037

b1 = '*start*'
for b2 in words:
yield (b1, b2)
b1 = b2

Идея твоя понятна в принципе, но она порождает неверное поведение генератора, который на seed *start* генерирует текст. Подумай как решить эту проблему

@garrrikkotua
Copy link
Owner

Changed for generating bigrams from two first words

@ksuab ksuab reopened this Apr 15, 2018
@ksuab ksuab closed this as completed Apr 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants