Fixed a rare bug over training multiple times
This commit is contained in:
parent
25a6ad1254
commit
23d1eaf99e
@ -107,7 +107,7 @@ class NanoSocraTrainerPool:
|
|||||||
bpe = NanoSocratesBPE()
|
bpe = NanoSocratesBPE()
|
||||||
BPE = bpe
|
BPE = bpe
|
||||||
|
|
||||||
if BPE.vocabulary_size > self.__max_vocabulary:
|
if BPE.vocabulary_size >= self.__max_vocabulary:
|
||||||
return BPE
|
return BPE
|
||||||
|
|
||||||
exit = False
|
exit = False
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user