├── .gitignore ├── README.md ├── assets └── header.png └── notebooks └── embedding ├── embedding_as_linear.png ├── embedding_from_scratch.ipynb ├── embeddings_as_lookup.png ├── llm-overview.png ├── tf-idf-embeddings.html ├── tfidf-emb.html ├── tinyshakespeare.txt ├── token-visualization-list.html ├── token-visualization-sentence.html ├── token_embeddings_qwen.html └── token_visualization_list.html /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hesamsheikh/llm-mechanics/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hesamsheikh/llm-mechanics/HEAD/README.md -------------------------------------------------------------------------------- /assets/header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hesamsheikh/llm-mechanics/HEAD/assets/header.png -------------------------------------------------------------------------------- /notebooks/embedding/embedding_as_linear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hesamsheikh/llm-mechanics/HEAD/notebooks/embedding/embedding_as_linear.png -------------------------------------------------------------------------------- /notebooks/embedding/embedding_from_scratch.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hesamsheikh/llm-mechanics/HEAD/notebooks/embedding/embedding_from_scratch.ipynb -------------------------------------------------------------------------------- /notebooks/embedding/embeddings_as_lookup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hesamsheikh/llm-mechanics/HEAD/notebooks/embedding/embeddings_as_lookup.png -------------------------------------------------------------------------------- /notebooks/embedding/llm-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hesamsheikh/llm-mechanics/HEAD/notebooks/embedding/llm-overview.png -------------------------------------------------------------------------------- /notebooks/embedding/tf-idf-embeddings.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hesamsheikh/llm-mechanics/HEAD/notebooks/embedding/tf-idf-embeddings.html -------------------------------------------------------------------------------- /notebooks/embedding/tfidf-emb.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hesamsheikh/llm-mechanics/HEAD/notebooks/embedding/tfidf-emb.html -------------------------------------------------------------------------------- /notebooks/embedding/tinyshakespeare.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hesamsheikh/llm-mechanics/HEAD/notebooks/embedding/tinyshakespeare.txt -------------------------------------------------------------------------------- /notebooks/embedding/token-visualization-list.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hesamsheikh/llm-mechanics/HEAD/notebooks/embedding/token-visualization-list.html -------------------------------------------------------------------------------- /notebooks/embedding/token-visualization-sentence.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hesamsheikh/llm-mechanics/HEAD/notebooks/embedding/token-visualization-sentence.html -------------------------------------------------------------------------------- /notebooks/embedding/token_embeddings_qwen.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hesamsheikh/llm-mechanics/HEAD/notebooks/embedding/token_embeddings_qwen.html -------------------------------------------------------------------------------- /notebooks/embedding/token_visualization_list.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hesamsheikh/llm-mechanics/HEAD/notebooks/embedding/token_visualization_list.html --------------------------------------------------------------------------------