Skip to content

Commit

Permalink
Issue #44 Add Gradio Demos for Llama Models - Initial Contribution (#67)
Browse files Browse the repository at this point in the history
* Adding Gradio Demos

* Updated README, Added descriptions, changed chatbot interface

* Update gradio_demos/README.md

Co-authored-by: Aritra Roy Gosthipaty <[email protected]>

* Update gradio_demos/README.md

Co-authored-by: Aritra Roy Gosthipaty <[email protected]>

* Removed other demos, updated system_prompts for specific tasks, updated README

* Updated README

* Updated README, chatbot_demo

* Update README.md

* Simplify Chatbot Demo notebook and remove gradio_demos/README.md

* Added screenshot, refactored code and cell descriptions

* Refactor chat history handling for direct Gradio compatibility

* Synced README.md with upstream

* Synced README.md with upstream

* Remove screenshot from README

* Adding Gradio
demo as a Python Script

* Add demo screenshot to assets

* Update path to screenshot in notebook

---------

Co-authored-by: Srinjoy <[email protected]>
Co-authored-by: Aritra Roy Gosthipaty <[email protected]>
Co-authored-by: Srinjoy Dutta <[email protected]>
  • Loading branch information
4 people authored Oct 21, 2024
1 parent 5994901 commit 1902354
Show file tree
Hide file tree
Showing 5 changed files with 1,412 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,9 @@ Seeking an entry-level RAG pipeline? This notebook guides you through building a
## Text Generation Inference (TGI) & API Inference with Llama Models
Text Generation Inference (TGI) framework enables efficient and scalable deployment of Llama models. In this notebook we'll learn how to integrate TGI for fast text generation and to consume already deployed Llama models via Inference API:

* [Text Generation Inference (TGI) with Llama Models](../llama_tgi_api_inference/tgi_api_inference_recipe.ipynb)
* [Text Generation Inference (TGI) with Llama Models](../llama_tgi_api_inference/tgi_api_inference_recipe.ipynb)

## Chatbot Demo with Llama Models
Would you like to build a chatbot with Llama models? Here's a simple example to get you started.

* [Chatbot with Llama Models](../gradio_demos/chatbot_demo.ipynb)
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
.venv
Binary file added assets/gradio_chatbot_demo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1902354

Please sign in to comment.