mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-15 18:52:29 +03:00
black
This commit is contained in:
parent
bc2e082192
commit
1507e357dc
|
@ -73,9 +73,7 @@ def test_label_smoothing():
|
||||||
tagger_no_ls = nlp.add_pipe(
|
tagger_no_ls = nlp.add_pipe(
|
||||||
"tagger", "no_label_smoothing", config=dict(label_smoothing=0.0)
|
"tagger", "no_label_smoothing", config=dict(label_smoothing=0.0)
|
||||||
)
|
)
|
||||||
tagger_ls = nlp.add_pipe(
|
tagger_ls = nlp.add_pipe("tagger", "label_smoothing")
|
||||||
"tagger", "label_smoothing"
|
|
||||||
)
|
|
||||||
train_examples = []
|
train_examples = []
|
||||||
losses = {}
|
losses = {}
|
||||||
for tag in TAGS:
|
for tag in TAGS:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user