30 lines
2.9 KiB
Plaintext
30 lines
2.9 KiB
Plaintext
|
2024-11-26 19:36:42.674050: 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-26 19:36:44.065624: 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-26 19:36:44.065654: 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.
|
||
|
orgcatorg/xlm-v-base-ner
|
||
|
##################################################
|
||
|
##################################################
|
||
|
2024-11-26 19:36:45,897 Reading data from data
|
||
|
2024-11-26 19:36:45,897 Train: data/data110.txt
|
||
|
2024-11-26 19:36:45,897 Dev: None
|
||
|
2024-11-26 19:36:45,898 Test: None
|
||
|
2024-11-26 19:36:45,968 No test split found. Using 10% (i.e. 11 samples) of the train split as test data
|
||
|
2024-11-26 19:36:45,968 No dev split found. Using 10% (i.e. 10 samples) of the train split as dev data
|
||
|
2024-11-26 19:36:45,968 Computing label dictionary. Progress:
|
||
|
0it [00:00, ?it/s]
0it [00:00, ?it/s]
|
||
|
0it [00:00, ?it/s]
89it [00:00, 16677.53it/s]
|
||
|
2024-11-26 19:36:45,976 Dictionary created for label 'ner' with 12 values: Org (seen 185 times), Href (seen 122 times), Sub (seen 119 times), Adv (seen 78 times), Aim (seen 49 times), Act (seen 23 times), Ref (seen 23 times), Date (seen 16 times), Pro (seen 15 times), Fac (seen 6 times), Num (seen 3 times), Event (seen 2 times)
|
||
|
Traceback (most recent call last):
|
||
|
File "/home/gpu/tnlp/jokar/Flair_NER/train.py", line 68, in <module>
|
||
|
embeddings = TransformerWordEmbeddings(model= model,
|
||
|
File "/home/gpu/NLP/.env/lib/python3.10/site-packages/flair/embeddings/token.py", line 47, in __init__
|
||
|
TransformerEmbeddings.__init__(
|
||
|
File "/home/gpu/NLP/.env/lib/python3.10/site-packages/flair/embeddings/transformer.py", line 1086, in __init__
|
||
|
transformer_model = AutoModel.from_pretrained(
|
||
|
File "/home/gpu/NLP/.env/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 564, in from_pretrained
|
||
|
return model_class.from_pretrained(
|
||
|
File "/home/gpu/NLP/.env/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3708, in from_pretrained
|
||
|
raise EnvironmentError(
|
||
|
OSError: orgcatorg/xlm-v-base-ner does not appear to have a file named pytorch_model.bin, model.safetensors, tf_model.h5, model.ckpt or flax_model.msgpack.
|