andreer commited on
Commit
8f39852
·
verified ·
1 Parent(s): f612eb3

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. backend/vespa_app.py +2 -3
backend/vespa_app.py CHANGED
@@ -402,8 +402,7 @@ class VespaQueryClient:
402
  for result in search_results
403
  if "questions" in result["fields"]
404
  ]
405
- for q in questions:
406
- print(q)
407
  unique_questions = set([item for sublist in questions for item in sublist])
408
 
409
  # remove an artifact from our data generation
@@ -422,7 +421,7 @@ class VespaQueryClient:
422
  self,
423
  query: str,
424
  q_emb: torch.Tensor,
425
- target_hits_per_query_tensor: int = 20,
426
  hits: int = 3,
427
  timeout: str = "10s",
428
  sim_map: bool = False,
 
402
  for result in search_results
403
  if "questions" in result["fields"]
404
  ]
405
+
 
406
  unique_questions = set([item for sublist in questions for item in sublist])
407
 
408
  # remove an artifact from our data generation
 
421
  self,
422
  query: str,
423
  q_emb: torch.Tensor,
424
+ target_hits_per_query_tensor: int = 100,
425
  hits: int = 3,
426
  timeout: str = "10s",
427
  sim_map: bool = False,