2024-11-27 20:27:51.845022: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. 2024-11-27 20:27:52.768738: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libcudnn.so.8: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/home/gpu/NLP/.env/lib/python3.10/site-packages/tensorrt:/home/gpu/NLP/.env/lib/python3.10/site-packages/tensorrt 2024-11-27 20:27:52.768771: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly. HooshvareLab/bert-base-parsbert-ner-uncased ################################################## ################################################## 2024-11-27 20:27:54,011 Reading data from data 2024-11-27 20:27:54,012 Train: data/data110.txt 2024-11-27 20:27:54,012 Dev: None 2024-11-27 20:27:54,012 Test: None 2024-11-27 20:27:54,081 No test split found. Using 10% (i.e. 11 samples) of the train split as test data 2024-11-27 20:27:54,082 No dev split found. Using 10% (i.e. 10 samples) of the train split as dev data 2024-11-27 20:27:54,082 Computing label dictionary. Progress: 0it [00:00, ?it/s] 0it [00:00, ?it/s] 0it [00:00, ?it/s] 89it [00:00, 16180.19it/s] 2024-11-27 20:27:54,090 Dictionary created for label 'ner' with 12 values: Org (seen 187 times), Sub (seen 125 times), Href (seen 123 times), Adv (seen 81 times), Aim (seen 37 times), Ref (seen 24 times), Act (seen 22 times), Pro (seen 15 times), Date (seen 14 times), Fac (seen 3 times), Num (seen 3 times), Event (seen 2 times) tf_model.h5: 0%| | 0.00/652M [00:00-key by setting add_unk = True in the construction. 0%| | 0/1 [00:00 evaluate_result = do_evaluate() File "/home/gpu/tnlp/jokar/Flair_NER/evaluate_model.py", line 13, in do_evaluate result = tagger.evaluate(corpus.test, gold_label_type='ner', mini_batch_size=8) File "/home/gpu/NLP/.env/lib/python3.10/site-packages/flair/nn/model.py", line 297, in evaluate loss_and_count = self.predict( File "/home/gpu/NLP/.env/lib/python3.10/site-packages/flair/models/sequence_tagger_model.py", line 501, in predict gold_labels = self._prepare_label_tensor(batch) File "/home/gpu/NLP/.env/lib/python3.10/site-packages/flair/models/sequence_tagger_model.py", line 425, in _prepare_label_tensor [self.label_dictionary.get_idx_for_item(label) for label in gold_labels], File "/home/gpu/NLP/.env/lib/python3.10/site-packages/flair/models/sequence_tagger_model.py", line 425, in [self.label_dictionary.get_idx_for_item(label) for label in gold_labels], File "/home/gpu/NLP/.env/lib/python3.10/site-packages/flair/data.py", line 102, in get_idx_for_item raise IndexError IndexError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/gpu/tnlp/jokar/Flair_NER/train.py", line 164, in {str(e.args[0])}""" IndexError: tuple index out of range