Do you fancy your own zero-effort "The morning paper"? Fear not! With the power of LLMs and LangChain you can run your own ArXiv paper summarizer that automatically scans for new papers and sends them to you over Telegram!
git clone https://github.com/leocus/AutoMorningPaper
pip install -r ./requirements.txt
Create a bot on Telegram using BotFather and get the token.
Then, send a message to the bot and retrieve the chat id from https://api.telegram.org/bot<TOKEN>/getUpdates
Choose one of the quantized models from https://huggingface.co/TheBloke/Llama-2-7B-GGML/tree/main.
Create a file called config.yaml in the cloned repository, structured as follows:
lists: # Add lists of interest from arxiv, e.g.,
- "cs.LG"
- "cs.AI"
- "cs.CV"
- "cs.GL"
- "cs.NE"bot:
class_name: # Currently supports SlackBot and TelegramBotparameters:
token: <your token here>channel: <your chat id here> # Only for SlackBotchat_id: <your chat id here> # Only for TelegramBotcriteria: # Add some keywords to detect topics of interest, e.g.,
- interpretability
- xai
- explainabilitymodel_path: "/path/to/llama-2-7b-chat.ggmlv3.q8_0.bin"# Choose as summarizer one of the classes defined in `summarizers.py`summarizer: BulletListSumarizerExplainable and interpretable AI: https://t.me/+ENLgtQWBzHk2OWU0
Federated Learning and Tiny ML: https://t.me/+onXvUQpsJpUwZTY0
- Compatibility with other messaging platforms:
- Discord