Skip to content

Commit

Permalink
Fixed youtube cookies (#19765)
Browse files Browse the repository at this point in the history
### Description
Simple change, should allow removal of all the errors associated with
GDPR (not Adobe, but Adobe isn't seeming to error)

## Note
Will need to change consent banner to using
[this](https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/wcp/privacy/wcp-cookie-consent-api#cookie-consent-library---javascript)
library in accordance with errors. Is known and will be worked on
hopefully before EOW.

---------

Co-authored-by: MaanavD <[email protected]>
  • Loading branch information
MaanavD and MaanavD authored Mar 4, 2024
1 parent 98902d6 commit 25cd2bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/tutorials/csharp/stable-diffusion-csharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ tensor([[49406, 1078, 320, 1674, 539, 1901, 2677, 593, 4023, 1630,

## Text embedding with the CLIP text encoder model

The tokens are sent to the text encoder model and converted into a tensor of shape (1, 77, 768) where the first dimension is the batch size, the second dimension is the number of tokens and the third dimension is the embedding size. The text encoder is a [OpenAI CLIP](https://openai.com/blog/clip/) model that connects text to images.
The tokens are sent to the text encoder model and converted into a tensor of shape (1, 77, 768) where the first dimension is the batch size, the second dimension is the number of tokens and the third dimension is the embedding size. The text encoder is a [OpenAI CLIP](https://openai.com/research/clip) model that connects text to images.

The text encoder creates the text embedding which is trained to encode the text prompt into a vector that is used to guide the image generation. The text embedding is then concatenated with the uncond embedding to create the text embeddings that is sent to the unet model for inferencing.

Expand Down
6 changes: 3 additions & 3 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
let videos = [
{
title: 'What is ONNX Runtime (ORT)?',
link: 'https://www.youtube.com/embed/M4o4YRVba4o?si=LHc-2AhKt3TrY60g'
link: 'https://www.youtube-nocookie.com/embed/M4o4YRVba4o?si=LHc-2AhKt3TrY60g'
},
{
title: 'Converting Models to ONNX Format',
link: 'https://www.youtube.com/embed/lRBsmnBE9ZA?si=l5i0Q2P7VtSJyGK1'
link: 'https://www.youtube-nocookie.com/embed/lRBsmnBE9ZA?si=l5i0Q2P7VtSJyGK1'
},
{
title: 'Optimize Training and Inference with ONNX Runtime (ORT/ACPT/DeepSpeed)',
link: 'https://www.youtube.com/embed/lC7d_7waHLM?si=U4252VEd1t5ioZUN'
link: 'https://www.youtube-nocookie.com/embed/lC7d_7waHLM?si=U4252VEd1t5ioZUN'
}
];
Expand Down
2 changes: 1 addition & 1 deletion src/routes/events/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
let videos = [
{
title: 'Workshop: LLMs Fine Tuning and Inferencing Using ONNXRuntime',
link: 'https://www.youtube.com/embed/lOp8WK0fa94?si=rHn8fxAii3Ksr8Ey'
link: 'https://www.youtube-nocookie.com/embed/lOp8WK0fa94?si=rHn8fxAii3Ksr8Ey'
}
];
</script>
Expand Down

0 comments on commit 25cd2bf

Please sign in to comment.