Skip to content

Commit 42c664f

Browse files
authored
Merge pull request #1332 from kfahn22/livestreams
Add new Coding Train Live! track
2 parents 3f59b50 + 5139ca8 commit 42c664f

File tree

7 files changed

+194
-1
lines changed

7 files changed

+194
-1
lines changed

β€Žcontent-testing/schemas.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ const baseVideosSchema = strictObject({
125125
url: string().url()
126126
}).required()
127127
)
128-
.min(1)
129128
.required()
130129
});
131130

β€Žcontent/tracks/index.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"coding-together-apple-ii",
1313
"mastodon",
1414
"discord-bots",
15+
"livestreams",
1516
"neural-networks",
1617
"noise",
1718
"p5-tips-and-tricks",
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"title": "Coding Train Live!",
3+
"description": "This side track is a collection of select livestreams.",
4+
"videos": ["livestreams/sentence-embeddings/clustering-sentence-embeddings"]
5+
}
150 KB
Loading
123 KB
Loading
697 KB
Loading
Lines changed: 188 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,188 @@
1+
{
2+
"title": "Sentence Embeddings with transformers.js and UMAP",
3+
"description": "In the livestream, I demonstrate how to visualize sentence embeddings with transfomers.js and UMAP",
4+
"videoId": "1mwguqeEz8c",
5+
"date": "2023-12-04",
6+
"languages": ["Transformers.js"],
7+
"topics": ["transformers", "embeddings", "retrieval augmented generation", "UMAP"],
8+
"canContribute": true,
9+
"relatedChallenges": ["39-madlibs-generator", "37-diastic-machine", "44-afinn-111-sentiment-analysis"],
10+
"timestamps": [
11+
{ "time": "0:00:00", "title": "Livestream starts" },
12+
{ "time": "0:06:10", "title": "Welcome" },
13+
{ "time": "0:10:46", "title": "Programming with text" },
14+
{ "time": "0:20:55", "title": "save embeddings.json repo" },
15+
{ "time": "0:31:29", "title": "What is an embedding?" },
16+
{ "time": "0:38:45", "title": "Feature extraction" },
17+
{ "time": "0:47:31", "title": "Retrieval Augmented Generation" },
18+
{ "time": "0:57:42", "title": "Transformers.js and ONNX" },
19+
{ "time": "0:59:22", "title": "Initialize new node project" },
20+
{ "time": "1:02:05", "title": "Pipelines" },
21+
{ "time": "1:04:15", "title": "Load model function" },
22+
{ "time": "1:08:03", "title": "Remove async" },
23+
{ "time": "1:11:29", "title": "Find a dataset on Corpora" },
24+
{ "time": "1:15:14", "title": "Get embeddings" },
25+
{ "time": "1:30:51", "title": "Embedding projector" },
26+
{ "time": "1:49:03", "title": "UMAP.js" },
27+
{ "time": "1:54:30", "title": "UMAP parameters" },
28+
{ "time": "2:00:51", "title": "Visualize UMAP results" },
29+
{ "time": "2:07:41", "title": "Step through one cycle of the algorithm" },
30+
{ "time": "2:14:56", "title": "Add raw embeddings json data" },
31+
{ "time": "2:17:47", "title": "Change circles to text" },
32+
{ "time": "2:24:46", "title": "Things you can try" },
33+
{ "time": "2:25:23", "title": "Outro" }
34+
],
35+
"codeExamples": [
36+
{
37+
"title": "UMAP - p5 function name embeddings",
38+
"description": "Visualize the p5 functionname embeddings",
39+
"image": "p5.jpg",
40+
"urls": { "p5": "https://editor.p5js.org/a2zitp/sketches/p63QTp0Sd" }
41+
},
42+
{
43+
"title": "UMAP - random embeddings",
44+
"description": "Visualizing the UMAP with random data",
45+
"image": "umap1.jpg",
46+
"urls": { "p5": "https://editor.p5js.org/codingtrain/sketches/9CpF5OVy4" }
47+
},
48+
{
49+
"title": "UMAP - TV show embeddings",
50+
"description": "Visualize the TV embeddings",
51+
"image": "umap3.jpg",
52+
"urls": { "p5": "https://editor.p5js.org/codingtrain/sketches/AebzAbSpU" }
53+
},
54+
{
55+
"title": "Save Embeddings JSON",
56+
"description": "Github repo with information and resources about saving embeddings",
57+
"image": "",
58+
"urls": { "other": "https://github.com/Programming-from-A-to-Z/Save-Embeddings-JSON" }
59+
}
60+
],
61+
"groupLinks": [
62+
{
63+
"title": "References",
64+
"links": [
65+
{
66+
"icon": "πŸ”—",
67+
"title": "Embeddings",
68+
"url": "https://github.com/Programming-from-A-to-Z/A2Z-F23/tree/main/08-embeddings",
69+
"description": "Course materials for Embeddings from Programming-from-A-to-Z"
70+
},
71+
{
72+
"icon": "πŸ”—",
73+
"title": "Transformers.js",
74+
"url": "https://huggingface.co/docs/transformers.js/index",
75+
"description": "Reference for Transformers.js on Hugging Face"
76+
},
77+
{
78+
"icon": "πŸ”—",
79+
"title": "UMAP-js Github Repo",
80+
"url": "https://github.com/PAIR-code/umap-js",
81+
"description": "JavaScript implementation of UMAP"
82+
},
83+
{
84+
"icon": "πŸ”—",
85+
"title": "Understanding UMAP",
86+
"url": "https://pair-code.github.io/understanding-umap",
87+
"description": "Article by Coenen and Pearce about UMAP."
88+
},
89+
{
90+
"icon": "πŸ”—",
91+
"title": "RAG for Nature of Code",
92+
"url": "https://huggingface.co/spaces/lilacai/nature-of-code",
93+
"description": "Hugging Face space by lilacai for RAG-NOC"
94+
},
95+
{
96+
"icon": "πŸ”—",
97+
"title": "C-Pack: Packaged Resources To Advance General Chinese Embedding",
98+
"url": "https://arxiv.org/pdf/2309.07597.pdf",
99+
"description": "Paper proposing C-Pack"
100+
},
101+
{
102+
"icon": "πŸ”—",
103+
"title": "bge-large-en-v1.5 demo",
104+
"url": "https://replicate.com/nateraw/bge-large-en-v1.5",
105+
"description": "bge-large-en-v1.5 demo on Replicate"
106+
},
107+
{
108+
"icon": "πŸ”—",
109+
"title": "bge-large-en-v1.5",
110+
"url": "https://huggingface.co/BAAI/bge-large-en-v1.5",
111+
"description": "Model card about bge-large-en-v1.5 on Hugging Face"
112+
},
113+
{
114+
"icon": "πŸ”—",
115+
"title": "ml5",
116+
"url": "https://ml5js.org",
117+
"description": "Website with information and resources about the ml5 library."
118+
},
119+
{
120+
"icon": "πŸ”—",
121+
"title": "tensorflow.js",
122+
"url": "https://www.tensorflow.org/js",
123+
"description": "Website with information and resources about the tensorflow.js library."
124+
},
125+
{
126+
"icon": "πŸ”—",
127+
"title": "ONNX Runtime",
128+
"url": "https://onnxruntime.ai/docs/tutorials/web/",
129+
"description": "Tutorial that explains how to run a machine learning model in the brower using ONNX."
130+
},
131+
{
132+
"icon": "πŸ”—",
133+
"title": "Corpora",
134+
"url": "https://github.com/dariusk/corpora",
135+
"description": "Corpora is a repository of JSON files."
136+
},
137+
{
138+
"icon": "πŸ”—",
139+
"title": "TV Shows Data",
140+
"url": "https://github.com/dariusk/corpora/blob/master/data/film-tv/tv_shows.json",
141+
"description": "JSON file with a list of 1000 TV shows from [Corpora](https://github.com/dariusk/corpora)."
142+
},
143+
{
144+
"icon": "πŸ”—",
145+
"title": "TV show embeddings",
146+
"url": "https://raw.githubusercontent.com/CodingTrain/Embeddings-Live/main/tv-embeddings.json",
147+
"description": "TV show embeddings JSON"
148+
},
149+
{
150+
"icon": "πŸ”—",
151+
"title": "Embedding projector",
152+
"url": "https://projector.tensorflow.org",
153+
"description": "Website to visualize text embeddings"
154+
}
155+
]
156+
},
157+
{
158+
"title": "Videos",
159+
"links": [
160+
{
161+
"icon": "πŸš‚",
162+
"title": "How to Set up A Node Project",
163+
"url": "/tracks/discord-bots/discord/setup-node-project",
164+
"description": "My tutorial about setting up a Node project."
165+
},
166+
{
167+
"icon": "πŸš‚",
168+
"title": "What is word2vec? - Programming with Text",
169+
"url": "https://www.youtube.com/watch?v=LSS_bos_TPI",
170+
"description": "In this tutorial, I explain word embeddings and the machine learning model word2vec."
171+
},
172+
{
173+
"icon": "πŸš‚",
174+
"title": "Introduction to Regular Expressions",
175+
"url": "https://www.youtube.com/watch?v=7DG3kCDx53c",
176+
"description": "In this video I introduce Regular Expressions: what are they and how are they used."
177+
},
178+
{
179+
"icon": "πŸš‚",
180+
"title": "Exploring Transformers.js Embeddings and Other Updates",
181+
"url": "https://www.youtube.com/watch?v=RmFqv7Ehi1I",
182+
"description": "Livestream exploring Transformers.js"
183+
}
184+
]
185+
}
186+
],
187+
"credits": []
188+
}

0 commit comments

Comments
Β (0)