PS E:\aiv2> python nowy2.py 2024-11-02 16:46:30.843311: I…
- User
PS E:\aiv2> python nowy2.py 2024-11-02 16:46:30.843311: 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-02 16:46:31.607111: 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. Using TensorFlow backend. WARNING:tensorflow:From C:\Program Files\Python39\lib\site-packages\tf_keras\src\losses.py:2976: The name tf.losses.sparse_softmax_cross_entropy is deprecated. Please use tf.compat.v1.losses.sparse_softmax_cross_entropy instead.=== Simple Tensor Test === 2024-11-02 16:46:35.606121: 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. Result of tensor addition: [5. 7. 9.]
Tokenizer załadowany pomyślnie. Zbiór danych załadowany pomyślnie. Dostępne kolumny: ['id', 'title', 'abstract', 'authors', 'published_date', 'link', 'markdown'] Używanie kolumny tekstowej: title Przetwarzanie danych: 100%|████████████████████████████████████████████████████| 63357/63357 [00:19<00:00, 3224.89it/s] Przetwarzanie zbioru danych zakończone. WARNING:tensorflow:From C:\Program Files\Python39\lib\site-packages\tf_keras\src\backend.py:873: The name tf.get_default_graph is deprecated. Please use tf.compat.v1.get_default_graph instead.
All PyTorch model weights were used when initializing TFT5ForConditionalGeneration.
All the weights of TFT5ForConditionalGeneration were initialized from the PyTorch model. If your task is similar to the task the model of the checkpoint was trained on, you can already use TFT5ForConditionalGeneration for predictions without further training. Model załadowany pomyślnie. Forward pass zakończony sukcesem. Model skompilowany pomyślnie. Błąd podczas treningu: 'LossHistory' object has no attribute '_implements_train_batch_hooks' Traceback (most recent call last): File "E:\aiv2\nowy2.py", line 217, in main model.fit( File "C:\Program Files\Python39\lib\site-packages\transformers\modeling_tf_utils.py", line 1229, in fit return super().fit(*args, **kwargs) File "C:\Program Files\Python39\lib\site-packages\tf_keras\src\utils\traceback_utils.py", line 70, in error_handler raise e.with_traceback(filtered_tb) from None File "C:\Program Files\Python39\lib\site-packages\tf_keras\src\callbacks.py", line 245, in if cb._implements_train_batch_hooks() AttributeError: 'LossHistory' object has no attribute '_implements_train_batch_hooks'
- Assistant