Home / Companies / Ollama / Blog / April 2024

April 2024 Summaries

3 posts from Ollama

Filter
Month: Year:
Post Summaries Back to Blog
Llama 3, the latest iteration of the Llama models, demonstrates enhanced flexibility and reduced censorship compared to its predecessor, Llama 2, by exhibiting significantly lower false refusal rates, thereby enabling broader topic discussions. When presented with prompts, Llama 3 responds more openly and provides practical assistance, such as suggesting activities at an airport or presenting Python code for formatting a hard drive, albeit with cautionary advice. In contrast, Llama 2 maintains a more restricted approach, often declining to engage with prompts it deems unethical or potentially harmful. This increased openness in Llama 3 allows for engaging in complex discussions, such as those involving nuclear physics, while still acknowledging the implications of such topics. For users interested in operating Llama 3 locally, it can be run using Ollama.
Apr 19, 2024 577 words in the original blog post.
Llama 3, now available through Ollama, marks a significant advancement over its predecessor, Llama 2, with improvements such as a dataset seven times larger and a doubling of the context length to 16K. The model is more efficient, handling language with a larger token vocabulary of 128K tokens and showing fewer refusals compared to Llama 2. It comes in two sizes, 8 billion and 70 billion parameters, and can be used with popular tools like LangChain and LlamaIndex. Meta has plans to further enhance Llama 3 by releasing a 400 billion parameter version, alongside future models that will offer features such as multimodality, multilingual capabilities, and extended context windows, promising even stronger performance.
Apr 18, 2024 187 words in the original blog post.
Ollama facilitates the creation of retrieval augmented generation (RAG) applications by supporting embedding models that convert text into vector embeddings, which are numerical representations of semantic meanings. These embeddings are used to search for semantically similar data by storing them in a database. Ollama provides several example embedding models, such as mxbai-embed-large, and allows users to generate these embeddings through REST API, Python, or JavaScript. By integrating with tools like LangChain and LlamaIndex, Ollama supports workflows that involve embedding generation, storage, and retrieval, demonstrated through a step-by-step example of building a RAG application. This process includes generating embeddings for documents, storing them in a database, querying the most relevant document based on a prompt, and generating a response using the retrieved data. Future enhancements are anticipated, including batch embeddings, OpenAI API compatibility, and support for additional embedding model architectures.
Apr 08, 2024 622 words in the original blog post.