Skip to content

Commit bfbcda9

Browse files
pcoetmarkmcd
andauthored
dhuntsperger notebook sync (google#263)
* Sync notebooks * sync LoRA notebook * Fix notebook URLs * add dependency to distributed tuning notebook --------- Co-authored-by: Mark McDonald <[email protected]>
1 parent 1b254aa commit bfbcda9

25 files changed

+15602
-125
lines changed

site/en/docs/semantic_retriever.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"id": "Tce3stUlHN0L"
77
},
88
"source": [
9-
"##### Copyright 2023 Google LLC."
9+
"##### Copyright 2024 Google LLC."
1010
]
1111
},
1212
{

site/en/examples/anomaly_detection.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"id": "Tce3stUlHN0L"
77
},
88
"source": [
9-
"##### Copyright 2023 Google LLC."
9+
"##### Copyright 2024 Google LLC."
1010
]
1111
},
1212
{

site/en/examples/chat_calculator.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"id": "Tce3stUlHN0L"
77
},
88
"source": [
9-
"##### Copyright 2023 Google LLC."
9+
"##### Copyright 2024 Google LLC."
1010
]
1111
},
1212
{

site/en/examples/clustering_with_embeddings.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"id": "Tce3stUlHN0L"
77
},
88
"source": [
9-
"##### Copyright 2023 Google LLC."
9+
"##### Copyright 2024 Google LLC."
1010
]
1111
},
1212
{
@@ -37,7 +37,7 @@
3737
"id": "xPixuBZFck9b"
3838
},
3939
"source": [
40-
"# Visualizing embeddings with t-SNE\n"
40+
"# Visualizing embeddings with t-SNE"
4141
]
4242
},
4343
{
@@ -1345,7 +1345,7 @@
13451345
"id": "JB3bsmi4Iuak"
13461346
},
13471347
"source": [
1348-
"You will apply the t-Distributed Stochastic Neighbor Embedding (t-SNE) approach to perform dimensionality reduction. This technique reduces the number of dimensions, while preserving clusters (points that are close together stay close together). For the original data, the model tries to construct a distribution over which other data points are \"neighbors\" (e.g., they share a similar meaning). It then optimizes an objective function to keep a similar distribution in the visualization.\n"
1348+
"You will apply the t-Distributed Stochastic Neighbor Embedding (t-SNE) approach to perform dimensionality reduction. This technique reduces the number of dimensions, while preserving clusters (points that are close together stay close together). For the original data, the model tries to construct a distribution over which other data points are \"neighbors\" (e.g., they share a similar meaning). It then optimizes an objective function to keep a similar distribution in the visualization."
13491349
]
13501350
},
13511351
{

site/en/examples/doc_search_emb.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"id": "Tce3stUlHN0L"
77
},
88
"source": [
9-
"##### Copyright 2023 Google LLC."
9+
"##### Copyright 2024 Google LLC."
1010
]
1111
},
1212
{
@@ -192,7 +192,7 @@
192192
"source": [
193193
"## Embedding generation\n",
194194
"\n",
195-
"In this section, you will see how to generate embeddings for a piece of text using the embeddings from the Gemini API.\n"
195+
"In this section, you will see how to generate embeddings for a piece of text using the embeddings from the Gemini API."
196196
]
197197
},
198198
{

site/en/examples/text_calculator.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"id": "Tce3stUlHN0L"
77
},
88
"source": [
9-
"##### Copyright 2023 Google LLC."
9+
"##### Copyright 2024 Google LLC."
1010
]
1111
},
1212
{

site/en/examples/train_text_classifier_embeddings.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"id": "Tce3stUlHN0L"
77
},
88
"source": [
9-
"##### Copyright 2023 Google LLC."
9+
"##### Copyright 2024 Google LLC."
1010
]
1111
},
1212
{
@@ -1356,7 +1356,7 @@
13561356
"source": [
13571357
"## Evaluate model performance\n",
13581358
"\n",
1359-
"Use Keras `Model.evaluate` to get the loss and accuracy on the test dataset."
1359+
"Use Keras <a href=\"https://www.tensorflow.org/api_docs/python/tf/keras/Model#evaluate\"><code>Model.evaluate</code></a> to get the loss and accuracy on the test dataset."
13601360
]
13611361
},
13621362
{

0 commit comments

Comments
 (0)