We have to change the following files:
- Navigator/Subtopic_Query_Expansion.py
- Navigator/get_paper_embeddings.py
- Navigator/google_scholar_api.py
- Navigator/outline_creation.py
- Navigator/run_full_subtopic_expansion_process.py
- Navigator/search_api.py
- Navigator/subtopic_aspect_generation.py
These are files, we need to change among which except for file google_scholar_api.py
. For this file use pip install scholarly
this library.
for other files, it is simple API call changes from OpenAI or Anthropic to HF. If you see text-generation
task use HF's smolLM-360M
param model. For generating the embeddings use Model2Vec's https://www.google.com/url?q=https://huggingface.co/minishlab/potion-science-32M&sa=D&source=docs&ust=1735750943570206&usg=AOvVaw3fB1uN4JpdB5TJd-2YDsJT
Except for get_paper_embedding.py
file, you don't need Model2Vec and I am going to change that for you guys.
Files assigned to myself:
- get_paper_embedding.py
- outline_creation.py