Spaces:
Runtime error
Runtime error
πwπ
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ tokenizer = AutoTokenizer.from_pretrained("google/gemma-7b-it", token=token)
|
|
21 |
device = torch.device("cuda")
|
22 |
model = model.to(device)
|
23 |
RAG = SentenceTransformer("mixedbread-ai/mxbai-embed-large-v1")
|
24 |
-
TOP_K =
|
25 |
HEADER = "\n# RESOURCES:\n"
|
26 |
# prepare data
|
27 |
# since data is too big we will only select the first 3K lines
|
|
|
21 |
device = torch.device("cuda")
|
22 |
model = model.to(device)
|
23 |
RAG = SentenceTransformer("mixedbread-ai/mxbai-embed-large-v1")
|
24 |
+
TOP_K = 1
|
25 |
HEADER = "\n# RESOURCES:\n"
|
26 |
# prepare data
|
27 |
# since data is too big we will only select the first 3K lines
|