From 31f1f8faa074611c9ebf8960e1e2d4ab727a525a Mon Sep 17 00:00:00 2001 From: Jingya HUANG <44135271+JingyaHuang@users.noreply.github.com> Date: Fri, 29 Mar 2024 17:39:45 +0000 Subject: [PATCH 1/2] add missing notebooks --- docs/source/tutorials/notebooks.mdx | 1 + docs/source/tutorials/overview.mdx | 3 +++ 2 files changed, 4 insertions(+) diff --git a/docs/source/tutorials/notebooks.mdx b/docs/source/tutorials/notebooks.mdx index b0e5d73b4..a8fc2624d 100644 --- a/docs/source/tutorials/notebooks.mdx +++ b/docs/source/tutorials/notebooks.mdx @@ -31,3 +31,4 @@ We prepared some notebooks for you, so that you can run directly tutorials in th | [Create your own chatbot with llama-2-13B on AWS Inferentia](https://github.com/huggingface/optimum-neuron/blob/main/notebooks/text-generation/llama2-13b-chatbot.ipynb) | Show how to run LLama-2 13B chat model on AWS inferentia 2. | [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/optimum-neuron/blob/main/notebooks/text-generation/llama2-13b-chatbot.ipynb) | | [How to generate images with Stable Diffusion](https://github.com/huggingface/optimum-neuron/blob/main/notebooks/stable-diffusion/stable-diffusion-txt2img.ipynb) | Show how to use stable-diffusion v2.1 model to generate images from prompts on Inferentia 2. | [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/optimum-neuron/blob/main/notebooks/stable-diffusion/stable-diffusion-txt2img.ipynb) | | [How to generate images with Stable Diffusion XL](https://github.com/huggingface/optimum-neuron/blob/main/notebooks/stable-diffusion/stable-diffusion-xl-txt2img.ipynb) | Show how to use stable-diffusion XL model to generate images from prompts on Inferentia 2. | [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/optimum-neuron/blob/main/notebooks/stable-diffusion/stable-diffusion-xl-txt2img.ipynb) | +| [Compute text embeddings with Sentence Transformers on Inferentia](https://github.com/huggingface/optimum-neuron/blob/main/notebooks/sentence-transformers/getting-started.ipynb) | Show how to use Sentence Transformers to compute sentence / text embeddings on Inferentia 2. | [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/optimum-neuron/blob/main/notebooks/sentence-transformers/getting-started.ipynb) | \ No newline at end of file diff --git a/docs/source/tutorials/overview.mdx b/docs/source/tutorials/overview.mdx index 92b277e9c..d8ca4e595 100644 --- a/docs/source/tutorials/overview.mdx +++ b/docs/source/tutorials/overview.mdx @@ -23,3 +23,6 @@ These tutorials will help you quickly get started with AWS Trainium / Inferentia - [Getting started with AWS Trainium and Hugging Face Transformers](./fine_tune_bert) - [Generate images with Stable Diffusion models on AWS Inferentia2](./stable_diffusion) - [Create your own chatbot with llama-2-13B on AWS Inferentia](./llama2-13b-chatbot) +- [Create your own chatbot with llama-2-13B on AWS Inferentia](./llama2-13b-chatbot) +- [Fine-tune and Test Llama 2 7B on AWS Trainium](./fine_tune_llama_7b) +- [Sentence Transformers on AWS Inferentia with Optimum Neuron](./sentence_transformers) From 0565377111239fe2a4ee62371e171bd021639cd5 Mon Sep 17 00:00:00 2001 From: Jingya HUANG <44135271+JingyaHuang@users.noreply.github.com> Date: Fri, 29 Mar 2024 17:53:19 +0000 Subject: [PATCH 2/2] fix --- docs/source/tutorials/overview.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/source/tutorials/overview.mdx b/docs/source/tutorials/overview.mdx index d8ca4e595..52e86948a 100644 --- a/docs/source/tutorials/overview.mdx +++ b/docs/source/tutorials/overview.mdx @@ -23,6 +23,5 @@ These tutorials will help you quickly get started with AWS Trainium / Inferentia - [Getting started with AWS Trainium and Hugging Face Transformers](./fine_tune_bert) - [Generate images with Stable Diffusion models on AWS Inferentia2](./stable_diffusion) - [Create your own chatbot with llama-2-13B on AWS Inferentia](./llama2-13b-chatbot) -- [Create your own chatbot with llama-2-13B on AWS Inferentia](./llama2-13b-chatbot) - [Fine-tune and Test Llama 2 7B on AWS Trainium](./fine_tune_llama_7b) - [Sentence Transformers on AWS Inferentia with Optimum Neuron](./sentence_transformers)