Local LLMs with Llama and Wolfram Language

DOWNLOAD-DESKTOP-NOTEBOOK.nb (265 KB)

11 Likes

Thanks for posting the code and examples of hooking up LLaMA with WL !

Since LLaMA manuals say that its completions API adheres to the completions API of OpenAI’s ChatGPT, how easy it is (or would be) to make LLaMA access configurations for use in WL’s LLM* functions? (Like LLMSynthesize and LLMFunction.)

2 Likes

news-congrads-kkluyshnik-02-04-19.jpg – you have earned Featured Contributor Badge 2015-11-02_10-07-11.png
Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!

1 Like

I am not totally sure now how to integrate, I mean to tie Mathematica & Wolfram Language notebook GUI to a local LLaMa.
Those two local models can process images too, I can do an example in a next post.
Wolfram tech usually integrates very well with other languages and databases, etc… I guess we will use in real-world projects LLMs from different sources, to attend different use cases.

I have this same question. I would be very useful to use the existing LLM “plumbing” with a local llamafile.

2 Likes