Added a functionality to allow the user to choose between hot papers (computed using hot score) and top papers, which chooses the papers with the most upvotes in a certain time frame (day/week/month year)

Note

  1. I wasn't able to run locally https://huggingface.co/api/daily_papers?limit={} with a value large than 100. Please validate it works with a 1000
  2. We might need to significantly increase the number of fetched papers to retrieve the top papers from the last year, or we could design some caching mechanism.
Owner

thanks for the PR, there was a merge conflict so I added the changes

Owner

does not work for more than 100 papers for now, so will revisit this, reverted changes for now

Owner

cc: @hysts if you know how to get all papers more than 100 via the api

I don't think it's possible directly, but it's possible to get the list of papers for each date, so you can run a loop for date to get more than 100 papers.

Also, you can use this dataset https://huggingface.co/datasets/hysts-bot-data/daily-papers to get the list of arXiv ids.

Cannot merge
This branch has merge conflicts in the following files:
  • app.py

Sign up or log in to comment