Academicagent
Academicagent is a Python package that integrates downloading papers from arXiv and evaluating them using a local large model (Ollama).
Features
-
Download arXiv Papers
Search for and download a specified number of PDF papers from arXiv based on the keywords provided by the user. -
Large Model Q&A
For each downloaded paper, extract the first page from the PDF and use the local large model to generate a Chinese summary along with an evaluation score for the paper.
Installation
-
Download Ollama and Start the Local Large Model Service
Download Ollama from: https://ollama.com/
For example, to download the
deepseek-r1:1.5bmodel, run:ollama pull deepseek-r1:1.5b
-
Install paperagent
Install using pip:
pip install paperagent
Usage Example
from academicagent.agent import run_agent
run_agent(paper_keyword="object detection", total_count=1, save_path="papers", model_name="deepseek-r1:1.5b")
Input Parameters
-
paper_keyword (string): The keyword used to search for papers on arXiv.
Example: "object detection" -
total_count (integer): The total number of papers to download.
Example: 5 -
save_path (string, default "papers"): The folder path where the downloaded PDFs will be saved. If not provided, it defaults to "papers".
Example: "papers" -
question (string, optional): The question to provide to the large model. If not specified, the default question is:
"Please generate a Chinese summary of this paper and evaluate its value based on originality, effectiveness, and scope, on a scale of 0 to 10, then provide your score after the summary is generated." -
model_name (string, default "deepseek-r1:1.5b"):
The name of the local large model to be used for invoking Ollama.
Output
-
PDF Download: The PDFs of the papers are downloaded from arXiv into the specified save_path folder based on the provided keyword and count.
-
Evaluation File: The title of each paper and the large model's response are written into a Markdown file.
Version History
- v0.1.0
Initial release, implementing arXiv paper downloading and large model Q&A functionality.
Contact
If you have any questions or suggestions, please feel free to submit an issue or pull request.
Metadata
Release files for academicagent 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| academicagent-0.1.2.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| academicagent-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.0 kB
Release files / academicagent-0.1.2.tar.gz
| Download URL | academicagent-0.1.2.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c24a65d09b7a0e105c94b8b461876a68a164a479fdfa9c7eb4e2385a091bbb7f
|
|
BLAKE2b-256 checksum How to use checksums |
543fd0dd41d9dd3972262a283d4d99ccb69b0ac386b3813b47f092fbe751f4f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Release files / academicagent-0.1.2-py3-none-any.whl
| Download URL | academicagent-0.1.2-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
29e4dcb07aeb8e05d0f73ab69262f8c437d9e7fe75c672fffe3290bcb1bafef8
|
|
BLAKE2b-256 checksum How to use checksums |
edc8f7c8f8a156609a8ea09cbb179b589e1b017f2ddf38db31c554f762a5672b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|