How to use microsoft/codereviewer with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("microsoft/codereviewer") model = AutoModelForSeq2SeqLM.from_pretrained("microsoft/codereviewer")
I added a code tag to easily find the model among other code models as well as a model description.
code
Β· Sign up or log in to comment