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:
- Question
- 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
- State
Data
Small dataset:
Medium dataset: https://huggingface.co/datasets/natural_questions
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file arxiv_agent-0.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: arxiv_agent-0.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 172.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30f5a64663cd1449f08534c99a7f09153121e092700523a7f25a6ed6a00e4600 |
|
MD5 | 712d892f9cb45cca76f3c7ec96168f22 |
|
BLAKE2b-256 | 0e81819c1d323c05dfe542f0e2846cbcf86bb6d77bbfa98b4627c4d6180b5b62 |