You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello: You should be able to safely ignore the error. The 404 error simply means that transformers was not able to find a Tensorflow version of this particular model. In this case, the PyTorch version of the model checkpoint will be downloaded and then be loaded by ktrain as a Tensorflow model for training/fine-tuning. If you type model.summary(), it should show that the model was loaded successfully.
Hello,
thanks for the very nice library. I am using a pretrained transformer from HuggingFace with the code below
MODEL_NAME = 'nboost/pt-bert-base-uncased-msmarco'
t = txt.Transformer(MODEL_NAME, maxlen=500, class_names=['S', 'N'])
trn = t.preprocess_train(train_docs, train_labels)
val = t.preprocess_test(test_docs, test_labels)
model = t.get_classifier()
and the execution of the last line of code returns me:
404 Client Error: Not Found for url: https://huggingface.co/nboost/pt-bert-base-uncased-msmarco/resolve/main/tf_model.h5
it looks like the file is no more present on the remote server. am I right?
what do you think?
thanks in advance,
Franco Maria
The text was updated successfully, but these errors were encountered: