Eddited max length
This commit is contained in:
parent
ecd88b2531
commit
f0ff04b6ac
@ -12,7 +12,7 @@ from Encoder import Encoder
|
||||
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
||||
SOS=0
|
||||
EOS=1
|
||||
MAX_LENGTH=25
|
||||
MAX_LENGTH=40
|
||||
|
||||
def clear_line(string):
|
||||
string = ''.join(
|
||||
|
@ -13,7 +13,7 @@ from Vocab import Vocab
|
||||
from Encoder import Encoder
|
||||
from Decoder import Decoder
|
||||
|
||||
MAX_LENGTH = 25
|
||||
MAX_LENGTH = 40
|
||||
SOS=0
|
||||
EOS=1
|
||||
teacher_forcing_ratio=0.5
|
||||
|
Loading…
Reference in New Issue
Block a user