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")
The given dataset format does not match the given example at README.md. I thought I should be passing the fields 'old' and 'comment' as input, but that does not work either. Can you help me?
· Sign up or log in to comment