Replacing dbutils in the training/generation code

#20
by abhi24 - opened

Hello!
I'm trying to run the generation.py and pipeline.py from the dolly repo. Run into the following error. Pls advise.

Traceback (most recent call last):
File "/home/ubuntu/dolly/examples/generation.py", line 30, in
dbutils.widgets.combobox("input_model", default_model, suggested_models, "input_model")
NameError: name 'dbutils' is not defined

As I understand, the dbutils is a databricks compliant library. How do I replace it to work with Python?

Thanks

Databricks org

That's specific to Databricks. Just comment it out and instead assign whatever value you want to the variable in the script that it sets

srowen changed discussion status to closed

Sign up or log in to comment