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 = bpe
|
||||
|
||||
if BPE.vocabulary_size > self.__max_vocabulary:
|
||||
if BPE.vocabulary_size >= self.__max_vocabulary:
|
||||
return BPE
|
||||
|
||||
exit = False
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user