hirupert / sede

Text-to-SQL in the Wild: A Naturally-Occurring Dataset Based on Stack Exchange Data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

oemd001 opened this issue · 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

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.

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