💜 PagedOut #4 Issue "Building automated machine learning with type inference"
Run AutoML using natural text. Like HuggingGPT + LangChain + type inference
🏭 A breakdown of what is going on in code you can read on my blog: maczan.pl
It picks a right model from Hugging Face library based on user natural language query and then runs the model and parses the output to a type, inferred from the query
⚡ You can run this code in Lightning AI Studio template
It's still an early project and you are welcome to contribute!
- Get OpenAI API Key
- Get Hugging Face API Key
- Create an assistant and copy its id
- Create
.env
file and fill it with values:
OPENAI_API_KEY=
HF_TOKEN=
conda create -n text-to-ml python=3.9
conda activate text-to-ml
conda install --file requirements.txt
python app.py
python experiments.py
GPLv3
Jędrzej Paweł Maczan, Poland, 2024