You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: