Spaces:
Sleeping
Sleeping
Commit
·
44752ac
1
Parent(s):
3882789
update limit and markdown
Browse files
app.py
CHANGED
|
@@ -190,7 +190,7 @@ class FiftyOneAssistant:
|
|
| 190 |
"""Wrapper for GPU embedding function."""
|
| 191 |
return get_embedding_gpu(text, config.embedding_model)
|
| 192 |
|
| 193 |
-
def hybrid_search(self, query_text: str, query_vector: List[float], limit: int =
|
| 194 |
"""
|
| 195 |
Hybrid search using only dense vectors + text filtering
|
| 196 |
"""
|
|
@@ -689,6 +689,8 @@ def create_demo():
|
|
| 689 |
# 🚀 VoxelGPT-Mini: A FiftyOne Assistant
|
| 690 |
|
| 691 |
Your **intelligent code companion** for computer vision and machine learning workflows using FiftyOne!
|
|
|
|
|
|
|
| 692 |
|
| 693 |
## ✨ Powered By:
|
| 694 |
- **LLM Engine**: Meta's Llama 3.2 (1B) with fine-tuned adaptation for FiftyOne expertise
|
|
|
|
| 190 |
"""Wrapper for GPU embedding function."""
|
| 191 |
return get_embedding_gpu(text, config.embedding_model)
|
| 192 |
|
| 193 |
+
def hybrid_search(self, query_text: str, query_vector: List[float], limit: int = 4, text_boost: float = 0.1):
|
| 194 |
"""
|
| 195 |
Hybrid search using only dense vectors + text filtering
|
| 196 |
"""
|
|
|
|
| 689 |
# 🚀 VoxelGPT-Mini: A FiftyOne Assistant
|
| 690 |
|
| 691 |
Your **intelligent code companion** for computer vision and machine learning workflows using FiftyOne!
|
| 692 |
+
|
| 693 |
+
NOTE: This assistant can make mistakes! It's using a small 1B parameter model and retrieving from a synthetic dataset created from FiftyOne documentation, tutorials, and other content.
|
| 694 |
|
| 695 |
## ✨ Powered By:
|
| 696 |
- **LLM Engine**: Meta's Llama 3.2 (1B) with fine-tuned adaptation for FiftyOne expertise
|