Dolly + LangChain SQL Chain

#24
by Chintan-Donda - opened

I want to use Dolly v2 to generate SQL query and retrieve the results using LangChain in natural language.
Similar to this discussion [https://huggingface.co/databricks/dolly-v2-3b/discussions/15].
Is it possible?
If not, any good Open-source model that could be used?
NOTE: I can't use OpenAI model as my data are sensitive.

Databricks org

Text-gen models that were not trained on code are probably not good for this. I find OpenAI even doesn't work well with that chain, so I don't think the chain itself is really realistic to use beyond simple cases.
At the least, try the 12B model here, or MPT instruct 7B.

srowen changed discussion status to closed

Sign up or log in to comment