sede icon indicating copy to clipboard operation
sede copied to clipboard

TypeError: Seq2SeqDatasetReader.text_to_instance: `inputs` must be present

Open oemd001 opened this issue 2 years ago • 2 comments

Hello,

I am attempting to train the T5 model with the command below: python3 main_allennlp.py train configs/t5_text2sql_sede.jsonnet -s experiments/name_of_experiment --include-package src

However, for some reason, I am getting the issue (as stated on the title as well as the image below). What should I do to get past this issue?

It's noting that I am running this on a WSL (Windows Subsystem for Linux) environment.

Thank you for your help in advance!

image

oemd001 avatar Mar 10 '23 12:03 oemd001

Hi, if you're running the code as is and get this error, I'd guess that there's some versioning issue - please make sure you've installed all requirements through the requirements.txt file, and try using python 3.6 or 3.7 which we've used during development.

benbogin avatar Mar 12 '23 07:03 benbogin

Ah, gotcha. I was using Python 3.10 on my machine. I'll keep you updated on how things go on my end! Thank you

oemd001 avatar Mar 13 '23 14:03 oemd001