仓库主体是论文与文档,notebook 不在 CI 下维护,运行前需自行确认依赖;修改文档需本地编译 LaTeX 才能验证

what_are_embeddings
veekaybee更新放缓从基础原理出发系统讲解嵌入(embeddings)的深度教程,用 Jupyter Notebook 带你理解向量表示是怎么算出来、怎么用的。
A deep dive into embeddings starting from fundamentals
README 里没有找到可直接复制的安装命令,请到 README 或官方文档查看安装方式。
README 未说明
一份从基础讲起、系统梳理 embedding 历史与工业用法的综述论文仓库
从基础原理出发系统讲解嵌入(embeddings)的深度教程,用 Jupyter Notebook 带你理解向量表示是怎么算出来、怎么用的。
核心能力
- 以综述论文形式讲清 embedding 的定义与历史脉络
- 从 TF-IDF、PCA、one-hot 讲到 Word2Vec 与 Transformer
- 附配套 notebook 代码,可动手复现文中示例
- 提供 LaTeX 源文档与生成的网站版本
容易踩的坑
- 1.0.8最新正式版2026-01-01 · 2026-01-01 13:30 UTC
What's Changed
- Fix minor copy nit to be consistent with the flow of rest of paragraph by @beyonddream in https://github.com/veekaybee/what_are_embeddings/pull/48
New Contributors
- @beyonddream made their first contribution in https://github.com/veekaybee/what_are_embeddings/pull/48
Full Changelog: https://github.com/veekaybee/what_are_embeddings/compare/1.0.7...1.0.8
- 1.0.7WhatAreEmbeddings 1.0.72024-11-18 · 2024-11-18 01:10 UTC
查看更新说明
What's Changed
- Fix minor typos by @RohanAlexander in https://github.com/veekaybee/what_are_embeddings/pull/40
- Updated figure 36/37 links by @AndrewRook in https://github.com/veekaybee/what_are_embeddings/pull/46
New Contributors
- @AndrewRook made their first contribution in https://github.com/veekaybee/what_are_embeddings/pull/46
Full Changelog: https://github.com/veekaybee/what_are_embeddings/compare/1.0.6...1.0.7
- 1.0.6WhatAreEmbeddings 1.0.62024-02-11 · 2024-02-11 14:12 UTC
查看更新说明
What's Changed
Clarifications in the tf-idf code, broken links, and cleanup fixes. Thanks to all who contributed!
- move hat over y by @bfgray3 in https://github.com/veekaybee/what_are_embeddings/pull/27
- fix invalid JSON in fig_24_tf_idf_from_scratch.ipynb by @tbayer in https://github.com/veekaybee/what_are_embeddings/pull/29
- Updates from Overleaf by @veekaybee in https://github.com/veekaybee/what_are_embeddings/pull/35
- Fix a tiny typo in TF-IDF example by @KrishanBhasin in https://github.com/veekaybee/what_are_embeddings/pull/33
- Fix bug in fig_24_tf_idf_from_scratch.ipynb by @emlyn in https://github.com/veekaybee/what_are_embeddings/pull/37
New Contributors
- @bfgray3 made their first contribution in https://github.com/veekaybee/what_are_embeddings/pull/27
- @tbayer made their first contribution in https://github.com/veekaybee/what_are_embeddings/pull/29
- @KrishanBhasin made their first contribution in https://github.com/veekaybee/what_are_embeddings/pull/33
- @emlyn made their first contribution in https://github.com/veekaybee/what_are_embeddings/pull/37
Full Changelog: https://github.com/veekaybee/what_are_embeddings/compare/1.0.5...1.0.6
- 1.0.5WhatAreEmbeddings 1.0.52023-07-24 · 2023-07-24 14:01 UTC
查看更新说明
What's Changed
- small typo fixes
- move sparsity related discussion to another section. by @Ankush-Chander in https://github.com/veekaybee/what_are_embeddings/pull/26
New Contributors
- @Ankush-Chander made their first contribution in https://github.com/veekaybee/what_are_embeddings/pull/26
Full Changelog: https://github.com/veekaybee/what_are_embeddings/compare/1.0.4...1.0.5
- 1.0.4WhatAreEmbeddings 1.0.42023-06-29 · 2023-06-29 09:07 UTC
查看更新说明
What's Changed
- clarified site licence https://github.com/veekaybee/what_are_embeddings/commit/3bab062aef93b4ffb0c94102adfc6f7520b3df1f
- remove duplicate given year and author by @schicho in https://github.com/veekaybee/what_are_embeddings/pull/17
- fixed comments in fig_4_bert.ipynb by @michal-mmm in https://github.com/veekaybee/what_are_embeddings/pull/18
- Bird ID is a separate feature by @dleybz in https://github.com/veekaybee/what_are_embeddings/pull/19
- Updates from Overleaf by @veekaybee in https://github.com/veekaybee/what_are_embeddings/pull/22
New Contributors
- @schicho made their first contribution in https://github.com/veekaybee/what_are_embeddings/pull/17
- @michal-mmm made their first contribution in https://github.com/veekaybee/what_are_embeddings/pull/18
- @dleybz made their first contribution in https://github.com/veekaybee/what_are_embeddings/pull/19
Full Changelog: https://github.com/veekaybee/what_are_embeddings/compare/1.0.3...1.0.4
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
What are embeddings?
This repository contains the generated LaTex document, website, and complementary notebook code for "What are Embeddings".
Abstract
Over the past decade, embeddings --- numerical representations of non-tabular machine learning features used as input to deep learning models --- have become a foundational data structure in industrial machine learning systems. TF-IDF, PCA, and one-hot encoding have always been key tools in machine learning systems as ways to compress and make sense of large amounts of textual data. However, traditional approaches were limited in the amount of context they could reason about with increasing amounts of data. As the volume, velocity, and variety of data captured by modern applications has exploded, creating approaches specifically tailored to scale has become increasingly important.
Google's Word2Vec paper made an important step in moving from simple statistical representations to semantic meaning of words. The subsequent rise of the Transformer architecture and transfer learning, as well as the latest surge in generative methods has enabled the growth of embeddings as a foundational machine learning data structure. This survey paper aims to provide a deep dive into what embeddings are, their history, and usage patterns in industry.
Running
The LaTex document is written in Overleaf and deployed to GitHub, where it's compiled via Actions. The site is likewise generated via Actions from the site branch. The notebooks are flying fast and free and not under any kind of CI whatsoever.
Contributing
If you have any changes that you'd like to make to the document including clarification or typo fixes, you'll need to build the LaTeX artifact. I use GitHub to track issues and feature requests, as well as accept pull requests. Pull requests are the best way to propose changes to the codebase:
- Fork the repo and create your branch from
main. - Make your changes in your fork.
- Make sure that your LaTeX document compiles. The GH action that triggers the PDF is set to run on PR into main.
- Ensure that the document compiles to a PDF correctly and inspect the output.
- Make sure your code lints.
- Issue that pull request!
Citing
@software{Boykis_What_are_embeddings_2023,
author = {Boykis, Vicki},
doi = {10.5281/zenodo.8015029},
month = jun,
title = {{What are embeddings?}},
url = {https://github.com/veekaybee/what_are_embeddings},
version = {1.0.1},
year = {2023}
}