D:\pythonProject18\.venv\Scripts\python.exe D:\pythonProject18\main.py 2024-11-18…
- User
D:\pythonProject18.venv\Scripts\python.exe D:\pythonProject18\main.py 2024-11-18 15:18:03.056996: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable
TF_ENABLE_ONEDNN_OPTS=0. 2024-11-18 15:18:16.229253: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variableTF_ENABLE_ONEDNN_OPTS=0. [nltk_data] Downloading package stopwords to [nltk_data] C:\Users\admin\AppData\Roaming\nltk_data... [nltk_data] Package stopwords is already up-to-date! Препроцессинг завершен. Вопросы после препроцессинга: ['зовут', 'сколько тебе лет', 'откуда', 'занимаешься', 'сегодня день'] Ответы после препроцессинга: ['зовут алекс', '25 лет', 'москвы', 'изучаю машинное обучение', 'сегодня среда'] Размер словаря вопросов: 10 Размер словаря ответов: 14 Данные подготовлены. 2024-11-18 15:18:38.390784: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. WARNING:tensorflow:From D:\pythonProject18.venv\Lib\site-packages\keras\src\backend\tensorflow\core.py:204: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.D:\pythonProject18.venv\Lib\site-packages\keras\src\layers\layer.py:932: UserWarning: Layer 'bahdanau_attention' (of type BahdanauAttention) was passed an input with a mask attached to it. However, this layer does not support masking and will therefore destroy the mask information. Downstream layers will not see the mask. warnings.warn( Model: "functional" ┌─────────────────────┬───────────────────┬────────────┬───────────────────┐ │ Layer (type) │ Output Shape │ Param # │ Connected to │ ├─────────────────────┼───────────────────┼────────────┼───────────────────┤ │ encoder_inputs │ (None, 3) │ 0 │ - │ │ (InputLayer) │ │ │ │ ├─────────────────────┼───────────────────┼────────────┼───────────────────┤ │ decoder_inputs │ (None, 4) │ 0 │ - │ │ (InputLayer) │ │ │ │ ├─────────────────────┼───────────────────┼────────────┼───────────────────┤ │ encoder_embedding │ (None, 3, 128) │ 1,280 │ encoder_inputs[0… │ │ (Embedding) │ │ │ │ ├─────────────────────┼───────────────────┼────────────┼───────────────────┤ │ not_equal │ (None, 3) │ 0 │ encoder_inputs[0… │ │ (NotEqual) │ │ │ │ ├─────────────────────┼───────────────────┼────────────┼───────────────────┤ │ decoder_embedding │ (None, 4, 128) │ 1,792 │ decoder_inputs[0… │ │ (Embedding) │ │ │ │ ├─────────────────────┼───────────────────┼────────────┼───────────────────┤ │ encoder_lstm (LSTM) │ [(None, 3, 256), │ 394,240 │ encoder_embeddin… │ │ │ (None, 256), │ │ not_equal[0][0] │ │ │ (None, 256)] │ │ │ ├─────────────────────┼───────────────────┼────────────┼───────────────────┤ │ decoder_lstm (LSTM) │ [(None, 4, 256), │ 394,240 │ decoder_embeddin… │ │ │ (None, 256), │ │ encoder_lstm[0][… │ │ │ (None, 256)] │ │ encoder_lstm[0][… │ ├─────────────────────┼───────────────────┼────────────┼───────────────────┤ │ bahdanau_attention │ (None, 4, 256) │ 131,841 │ decoder_lstm[0][… │ │ (BahdanauAttention) │ │ │ encoder_lstm[0][… │ ├─────────────────────┼───────────────────┼────────────┼───────────────────┤ │ concatenate │ (None, 4, 512) │ 0 │ decoder_lstm[0][… │ │ (Concatenate) │ │ │ bahdanau_attenti… │ ├─────────────────────┼───────────────────┼────────────┼───────────────────┤ │ decoder_dense │ (None, 4, 14) │ 7,182 │ concatenate[0][0] │ │ (Dense) │ │ │ │ └─────────────────────┴───────────────────┴────────────┴───────────────────┘ Total params: 930,575 (3.55 MB) Trainable params: 930,575 (3.55 MB) Non-trainable params: 0 (0.00 B) Epoch 1/100 D:\pythonProject18.venv\Lib\site-packages\keras\src\models\functional.py:225: UserWarning: The structure of doesn't match the expected structure: ['encoder_inputs', 'decoder_inputs']. Received: the structure of inputs=('') warnings.warn(
- Assistant