Skip to main content

LLM agent to answer questions about arXiv papers

Project description

arXiv agent

Setup

conda create -n arxiv-agent python=3.12
conda activate arxiv-agent
# pytorch packages
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
# huggingface packages
pip install transformers accelerate
conda env config vars set LANGCHAIN_TRACING_V2="true"
conda env config vars set LANGCHAIN_API_KEY=[...]

Install arxiv_agent package:

conda activate arxiv-agent
conda develop .

CodeLLama:

Design

Prompt:

  1. Question
  2. Available API calls: you can use the following models
  • Specification of what each model does For now, I'm thinking we can just insert "specific" knowledge into each model via context
  1. State

Data

Small dataset:

Medium dataset: https://huggingface.co/datasets/natural_questions

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

arxiv_agent-0.0.0-py2.py3-none-any.whl (172.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file arxiv_agent-0.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for arxiv_agent-0.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 30f5a64663cd1449f08534c99a7f09153121e092700523a7f25a6ed6a00e4600
MD5 712d892f9cb45cca76f3c7ec96168f22
BLAKE2b-256 0e81819c1d323c05dfe542f0e2846cbcf86bb6d77bbfa98b4627c4d6180b5b62

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page