Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Seq2SeqDatasetReader.text_to_instance: inputs must be present #3

Open
oemd001 opened this issue Mar 10, 2023 · 2 comments
Open

Comments

@oemd001
Copy link

oemd001 commented Mar 10, 2023

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

@benbogin
Copy link
Collaborator

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.

@oemd001
Copy link
Author

oemd001 commented Mar 13, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants