llamafile
llamafile lets you distribute and run LLMs with a single file.
llamafile
makes open LLMs much more accessible to both developers and end users.llamafile
is doing that by combining llama.cpp with Cosmopolitan Libc into one framework that collapses all the complexity of LLMs down to a single-file executable (called a "llamafile") that runs locally on most computers, with no installation.
Installation and Setupโ
See the installation instructions.
LLMsโ
See a usage example.
from langchain_community.llms.llamafile import Llamafile
API Reference:Llamafile
Embedding modelsโ
See a usage example.
from langchain_community.embeddings import LlamafileEmbeddings
API Reference:LlamafileEmbeddings