Add session context, increase logging.
This commit is contained in:
parent
359f858c39
commit
bb7d438e0d
7 changed files with 103 additions and 77 deletions
|
@ -125,7 +125,9 @@ def main():
|
|||
knowledge=base_knowledge,
|
||||
)
|
||||
|
||||
differences = knowledge.train(examples)
|
||||
for example in examples:
|
||||
with session().log(example['text']):
|
||||
differences = knowledge.train([example])
|
||||
|
||||
session().annotate("----")
|
||||
session().annotate(differences())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue