Skip to content

added simplified BERT support#791

Closed
varisd wants to merge 3 commits into
masterfrom
bert_simple
Closed

added simplified BERT support#791
varisd wants to merge 3 commits into
masterfrom
bert_simple

Conversation

@varisd

@varisd varisd commented Feb 6, 2019

Copy link
Copy Markdown
Member

Includes:

  • BERT like training using TransformerEncoder + SequenceLabeler
  • Data preparation script
  • tests/bert.ini with an example
  • T2T batching scheme fetching from PR T2T batching #786

@varisd varisd force-pushed the bert_simple branch 2 times, most recently from 8f7b2d6 to 1c16164 Compare February 6, 2019 19:25

@jlibovicky jlibovicky left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tohle mi taky přijde dobrý, jenom se musíme domluvit, co tim labelerem.

@@ -1,12 +1,12 @@
from typing import Dict, Union
from typing import Dict

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OMG, přesně tyhlety změny mám už od října v nějaký větvi, ale čekal jsem, až Jindra dodělá tf.Dataset a mám s tím nějaké modely, co bych dál rád používal. Máš tohle už v hodně modelech?

@varisd varisd Feb 21, 2019

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Experimenty s BERTem mam zatim on-hold, takze no problem.

Klidne tenhle PR zavri a pouzij tu svoji vetev.

@@ -0,0 +1,79 @@
#!/usr/bin/env python3
# Creates training data for the BERT network training

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tohle se nepíše do komentáže, ale prostě začneš psát text do """ stringu, on se pak uloží do proměnné __doc__ a python ho považuje za dokumentaci.

@varisd

varisd commented Mar 14, 2019

Copy link
Copy Markdown
Member Author

Resolved by #798

@varisd varisd closed this Mar 14, 2019
@jlibovicky

Copy link
Copy Markdown
Contributor

Počkej, a co ten skriptíček a testíček, ty se hoděj, ne?

@varisd

varisd commented Mar 15, 2019

Copy link
Copy Markdown
Member Author

Jo, ty by se daly odsud vykuchat.

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

Successfully merging this pull request may close these issues.

2 participants