mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-22 18:12:00 +03:00
fix seed
This commit is contained in:
parent
c225991930
commit
bc2e082192
|
@ -68,6 +68,7 @@ PARTIAL_DATA = [
|
|||
|
||||
|
||||
def test_label_smoothing():
|
||||
util.fix_random_seed()
|
||||
nlp = Language()
|
||||
tagger_no_ls = nlp.add_pipe(
|
||||
"tagger", "no_label_smoothing", config=dict(label_smoothing=0.0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user