Yuchan commited on
Update AlphaS2S.py
Browse files269 unmodified lines270271272273273274275276269 unmodified lines
with strategy.scope(): # ⚠️ 수정: chat_vocab_size 대신 정의된 vocab_size 사용 chat_model = Transformer(num_layers=2, d_model=160, num_heads=4, dff=640, input_vocab_size=vocab_size, target_vocab_size=evocab_size, max_len=128, dropout=0.1) chat_model = Transformer(num_layers=6, d_model=256, num_heads=4, dff=768, input_vocab_size=vocab_size, target_vocab_size=evocab_size, max_len=128, dropout=0.1) dummy_input = { "enc_inputs": tf.zeros((1, max_len), dtype=tf.int32),AlphaS2S.py+1-1