llms
Building an LLM Router for High-Quality and Cost-Effective Responses

Anyscale is the leading AI application platform. With Anyscale, developers can build, run and scale AI applications instantly.
From bare metal to a 70B model: infrastructure set-up and scripts - imbue

We would like to thank Voltage Park, Dell, H5, and NVIDIA for their invaluable partnership and help with setting up our cluster. A special…
StarCoder2-15B: A Powerful LLM for Code Generation, Summarization, and Docu

Experience the leading models to build enterprise generative AI apps now.
A Comprehensive Overview of Prompt Engineering for ChatGPT

Prompt engineering is crucial to leveraging ChatGPT's capabilities, enabling users to elicit relevant, accurate, high-quality responses from the model. As language models like ChatGPT become more sophisticated, mastering the art of crafting effective prompts has become…
ChatGPT Prompt for an Evidence-Based Narrative | by Brad Porter | Jun, 2024

Amazon trained me to write evidence-based narratives. I love the format. It’s a clear and compelling way to present information to drive…
How Gradient created an open LLM with a million-token context window

AI startup Gradient and cloud platform Crusoe teamed up to extend the context window of Meta's Llama 3 models to 1 million tokens.
Some Commonly Used Advanced Prompt Engineering Techniques Explained Using S

In the developing field of Artificial Intelligence (AI), the ability to think quickly has become increasingly significant. The necessity of communicating with AI models efficiently becomes critical as these models get more complex. In this article we will explain a number of…
Key Metrics for Evaluating Large Language Models (LLMs)

Evaluating Large Language Models (LLMs) is a challenging problem in language modeling, as real-world problems are complex and variable. Conventional benchmarks frequently fail to fully represent LLMs' all-encompassing performance. A recent LinkedIn post has emphasized a number…
Firecrawl: A Powerful Web Scraping Tool for Turning Websites into Large Lan

In the rapidly advancing field of Artificial Intelligence (AI), effective use of web data can lead to unique applications and insights. A recent tweet has brought attention to Firecrawl, a potent tool in this field created by the Mendable AI team. Firecrawl is a state-of-the-art…
Let's reproduce GPT-2 (124M)

We reproduce the GPT-2 (124M) from scratch. This video covers the whole process: First we build the GPT-2 network, then we optimize its training to be really fast, then we set up the training run following the GPT-2 and GPT-3 paper and their hyperparameters, then we hit run, and…
How to use an open source LLM model locally and remotely

Run an open source language model in your local machine and remotely.
“The” Midjourney model personalization guide

Midjourney model personalization is now live, offering you a more tailored image generation experience by teaching the AI your preferences.
How to use Perplexity in your PM work

27 examples (with actual prompts) of how product managers are using Perplexity today
[2406.01506] The Geometry of Categorical and Hierarchical Concepts in Large

The linear representation hypothesis is the informal idea that semantic concepts are encoded as linear directions in the representation spaces of large language models (LLMs). Previous work has...
What is Dataset Distillation Learning? A Comprehensive Overview

Dataset distillation is an innovative approach that addresses the challenges posed by the ever-growing size of datasets in machine learning. This technique focuses on creating a compact, synthetic dataset that encapsulates the essential information of a larger dataset, enabling…
What We Learned from a Year of Building with LLMs (Part II)

Sharpening LLMs: The Sharpest Tools and Essential Techniques for Precision

The ability to discern relevant and essential information from noise is paramount in AI, particularly within large language models (LLMs). With the surge of information and the complexity of tasks, there's a need for efficient mechanisms to enhance the performance and…
List of Activities and Their Corresponding Suitable LLMs in the Artificial

Choosing large language models (LLMs) tailored for specific tasks is crucial for maximizing efficiency and accuracy. With natural language processing (NLP) advancements, different models have emerged, each excelling in unique domains. Here is a comprehensive guide to the most…
Three Things to Know About Prompting LLMs

Apply these techniques when crafting prompts for large language models to elicit more relevant responses.
Perplexity goes beyond AI search, launches publishing platform ‘Pages’

In most cases, Perplexity produced the desired Pages, but what we found missing was the option to edit the content manually.
The Great AI Chatbot Challenge: ChatGPT vs. Gemini vs. Copilot vs. Perplexi
We tested OpenAI’s ChatGPT against Microsoft’s Copilot and Google’s Gemini, along with Perplexity and Anthropic’s Claude. Here’s how they ranked.
The future of foundation models is closed-source

if the centralizing forces of data and compute hold, open and closed-source AI cannot both dominate long-term
Demystifying Vision-Language Models: An In-Depth Exploration

Vision-language models (VLMs), capable of processing both images and text, have gained immense popularity due to their versatility in solving a wide range of tasks, from information retrieval in scanned documents to code generation from screenshots. However, the development of…
AI Is a Black Box. Anthropic Figured Out a Way to Look Inside

What goes on in artificial neural networks work is largely a mystery, even to their creators. But researchers from Anthropic have caught a glimpse.
naklecha/llama3-from-scratch
llama3 implementation one matrix multiplication at a time - naklecha/llama3-from-scratch
Abacus AI Releases Smaug-Llama-3-70B-Instruct: The New Benchmark in Open-So

