FartyPants / Training_PRO

Traing PRO extension for oobabooga WebUI - recent dev version
MIT License
46 stars 2 forks source link

KeyError: 'truncation_length_max' #18

Open dazzling2019 opened 2 months ago

dazzling2019 commented 2 months ago

Do you know what could be causing this error in textgenui when I try to load the training pro extension Windows 11? I have reinstalled it from the latest repo with the same issue.

11:18:40-915414 INFO Starting Text generation web UI

Running on local URL: http://127.0.0.1:7860

Closing server running on port: 7860 11:18:56-034085 INFO Loading the extension "Training_PRO" ╭───────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────╮ │ C:\Users\dazl1\Downloads\text-generation-webui-main\server.py:279 in │ │ │ │ 278 time.sleep(0.5) │ │ ❱ 279 create_interface() │ │ 280 │ │ │ │ C:\Users\dazl1\Downloads\text-generation-webui-main\server.py:165 in create_interface │ │ │ │ 164 │ │ ❱ 165 extensions_module.create_extensions_tabs() # Extensions tabs │ │ 166 extensions_module.create_extensions_block() # Extensions block │ │ │ │ C:\Users\dazl1\Downloads\text-generation-webui-main\modules\extensions.py:207 in create_extensions_tabs │ │ │ │ 206 with gr.Tab(display_name, elem_classes="extension-tab"): │ │ ❱ 207 extension.ui() │ │ 208 │ │ │ │ C:\Users\dazl1\Downloads\text-generation-webui-main\extensions\Training_PRO\script.py:244 in ui │ │ │ │ 243 with gr.Column(): │ │ ❱ 244 max_length = gr.Slider(label='max_length', minimum=0, maximum=sh │ │ 245 │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ KeyError: 'truncation_length_max' Press any key to continue . . .