-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into release_notes_v1_1
- Loading branch information
Showing
9 changed files
with
456 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
.. _Codegen_Guide: | ||
|
||
Codegen Sample Guide | ||
##################### | ||
|
||
.. note:: This guide is in its early development and is a work-in-progress with | ||
placeholder content. | ||
|
||
Overview | ||
******** | ||
|
||
The CodeGen example uses specialized AI models that went through training with datasets that | ||
encompass repositories, documentation, programming code, and web data. With an understanding | ||
of various programming languages, coding patterns, and software development concepts, the | ||
CodeGen LLMs assist developers and programmers. The LLMs can be integrated into the developers' | ||
Integrated Development Environments (IDEs) to have more contextual awareness to write more | ||
refined and relevant code based on the suggestions. | ||
|
||
Purpose | ||
******* | ||
* Code Generation: Streamline coding through Code Generation, enabling non-programmers to describe tasks for code creation. | ||
* Code Completion: Accelerate coding by suggesting contextually relevant snippets as developers type. | ||
* Code Translation and Modernization: Translate and modernize code across multiple programming languages, aiding interoperability and updating legacy projects. | ||
* Code Summarization: Extract key insights from codebases, improving readability and developer productivity. | ||
* Code Refactoring: Offer suggestions for code refactoring, enhancing code performance and efficiency. | ||
* AI-Assisted Testing: Assist in creating test cases, ensuring code robustness and accelerating development cycles. | ||
* Error Detection and Debugging: Detect errors in code and provide detailed descriptions and potential fixes, expediting debugging processes. | ||
|
||
How It Works | ||
************ | ||
|
||
The CodeGen example uses an open-source code generation model with Text Generation Inference (TGI) | ||
for serving deployment. It is presented as a Code Copilot application as shown in the diagram below. | ||
|
||
.. figure:: /GenAIExamples/CodeGen/assets/img/codegen_architecture.png | ||
:alt: CodeGen Architecture Diagram | ||
|
||
Deployment | ||
********** | ||
Here are some deployment options, depending on your hardware and environment: | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
CodeGen Deployment Options <deploy/index> |
Oops, something went wrong.