Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# LLM-Based Chat Application
|
| 2 |
|
| 3 |
This is a language model-based chat application that provides users with relevant, up-to-date, and easy-to-understand responses by leveraging web search and a powerful language model. The basic flow involves performing a web search using DuckDuckGo, followed by generating a response using the Qwen2.5-0.5b-Instruct language model.
|
| 4 |
|
|
|
|
| 5 |
## Features
|
| 6 |
|
| 7 |
- **Web Search**: Performs real-time searches using DuckDuckGo to retrieve the latest relevant information.
|
|
@@ -9,6 +24,16 @@ This is a language model-based chat application that provides users with relevan
|
|
| 9 |
- **Simple Interface**: Built with Gradio to offer an easy-to-use web interface for users to interact with the model.
|
| 10 |
- **Efficient and Scalable**: Optimized for performance using Intel-specific optimizations via `optimum-intel` and other acceleration libraries.
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
## Dependencies
|
| 13 |
|
| 14 |
The following dependencies are required for running this application:
|
|
@@ -39,15 +64,10 @@ pip install -r requirements.txt
|
|
| 39 |
```
|
| 40 |
|
| 41 |
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
emoji: π
|
| 45 |
-
colorFrom: indigo
|
| 46 |
-
colorTo: red
|
| 47 |
-
sdk: gradio
|
| 48 |
-
sdk_version: 5.4.0
|
| 49 |
-
app_file: app.py
|
| 50 |
-
pinned: false
|
| 51 |
-
---
|
| 52 |
|
| 53 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Llm Chatbot
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: red
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 5.4.0
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
license: apache-2.0
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 14 |
+
|
| 15 |
# LLM-Based Chat Application
|
| 16 |
|
| 17 |
This is a language model-based chat application that provides users with relevant, up-to-date, and easy-to-understand responses by leveraging web search and a powerful language model. The basic flow involves performing a web search using DuckDuckGo, followed by generating a response using the Qwen2.5-0.5b-Instruct language model.
|
| 18 |
|
| 19 |
+
Live project:
|
| 20 |
## Features
|
| 21 |
|
| 22 |
- **Web Search**: Performs real-time searches using DuckDuckGo to retrieve the latest relevant information.
|
|
|
|
| 24 |
- **Simple Interface**: Built with Gradio to offer an easy-to-use web interface for users to interact with the model.
|
| 25 |
- **Efficient and Scalable**: Optimized for performance using Intel-specific optimizations via `optimum-intel` and other acceleration libraries.
|
| 26 |
|
| 27 |
+
## Model Used
|
| 28 |
+
- Language Model: qwen2.5-0.5b-instruct
|
| 29 |
+
- A powerful and efficient model that generates human-like responses based on the query.
|
| 30 |
+
|
| 31 |
+
## Application Flow
|
| 32 |
+
- **User Query**: The user inputs a question or request.
|
| 33 |
+
- **Web Search**: The system performs a web search using DuckDuckGo to gather recent and relevant information.
|
| 34 |
+
- **Response Generation**: The gathered data is used to generate a clear, relevant, and easy-to-understand response using the qwen2.5-0.5b-instruct language model.
|
| 35 |
+
- **User Response**: The application returns the generated response to the user.
|
| 36 |
+
|
| 37 |
## Dependencies
|
| 38 |
|
| 39 |
The following dependencies are required for running this application:
|
|
|
|
| 64 |
```
|
| 65 |
|
| 66 |
|
| 67 |
+
## License
|
| 68 |
+
- This project is licensed under the Apache License 2.0. See the LICENSE file for details.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
|
| 70 |
+
## Acknowledgements
|
| 71 |
+
- **OpenVINO**: For efficient acceleration of the language model.
|
| 72 |
+
- **DuckDuckGo**: For providing real-time web search capabilities.
|
| 73 |
+
- **Hugging Face**: For providing powerful transformer models and tools.
|