BioGPT icon indicating copy to clipboard operation
BioGPT copied to clipboard

Fine-tune for a Domain Text Generation

Open Aminolroaya opened this issue 2 years ago • 0 comments

Hi I want to fine-tune BioGPT in HuggingFace for Q&A in specific domain. I am using BioGptForCausalLM.from_pretrained("microsoft/biogpt")

When I train the model using Trainer.Train(), I get the error "The model did not return a loss from the inputs, only the following keys: logits,past_key_values. For reference, the inputs it received are input_ids,attention_mask."

Which checkpoint call should I use?

Aminolroaya avatar Aug 15 '23 23:08 Aminolroaya