Primary navigation

Cookbook Archive

These recipes are older than three years and may reference outdated models or APIs. They are preserved here for reference.

Visualizing embeddings in Weights and Biases

Feb 1, 2023

embeddings

How to work with large language models

Jan 20, 2023

completions

Use cases for embeddings

Jan 20, 2023

embeddings

Related resources from around the web

Jan 20, 2023

completions embeddings

Embedding texts that are longer than the model's maximum context length

Jan 18, 2023

embeddings tiktoken

How to count tokens with Tiktoken

Dec 16, 2022

completions tiktoken

Unit test writing using a multi-step prompt

Nov 15, 2022

completions

How to use the DALL·E API

Nov 4, 2022

dall-e

Clustering for transaction classification

Oct 20, 2022

completions embeddings

Multiclass Classification for Transactions

Oct 20, 2022

completions embeddings

Techniques to improve reliability

Sep 12, 2022

completions

How to stream completions

Sep 2, 2022

completions

Azure embeddings example

Jul 12, 2022

embeddings

Classification using embeddings

Jul 11, 2022

embeddings

Question answering using embeddings-based search

Jun 10, 2022

completions embeddings

Clustering

Mar 10, 2022

embeddings

Code search using embeddings

Mar 10, 2022

embeddings

Customizing embeddings

Mar 10, 2022

embeddings

Fine tuning classification example

Mar 10, 2022

completions fine-tuning

Using embeddings

Mar 10, 2022

embeddings

Get embeddings from dataset

Mar 10, 2022

embeddings

Recommendation using embeddings and nearest neighbor search

Mar 10, 2022

embeddings

Regression using the embeddings

Mar 10, 2022

embeddings

Semantic text search using embeddings

Mar 10, 2022

embeddings

User and product embeddings

Mar 10, 2022

embeddings

Visualizing the embeddings in 2D

Mar 10, 2022

embeddings

Visualizing embeddings in 3D

Mar 10, 2022

embeddings

Zero-shot classification with embeddings

Mar 10, 2022

embeddings

Translate a book writen in LaTeX from Slovenian into English

Mar 10, 2022

completions tiktoken

Fine-Tuned Q&A - collect data

Mar 10, 2022

completions embeddings fine-tuning

Fine-Tuned Q&A - create Q&A

Mar 10, 2022

completions embeddings fine-tuning

Fine-Tuned Q&A - train

Mar 10, 2022

completions embeddings fine-tuning