Skip to main content

Academicagent

Academicagent is a Python package that integrates downloading papers from arXiv and evaluating them using a local large model (Ollama).

English | 简体中文


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

  1. Download Ollama and Start the Local Large Model Service

    Download Ollama from: https://ollama.com/

    For example, to download the deepseek-r1:1.5b model, run:

    ollama pull deepseek-r1:1.5b
    
  2. 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)

Source distribution for academicagent 0.1.2
File Size Uploaded
academicagent-0.1.2.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for academicagent 0.1.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page