Spaces:
Sleeping
Sleeping
Upload README-2.md
Browse files- README-2.md +61 -0
README-2.md
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Rxple Chat Bot 📢
|
2 |
+
|
3 |
+
Welcome to Rxple Chat Bot, an advanced AI chat interface built using Gradio and Hugging Face's Inference Client. This bot is designed to engage in natural conversations while respecting user privacy, ensuring no data is stored.
|
4 |
+
|
5 |
+
## Features
|
6 |
+
|
7 |
+
- **Privacy-Focused**: Our AI does not store any user data.
|
8 |
+
- **Flexible Configuration**: Customize system messages, max tokens, temperature, and top-p parameters.
|
9 |
+
- **Interactive Interface**: Engage in real-time conversations through a user-friendly web interface.
|
10 |
+
|
11 |
+
## Getting Started
|
12 |
+
|
13 |
+
### Prerequisites
|
14 |
+
|
15 |
+
Ensure you have Python installed on your machine. Additionally, install the required packages by running:
|
16 |
+
|
17 |
+
```bash
|
18 |
+
pip install gradio huggingface_hub
|
19 |
+
```
|
20 |
+
|
21 |
+
### Running the Bot
|
22 |
+
|
23 |
+
1. Clone this repository or download the script.
|
24 |
+
2. Run the script using Python:
|
25 |
+
|
26 |
+
```bash
|
27 |
+
python rxple_chat_bot.py
|
28 |
+
```
|
29 |
+
|
30 |
+
3. Open your web browser and navigate to `http://localhost:7860` to access the chat interface.
|
31 |
+
|
32 |
+
## Usage
|
33 |
+
|
34 |
+
The chat interface provides several customization options to tailor the conversation experience:
|
35 |
+
|
36 |
+
- **System Message**: Set the initial context or instructions for the AI.
|
37 |
+
- **Max New Tokens**: Define the maximum number of tokens the AI can generate per response.
|
38 |
+
- **Temperature**: Adjust the randomness of the AI's responses (lower values make it more deterministic).
|
39 |
+
- **Top-p (Nucleus Sampling)**: Control the diversity of the generated text (higher values increase diversity).
|
40 |
+
|
41 |
+
## Customization
|
42 |
+
|
43 |
+
You can further customize the appearance and behavior of the chat interface by modifying the script. Here are some key areas to explore:
|
44 |
+
|
45 |
+
- **Custom CSS**: The `opq` variable allows you to change the title color and add a logo.
|
46 |
+
- **Custom HTML**: The `custom_html` variable lets you inject custom HTML content, such as a welcome message or logo.
|
47 |
+
- **Description**: Update the `combined_description` variable to provide additional information about the bot.
|
48 |
+
|
49 |
+
## Contributing
|
50 |
+
|
51 |
+
Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.
|
52 |
+
|
53 |
+
## License
|
54 |
+
|
55 |
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
56 |
+
|
57 |
+
---
|
58 |
+
|
59 |
+
**Follow us on [Instagram](https://www.instagram.com/khellon_patel_21)** for updates and more!
|
60 |
+
|
61 |
+
Rxple Chat Bot is brought to you by the team behind Qwen2.5-Coder-32B-Instruct. Thank you for using our service! 🌟
|