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
ValueError: Connection error, and we cannot find the requested files in the cached path. Please try again or make sure your Internet connection is on.
#41
When I called BioTransformers using transformer_bfd = BioTransformers(backend='protbert_bfd', num_gpus=num_gpus), I encountered an error. I want to download protbert_bfd locally, but I couldn't find a way to specify the path in BioTransformers. I tried to set up the model using the transformers library as follows:
from transformers import BertTokenizer, BertForMaskedLM
tokenizer = BertTokenizer.from_pretrained(model_name, local_files_only=True)
model = BertForMaskedLM.from_pretrained(model_name, local_files_only=True, output_hidden_states=True)
However, the results seem to be different.
The text was updated successfully, but these errors were encountered:
When I called BioTransformers using transformer_bfd = BioTransformers(backend='protbert_bfd', num_gpus=num_gpus), I encountered an error. I want to download protbert_bfd locally, but I couldn't find a way to specify the path in BioTransformers. I tried to set up the model using the transformers library as follows:
from transformers import BertTokenizer, BertForMaskedLM
tokenizer = BertTokenizer.from_pretrained(model_name, local_files_only=True)
model = BertForMaskedLM.from_pretrained(model_name, local_files_only=True, output_hidden_states=True)
However, the results seem to be different.
The text was updated successfully, but these errors were encountered: