Simon Willison’s Weblog

Subscribe
Atom feed for llm Random

606 posts tagged “llm”

LLM is my command-line tool for running prompts against Large Language Models.

2023

Release llm-llama-cpp 0.2b0 — LLM plugin for running models using llama.cpp

LLM 0.11. I released LLM 0.11 with support for the new gpt-3.5-turbo-instruct completion model from OpenAI.

The most interesting feature of completion models is the option to request “log probabilities” from them, where each token returned is accompanied by up to 5 alternatives that were considered, along with their scores.

# 19th September 2023, 3:28 pm / projects, ai, openai, generative-ai, llms, llm

Release llm 0.11 — Access large language models from the command-line

Weeknotes: Embeddings, more embeddings and Datasette Cloud

Since my last weeknotes, a flurry of activity. LLM has embeddings support now, and Datasette Cloud has driven some major improvements to the wider Datasette ecosystem.

[... 2,427 words]

Release llm-sentence-transformers 0.1.2 — LLM plugin for embeddings using sentence-transformers

Build an image search engine with llm-clip, chat with models with llm chat

Visit Build an image search engine with llm-clip, chat with models with llm chat

LLM is my combination CLI tool and Python library for working with Large Language Models. I just released LLM 0.10 with two significant new features: embedding support for binary files and the llm chat command.

[... 1,188 words]

Release llm-clip 0.1 — Generate embeddings for images and text using CLIP with LLM
Release llm 0.10 — Access large language models from the command-line
Release llm-clip 0.1a0 — Generate embeddings for images and text using CLIP with LLM
Release llm 0.10a1 — Access large language models from the command-line
Release datasette-llm-embed 0.1a0 — Datasette plugin adding a llm_embed(model_id, text) SQL function
Release llm-sentence-transformers 0.1.1 — LLM plugin for embeddings using sentence-transformers

hubcap.php (via) This PHP script by Dave Hulbert delights me. It’s 24 lines of code that takes a specified goal, then calls my LLM utility on a loop to request the next shell command to execute in order to reach that goal... and pipes the output straight into `exec()` after a 3s wait so the user can panic and hit Ctrl+C if it’s about to do something dangerous!

# 6th September 2023, 3:45 pm / php, security, ai, generative-ai, llms, llm, ai-agents

Symbex 1.4. New release of my Symbex tool for finding symbols (functions, methods and classes) in a Python codebase. Symbex can now output matching symbols in JSON, CSV or TSV in addition to plain text.

I designed this feature for compatibility with the new “llm embed-multi” command—so you can now use Symbex to find every Python function in a nested directory and then pipe them to LLM to calculate embeddings for every one of them.

I tried it on my projects directory and embedded over 13,000 functions in just a few minutes! Next step is to figure out what kind of interesting things I can do with all of those embeddings.

# 5th September 2023, 5:29 pm / projects, ai, generative-ai, embeddings, symbex, llm

Release llm 0.10a0 — Access large language models from the command-line

LLM now provides tools for working with embeddings

Visit LLM now provides tools for working with embeddings

LLM is my Python library and command-line tool for working with language models. I just released LLM 0.9 with a new set of features that extend LLM to provide tools for working with embeddings.

[... 3,521 words]

Release llm-cluster 0.2 — LLM plugin for clustering embeddings
Release llm-cluster 0.1 — LLM plugin for clustering embeddings
Release llm-sentence-transformers 0.1 — LLM plugin for embeddings using sentence-transformers
Release llm 0.9 — Access large language models from the command-line
Release llm 0.9a1 — Access large language models from the command-line
Release llm 0.9a0 — Access large language models from the command-line
Release llm 0.8.1 — Access large language models from the command-line

Datasette 1.0a4 and 1.0a5, plus weeknotes

Two new alpha releases of Datasette, plus a keynote at WordCamp, a new LLM release, two new LLM plugins and a flurry of TILs.

[... 2,709 words]

Making Large Language Models work for you

Visit Making Large Language Models work for you

I gave an invited keynote at WordCamp 2023 in National Harbor, Maryland on Friday.

[... 14,189 words]

Release llm-anyscale-endpoints 0.2 — LLM plugin for models hosted by Anyscale Endpoints
Release llm-anyscale-endpoints 0.1 — LLM plugin for models hosted by Anyscale Endpoints
Release llm-openrouter 0.1 — LLM plugin for models hosted by OpenRouter
Release llm 0.8 — Access large language models from the command-line
Release llm 0.7.1 — Access large language models from the command-line