Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasTR committed Apr 14, 2023
1 parent 826b880 commit 2fb307a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protbert/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def main(
print(f"Using model {huggingface_model_name}")

# Load models and tokenizer
tokenizer = AutoTokenizer.from_pretrained(model_name, do_lower_case=False)
tokenizer = AutoTokenizer.from_pretrained(huggingface_model_name, do_lower_case=False)
masked_model = AutoModelForMaskedLM.from_pretrained(huggingface_model_name)
generator_model = AutoModelForCausalLM.from_pretrained(huggingface_model_name)
plain_model = AutoModel.from_pretrained(huggingface_model_name)
Expand Down

0 comments on commit 2fb307a

Please sign in to comment.