Update markdowm.py
Browse files- markdowm.py +10 -35
markdowm.py
CHANGED
@@ -14,7 +14,7 @@ With QueryVault Chatbot, you can interactively query your document, receive cont
|
|
14 |
|
15 |
---
|
16 |
|
17 |
-
## π **Steps to Use the
|
18 |
|
19 |
1. **Upload Your File**
|
20 |
Begin by uploading a document. Supported formats include `.pdf`, `.docx`, `.txt`, `.csv`, `.xlsx`, `.pptx`, `.html`, `.jpg`, `.png`, and more.
|
@@ -53,18 +53,18 @@ Upon uploading a document, the bot utilizes **LlamaParse** to parse its content.
|
|
53 |
- **Best For**: Basic embeddings for straightforward use cases.
|
54 |
|
55 |
### **LLMs** (For generating answers)
|
56 |
-
1. **`
|
57 |
- **Size**: 46.7B parameters
|
58 |
- **Purpose**: Demonstrates compelling performance with minimal fine-tuning. Suited for unmoderated or exploratory use.
|
59 |
-
2. **`
|
60 |
- **Size**: 8.03B parameters
|
61 |
- **Purpose**: Optimized for dialogue, emphasizing safety and helpfulness. Excellent for structured, instructive responses.
|
62 |
-
3. **`
|
63 |
- **Size**: 7.24B parameters
|
64 |
- **Purpose**: Fine-tuned for effectiveness; lacks moderation, useful for quick demonstration purposes.
|
65 |
-
4. **`
|
66 |
- **Size**: 7.22B parameters
|
67 |
-
- **Purpose**: Robust
|
68 |
|
69 |
---
|
70 |
|
@@ -123,33 +123,8 @@ guide = '''
|
|
123 |
|
124 |
| **LLM** | **Best Use Case** |
|
125 |
|------------------------------------|-----------------------------------------|
|
126 |
-
| `
|
127 |
-
| `
|
128 |
-
| `
|
129 |
|
130 |
-
'''
|
131 |
-
|
132 |
-
footer = """
|
133 |
-
<div style="background-color: #1d2938; color: white; padding: 10px; width: 100%; bottom: 0; left: 0; display: flex; justify-content: space-between; align-items: center; padding: .2rem 35px; box-sizing: border-box; font-size: 16px;">
|
134 |
-
<div style="text-align: left;">
|
135 |
-
<p style="margin: 0;">© 2024 </p>
|
136 |
-
</div>
|
137 |
-
<div style="text-align: center; flex-grow: 1;">
|
138 |
-
<p style="margin: 0;"> This website is made with β€ by SARATH CHANDRA</p>
|
139 |
-
</div>
|
140 |
-
<div class="social-links" style="display: flex; gap: 20px; justify-content: flex-end; align-items: center;">
|
141 |
-
<a href="https://github.com/21bq1a4210" target="_blank" style="text-align: center;">
|
142 |
-
<img src="data:image/png;base64,{}" alt="GitHub" width="40" height="40" style="display: block; margin: 0 auto;">
|
143 |
-
<span style="font-size: 14px;">GitHub</span>
|
144 |
-
</a>
|
145 |
-
<a href="https://www.linkedin.com/in/sarath-chandra-bandreddi-07393b1aa/" target="_blank" style="text-align: center;">
|
146 |
-
<img src="data:image/png;base64,{}" alt="LinkedIn" width="40" height="40" style="display: block; margin: 0 auto;">
|
147 |
-
<span style="font-size: 14px;">LinkedIn</span>
|
148 |
-
</a>
|
149 |
-
<a href="https://21bq1a4210.github.io/MyPortfolio-/" target="_blank" style="text-align: center;">
|
150 |
-
<img src="data:image/png;base64,{}" alt="Portfolio" width="40" height="40" style="display: block; margin-right: 40px;">
|
151 |
-
<span style="font-size: 14px;">Portfolio</span>
|
152 |
-
</a>
|
153 |
-
</div>
|
154 |
-
</div>
|
155 |
-
"""
|
|
|
14 |
|
15 |
---
|
16 |
|
17 |
+
## π **Steps to Use the HundAI QueryVault Chatbot**
|
18 |
|
19 |
1. **Upload Your File**
|
20 |
Begin by uploading a document. Supported formats include `.pdf`, `.docx`, `.txt`, `.csv`, `.xlsx`, `.pptx`, `.html`, `.jpg`, `.png`, and more.
|
|
|
53 |
- **Best For**: Basic embeddings for straightforward use cases.
|
54 |
|
55 |
### **LLMs** (For generating answers)
|
56 |
+
1. **`Mixtral-8x7B-Instruct`**
|
57 |
- **Size**: 46.7B parameters
|
58 |
- **Purpose**: Demonstrates compelling performance with minimal fine-tuning. Suited for unmoderated or exploratory use.
|
59 |
+
2. **`Meta-Llama-3-8B-Instruct`**
|
60 |
- **Size**: 8.03B parameters
|
61 |
- **Purpose**: Optimized for dialogue, emphasizing safety and helpfulness. Excellent for structured, instructive responses.
|
62 |
+
3. **`Mistral-7B`**
|
63 |
- **Size**: 7.24B parameters
|
64 |
- **Purpose**: Fine-tuned for effectiveness; lacks moderation, useful for quick demonstration purposes.
|
65 |
+
4. **`HundAI`**
|
66 |
- **Size**: 7.22B parameters
|
67 |
+
- **Purpose**: Robust fine-tuned model for inference, leveraging large-scale data for highly contextual responses.
|
68 |
|
69 |
---
|
70 |
|
|
|
123 |
|
124 |
| **LLM** | **Best Use Case** |
|
125 |
|------------------------------------|-----------------------------------------|
|
126 |
+
| `Mixtral-8x7B-Instruct-v0.1` | Works well for **both short and long answers** |
|
127 |
+
| `Meta-Llama-3-8B-Instruct` | Ideal for **long-length answers** |
|
128 |
+
| `HundAI` | Best suited for **short-length answers** |
|
129 |
|
130 |
+
'''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|