12 ms·
That’s a fascinating direction to explore. It turns out that translating instructions into AI/ML tasks and wrapping it with Python code is easy to build [0]. It
by yu3zhou4 2y ago
That’s a fascinating direction to explore. It turns out that translating instructions into AI/ML tasks and wrapping it with Python code is easy to build [0]. It starts with LLM decididing what type of task should be performed, then there’s a search over Hugging Face catalog, inference on a model (picked by heuristics) with Inference Endpoints and parsing the output to most relevant Python type [1]
[0] https://github.com/jmaczan/text-to-ml https://github.com/jmaczan/text-to-ml
[1] Page four - https://pagedout.institute/download/PagedOut_004_beta1.pdf#page=4 https://pagedout.institute/download/PagedOut_004_beta1.pdf#p...
- probably_wrong 2y agoI can't tell whether you're being honest or not. 10 years ago this was a literal joke [1] that people would tell and implement as "look at this terrible idea". Nowadays I can't tell anymore. [1] https://gkoberger.github.io/stacksort/ https://gkoberger.github.io/stacksort/
- yu3zhou4 2y agoI coded this proof of concept to show how easy it is to have AI mingled with a regular Python code. I didn't know it's considered a terrible idea xd