ccm commited on
Commit
641d5ef
β€’
1 Parent(s): dd6ee7e

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -1
main.py CHANGED
@@ -29,8 +29,10 @@ EXAMPLE_QUERIES = [
29
  EMBEDDING_MODEL_NAME = "allenai-specter"
30
  LLM_MODEL_NAME = "Qwen/Qwen2-7B-Instruct"
31
  PUBLICATIONS_TO_RETRIEVE = 3
 
 
32
  # Load the dataset and convert to pandas
33
- data = pandas.read_parquet("hf://datasets/ccm/publications/data/train-00000-of-00001.parquet")
34
 
35
  # Filter out any publications without an abstract
36
  abstract_is_null = [
 
29
  EMBEDDING_MODEL_NAME = "allenai-specter"
30
  LLM_MODEL_NAME = "Qwen/Qwen2-7B-Instruct"
31
  PUBLICATIONS_TO_RETRIEVE = 3
32
+ PARQUET_URL = "hf://datasets/ccm/publications/data/train-00000-of-00001.parquet"
33
+
34
  # Load the dataset and convert to pandas
35
+ data = pandas.read_parquet(PARQUET_URL)
36
 
37
  # Filter out any publications without an abstract
38
  abstract_is_null = [