Skip to content

Commit

Permalink
Update links to genai samples to 2024.6 branch (#28383)
Browse files Browse the repository at this point in the history
### Details:
 - Update links to genai samples to 2024.6 branch
- related to openvinotoolkit/openvino.genai#1411

### Tickets:
 - *ticket-id*
  • Loading branch information
olpipi authored Jan 13, 2025
1 parent c85a482 commit a05a0aa
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
20 changes: 10 additions & 10 deletions docs/articles_en/learn-openvino/llm_inference_guide/genai-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ make sure to :doc:`install OpenVINO with GenAI <../../get-started/install-openvi
For more information, refer to the
`Python sample <https://github.com/openvinotoolkit/openvino.genai/tree/master/samples/python/image_generation>`__
`Python sample <https://github.com/openvinotoolkit/openvino.genai/tree/releases/2024/6/samples/python/image_generation>`__

.. tab-item:: C++
:sync: cpp
Expand Down Expand Up @@ -225,7 +225,7 @@ make sure to :doc:`install OpenVINO with GenAI <../../get-started/install-openvi
}
For more information, refer to the
`C++ sample <https://github.com/openvinotoolkit/openvino.genai/tree/master/samples/cpp/image_generation/>`__
`C++ sample <https://github.com/openvinotoolkit/openvino.genai/tree/releases/2024/6/samples/cpp/image_generation/>`__


.. dropdown:: Speech Recognition
Expand Down Expand Up @@ -271,7 +271,7 @@ make sure to :doc:`install OpenVINO with GenAI <../../get-started/install-openvi
For more information, refer to the
`Python sample <https://github.com/openvinotoolkit/openvino.genai/tree/master/samples/python/whisper_speech_recognition/>`__.
`Python sample <https://github.com/openvinotoolkit/openvino.genai/tree/releases/2024/6/samples/python/whisper_speech_recognition/>`__.

.. tab-item:: C++
:sync: cpp
Expand Down Expand Up @@ -323,7 +323,7 @@ make sure to :doc:`install OpenVINO with GenAI <../../get-started/install-openvi
}
For more information, refer to the
`C++ sample <https://github.com/openvinotoolkit/openvino.genai/tree/master/samples/cpp/whisper_speech_recognition/>`__.
`C++ sample <https://github.com/openvinotoolkit/openvino.genai/tree/releases/2024/6/samples/cpp/whisper_speech_recognition/>`__.


.. dropdown:: Using GenAI in Chat Scenario
Expand Down Expand Up @@ -367,7 +367,7 @@ make sure to :doc:`install OpenVINO with GenAI <../../get-started/install-openvi
For more information, refer to the
`Python sample <https://github.com/openvinotoolkit/openvino.genai/tree/master/samples/python/chat_sample/>`__.
`Python sample <https://github.com/openvinotoolkit/openvino.genai/tree/releases/2024/6/samples/python/chat_sample/>`__.

.. tab-item:: C++
:sync: cpp
Expand Down Expand Up @@ -415,7 +415,7 @@ make sure to :doc:`install OpenVINO with GenAI <../../get-started/install-openvi
For more information, refer to the
`C++ sample <https://github.com/openvinotoolkit/openvino.genai/tree/master/samples/cpp/chat_sample/>`__
`C++ sample <https://github.com/openvinotoolkit/openvino.genai/tree/releases/2024/6/samples/cpp/chat_sample/>`__


.. dropdown:: Using GenAI with Vision Language Models
Expand Down Expand Up @@ -483,7 +483,7 @@ make sure to :doc:`install OpenVINO with GenAI <../../get-started/install-openvi
For more information, refer to the
`Python sample <https://github.com/openvinotoolkit/openvino.genai/tree/master/samples/python/visual_language_chat>`__.
`Python sample <https://github.com/openvinotoolkit/openvino.genai/tree/releases/2024/6/samples/python/visual_language_chat>`__.

.. tab-item:: C++
:sync: cpp
Expand Down Expand Up @@ -549,7 +549,7 @@ make sure to :doc:`install OpenVINO with GenAI <../../get-started/install-openvi
For more information, refer to the
`C++ sample <https://github.com/openvinotoolkit/openvino.genai/tree/master/samples/cpp/visual_language_chat/>`__
`C++ sample <https://github.com/openvinotoolkit/openvino.genai/tree/releases/2024/6/samples/cpp/visual_language_chat/>`__


|
Expand Down Expand Up @@ -803,7 +803,7 @@ runs prediction of the next K tokens, thus repeating the cycle.
For more information, refer to the
`Python sample <https://github.com/openvinotoolkit/openvino.genai/tree/master/samples/python/speculative_decoding_lm/>`__.
`Python sample <https://github.com/openvinotoolkit/openvino.genai/tree/releases/2024/6/samples/python/speculative_decoding_lm/>`__.


.. tab-item:: C++
Expand Down Expand Up @@ -859,7 +859,7 @@ runs prediction of the next K tokens, thus repeating the cycle.
For more information, refer to the
`C++ sample <https://github.com/openvinotoolkit/openvino.genai/tree/master/samples/cpp/speculative_decoding_lm/>`__
`C++ sample <https://github.com/openvinotoolkit/openvino.genai/tree/releases/2024/6/samples/cpp/speculative_decoding_lm/>`__



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ Additional Resources

* `OpenVINO Tokenizers repo <https://github.com/openvinotoolkit/openvino_tokenizers>`__
* `OpenVINO Tokenizers Notebook <https://github.com/openvinotoolkit/openvino_notebooks/tree/latest/notebooks/openvino-tokenizers>`__
* `Text generation C++ samples that support most popular models like LLaMA 3 <https://github.com/openvinotoolkit/openvino.genai/tree/master/samples/cpp/greedy_causal_lm>`__
* `Text generation C++ samples that support most popular models like LLaMA 3 <https://github.com/openvinotoolkit/openvino.genai/tree/releases/2024/6/samples/cpp/greedy_causal_lm>`__
* `OpenVINO GenAI Repo <https://github.com/openvinotoolkit/openvino.genai>`__


Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Such a tensor is called a string tensor and can be passed as input or retrieved

While this section describes basic API to handle string tensors, more practical examples that leverage both
string tensors and OpenVINO tokenizer can be found in
`GenAI Samples <https://github.com/openvinotoolkit/openvino.genai/tree/master/samples/cpp/greedy_causal_lm>`__.
`GenAI Samples <https://github.com/openvinotoolkit/openvino.genai/tree/releases/2024/6/samples/cpp/greedy_causal_lm>`__.


Representation
Expand Down Expand Up @@ -203,4 +203,4 @@ Additional Resources

* Use `OpenVINO tokenizers <https://github.com/openvinotoolkit/openvino_contrib/tree/releases/2024/0/modules/custom_operations/user_ie_extensions/tokenizer/python>`__ to produce models that use string tensors to work with textual information as pre- and post-processing for the large language models.

* Check out `GenAI Samples <https://github.com/openvinotoolkit/openvino.genai/tree/master/samples/cpp/greedy_causal_lm>`__ to see how string tensors are used in real-life applications.
* Check out `GenAI Samples <https://github.com/openvinotoolkit/openvino.genai/tree/releases/2024/6/samples/cpp/greedy_causal_lm>`__ to see how string tensors are used in real-life applications.
2 changes: 1 addition & 1 deletion docs/notebooks/openvino-tokenizers-with-output.rst
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,6 @@ Links
Types <https://github.com/openvinotoolkit/openvino_tokenizers?tab=readme-ov-file#supported-tokenizer-types>`__
- `OpenVINO.GenAI repository with the C++ example of OpenVINO
Tokenizers
usage <https://github.com/openvinotoolkit/openvino.genai/tree/master/samples/cpp/greedy_causal_lm>`__
usage <https://github.com/openvinotoolkit/openvino.genai/tree/releases/2024/6/samples/cpp/greedy_causal_lm>`__
- `HuggingFace Tokenizers Comparison
Table <https://github.com/openvinotoolkit/openvino_tokenizers?tab=readme-ov-file#output-match-by-model>`__
4 changes: 2 additions & 2 deletions docs/notebooks/whisper-asr-genai-with-output.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ converts the models to OpenVINO™ IR format. To simplify the user
experience, we will use `OpenVINO Generate
API <https://github.com/openvinotoolkit/openvino.genai>`__ for `Whisper
automatic speech recognition
scenarios <https://github.com/openvinotoolkit/openvino.genai/blob/master/samples/python/whisper_speech_recognition/README.md>`__.
scenarios <https://github.com/openvinotoolkit/openvino.genai/tree/releases/2024/6/samples/python/whisper_speech_recognition/README.md>`__.

Installation Instructions
~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -406,7 +406,7 @@ Run inference OpenVINO model with WhisperPipeline


To simplify user experience we will use `OpenVINO Generate
API <https://github.com/openvinotoolkit/openvino.genai/blob/master/samples/python/whisper_speech_recognition/README.md>`__.
API <https://github.com/openvinotoolkit/openvino.genai/tree/releases/2024/6/samples/python/whisper_speech_recognition/README.md>`__.
Firstly we will create pipeline with ``WhisperPipeline``. You can
construct it straight away from the folder with the converted model. It
will automatically load the ``model``, ``tokenizer``, ``detokenizer``
Expand Down
4 changes: 2 additions & 2 deletions docs/notebooks/whisper-subtitles-generation-with-output.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ GitHub `repository <https://github.com/openai/whisper>`__.
In this notebook, we will use Whisper model with `OpenVINO Generate
API <https://github.com/openvinotoolkit/openvino.genai>`__ for `Whisper
automatic speech recognition
scenarios <https://github.com/openvinotoolkit/openvino.genai/blob/master/samples/python/whisper_speech_recognition/README.md>`__
scenarios <https://github.com/openvinotoolkit/openvino.genai/tree/releases/2024/6/samples/python/whisper_speech_recognition/README.md>`__
to generate subtitles in a sample video. Additionally, we will use
`NNCF <https://github.com/openvinotoolkit/nncf>`__ improving model
performance by INT8 quantization. Notebook contains the following steps:
Expand Down Expand Up @@ -228,7 +228,7 @@ Whisper model.
whisper_pipeline.png

To simplify user experience we will use `OpenVINO Generate
API <https://github.com/openvinotoolkit/openvino.genai/blob/master/samples/python/whisper_speech_recognition/README.md>`__.
API <https://github.com/openvinotoolkit/openvino.genai/tree/releases/2024/6/samples/python/whisper_speech_recognition/README.md>`__.
Firstly we will create pipeline with ``WhisperPipeline``. You can
construct it straight away from the folder with the converted model. It
will automatically load the ``model``, ``tokenizer``, ``detokenizer``
Expand Down

0 comments on commit a05a0aa

Please sign in to comment.