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

Not enough values to unpack (expected 3, got 0) #23

Open
nadimkaysar opened this issue Nov 16, 2021 · 0 comments
Open

Not enough values to unpack (expected 3, got 0) #23

nadimkaysar opened this issue Nov 16, 2021 · 0 comments

Comments

@nadimkaysar
Copy link

nadimkaysar commented Nov 16, 2021

I have run below command successfully :

git clone https://github.com/bme-chatbots/dialogue-generation.git
cd dialogue-generation
pip install -r requirements.txt
python setup.py build_ext --inplace

After That I use my custom dataset which folder structure is: data/custom_dataset /train.txt, valid.txt, test.txt
Is there any change in data.py to read custom_dataset???
then I execute
python -m src.train --model gpt2-medium --data custom_dataset --name mychatbot

finally i got this error. How can i sove it????

epoch train_loss train_acc train_ppl valid_loss valid_acc valid_ppl
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\ProgramData\Anaconda3\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\Md. Nadim Kaysar\Documents\Gpt2 V2\dialogue-generation\src\train.py", line 830, in
main()
File "C:\Users\Md. Nadim Kaysar\Documents\Gpt2 V2\dialogue-generation\src\train.py", line 758, in main
valid_loss, valid_acc, valid_ppl = [
ValueError: not enough values to unpack (expected 3, got 0)

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

1 participant