Artificial intelligence (AI) has revolutionized various fields by introducing advanced models for natural language processing (NLP). NLP enables computers to understand, interpret, and respond to human language in a valuable way. This field encompasses text generation…
RAG: Still Relevant in the Era of Long Context Models

While RAG will remain a staple of production applications, Gemini 1.5 Pro and similar models will help enterprise data science teams.
An Overview of Hugging Face Diffusers

Getting Started with HuggingFace Diffusers: A Beginner's Journey into the World of Generative Images
Intro & Table of Contents
Do Enormous LLM Context Windows Spell the End of RAG?

Now that LLMs can retrieve 1 million tokens at once, how long will it be until we don’t need retrieval augmented generation for accurate AI responses?
How Good Are the Latest Open LLMs? And Is DPO Better Than PPO?

What a month! We had four major open LLM releases: Mixtral, Meta AI's Llama 3, Microsoft's Phi-3, and Apple's OpenELM. In my new article, I review and discus...
ChuXin: A Fully Open-Sourced Language Model with a Size of 1.6 Billion Para

The capacity of large language models (LLMs) to produce adequate text in various application domains has caused a revolution in natural language creation. These models are essentially two types: 1) Most model weights and data sources are open source. 2) All model-related…
How to Summarize Large Documents with LangChain and OpenAI

There are still some limitations when summarizing very large documents. Here are some ways to mitigate these effects.
Title:You Only Cache Once: Decoder-Decoder Architectures for Language Model

We introduce a decoder-decoder architecture, YOCO, for large language models, which only caches key-value pairs once. It consists of two components, i.e., a cross-decoder stacked upon a...
Anthropic AI Launches a Prompt Engineering Tool that Generates Production-R

Generative AI (GenAI) tools have come a long way. Believe it or not, the first generative AI tools were introduced in the 1960s in a Chatbot. Still, it was only in 2014 that generative adversarial networks (GANs) were introduced, a type of Machine Learning (ML) algorithm that…
OpenAI’s ChatGPT-powered search engine to be introduced next week

The search engine war is heating up. ChatGPT may introduce its search engine, which will rival Google, on Monday. Although
Cleaning

As part of data preparation for an NLP model, it’s common to need to clean up your data prior to passing it into the model. If there’s unwanted content in your output, for example, it could impact the quality of your NLP model. To help with this, the `unstructured` library…
ImportError: cannot import name 'InvalidToolCall' from 'langchain_core.mess
Checked other resources I added a very descriptive title to this issue. I searched the LangChain documentation with the integrated search. I used the GitHub search to find a similar question and di...
[2404.19737] Better & Faster Large Language Models via Multi-token Predicti

Large language models such as GPT and Llama are trained with a next-token prediction loss. In this work, we suggest that training language models to predict multiple future tokens at once results...
Researchers at NVIDIA AI Introduce ‘VILA’: A Vision Language Model that can

The rapid evolution in AI demands models that can handle large-scale data and deliver accurate, actionable insights. Researchers in this field aim to create systems capable of continuous learning and adaptation, ensuring they remain relevant in dynamic environments. A…
Hugging Face - Documentation
We’re on a journey to advance and democratize artificial intelligence through open source and open science.
Understanding Key Terminologies in Large Language Model (LLM) Universe

Are you curious about the intricate world of large language models (LLMs) and the technical jargon that surrounds them? Understanding the terminology, from the foundational aspects of training and fine-tuning to the cutting-edge concepts of transformers and reinforcement…
Top 15 AI Libraries/Frameworks for Automatically Red-Teaming Your Generativ
Prompt Fuzzer: The Prompt Fuzzer is an interactive tool designed to evaluate the security of GenAI application system prompts by simulating various dynamic LLM-based attacks. It assesses security by analyzing the results of these simulations, helping users fortify their system…
Meta says Llama 3 beats most other models, including Gemini - The Verge
The models have some pretty good general knowledge.
Custom GPTs: How to create a GPT for your SaaS in less than 20 minutes

Making your custom GPTs is just one of the ways to leverage your content strategy and use ChatGPT...
anthropics/anthropic-cookbook: A collection of notebooks/recipes showcasing
A collection of notebooks/recipes showcasing some fun and effective ways of using Claude. - anthropics/anthropic-cookbook
I accidentally built a meme search engine | Harper Reed's Blog

I built a magical meme search engine using siglip/CLIP and vector encoding images. It was a fun way to learn about this powerful technology. I'm sharing the code so you can build your own and discover forgotten gems in your photo library. Let's unleash the power of AI on our…
Deep Learning Architectures From CNN, RNN, GAN, and Transformers To Encoder

Deep learning architectures have revolutionized the field of artificial intelligence, offering innovative solutions for complex problems across various domains, including computer vision, natural language processing, speech recognition, and generative models. This article…
Tips for LLM Pretraining and Evaluating Reward Models

Discussing AI Research Papers in March 2024