An open API service indexing awesome lists of open source software.

https://github.com/dvgodoy/llm-visuals

Over 60 figures and diagrams of LLMs, quantization, low-rank adapters (LoRA), and chat templates FREE TO USE in your blog posts, slides, presentations, or papers.
https://github.com/dvgodoy/llm-visuals

bf16 chat-template data-types fine-tuning fine-tuning-llm hugging-face llm llms lora low-rank-adaptation quantization sft supervised-learning

Last synced: 13 days ago
JSON representation

Over 60 figures and diagrams of LLMs, quantization, low-rank adapters (LoRA), and chat templates FREE TO USE in your blog posts, slides, presentations, or papers.

Awesome Lists containing this project

README

        

# LLM Visuals

Shield: [![CC BY 4.0][cc-by-shield]][cc-by]

This repository was inspired by the [ML Visuals](https://github.com/dair-ai/ml-visuals) repository maintained by [dair.ai](https://dair.ai/).

**LLM Visuals** contains **62 unique images** divided in **5 categories**. All the images were originally published in my book ["A Hands-On Guide to Fine-Tuning LLMs with PyTorch and Hugging Face"](https://pytorchstepbystep.com/llms).

Looking for images and diagrams for Transformers? Check out [DL Visuals](https://github.com/dvgodoy/dl-visuals)

## Can I Freely Use These Images?

Sure, these images can be FREELY USED in your own blog posts, slides, presentations, or papers under the CC-BY license.

## Awesome, where are they?

You can easily navigate through the pages and indices, and click on the desired image to visualize it in full size:

- [Chat Templates](https://dvgodoy.github.io/LLM-visuals/Chat%20Templates)
- [Data Types](https://dvgodoy.github.io/LLM-visuals/Data%20Types)
- [LoRA](https://dvgodoy.github.io/LLM-visuals/LoRA)
- [Quantization](https://dvgodoy.github.io/LLM-visuals/Quantization)
- [SFT](https://dvgodoy.github.io/LLM-visuals/SFT)

## How Can I Use Them?

**DISCLAIMER: this is NOT legal advice, you should always read the license yourself!**

In a nutshell, you're allowed to use (or adapt) these images in your own materials, even for commercial purposes, as long as you attribute it.

Here is a quick guide on [Best Practices for Attribution](https://wiki.creativecommons.org/wiki/best_practices_for_attribution).

Here are some examples of both images and attributions:

### Low-Rank Adapters

![](https://raw.githubusercontent.com/dvgodoy/LLM-visuals/main/LoRA/forward.png)

Image by [dvgodoy](https://github.com/dvgodoy/LLM-visuals) / [CC BY](https://creativecommons.org/licenses/by/4.0/)

### Chat Template

![](https://raw.githubusercontent.com/dvgodoy/LLM-visuals/main/Chat%20Templates/chat_prompt_new.png)
Image by [dvgodoy](https://github.com/dvgodoy/LLM-visuals) / [CC BY](https://creativecommons.org/licenses/by/4.0/)

### Data Types

![](https://raw.githubusercontent.com/dvgodoy/LLM-visuals/main/Data%20Types/bf16_example.png)
Image by [dvgodoy](https://github.com/dvgodoy/LLM-visuals) / [CC BY](https://creativecommons.org/licenses/by/4.0/)

This work is licensed under a
[Creative Commons Attribution 4.0 International License][cc-by].

[![CC BY 4.0][cc-by-image]][cc-by]

[cc-by]: http://creativecommons.org/licenses/by/4.0/
[cc-by-image]: https://i.creativecommons.org/l/by/4.0/88x31.png
[cc-by-shield]: https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg