/together-cookbook

A collection of notebooks/recipes showcasing usecases of open-source models with Together AI.

Primary LanguageJupyter NotebookMIT LicenseMIT

PlatformDocsBlogDiscord

Together Cookbook

The Together Cookbook is a collection of code and guides designed to help developers build with open source models using Together AI. The best way to use the recipes is to copy code snippets and integrate them into your own projects!

Contributing

We welcome contributions to this repository! If you have a cookbook you'd like to add, please reach out to use the Discord or open a pull request!

Prerequisites

To make the most of the examples in this cookbook, you'll need a Together AI API key (sign up for free here).

While the code examples are primarily written in Python/JS, the concepts can be adapted to any programming language that supports interaction with the Together API.

Cookbooks

Cookbook Description Open
Long Context Finetuning For Repetition Fine-tuning LLMs to repeat back words in long sequences. Colab
Summarization Long Context Finetuning Long context fine-tuning to improve summarization capabilities. Colab
Conversation Finetuning Fine-tuning LLMs on multi-step conversations. Colab
MultiModal_RAG_with_Nvidia_Investor_Slide_Deck Multimodal RAG using Nvidia investor slides Colab
Summarization Evaluation Summarizing and evaluating outputs with LLMs. Colab
Open_Contextual_RAG An implementation of Contextual Retrieval using open models. Colab
PDF_to_Podcast Generate a podcast from PDF content NotebookLM style! Colab
Embedding_Visualization Visualize vector embeddings Colab
Knowledge_Graphs_with_Structured_Outputs Get LLMs to generate knowledge graphs Colab
Search_with_Reranking Improve search results with rerankers Colab
Semantic_Search Implement vector search with embedding models Colab
Structured_Text_Extraction_from_Images Extract structured text from images Colab
Text_RAG Implement text-based Retrieval-Augmented Generation Colab

Explore Further

Looking for more resources to enhance your experience with open source models? Check out these helpful links:

Additional Resources