PhD Paper Assistant is a web-based tool designed to help PhD students navigate and understand complex research papers, particularly those filled with machine learning (ML) jargon. By leveraging the power of the Hugging Face blog and Llama 3.1, hosted on the Ollama server, this tool simplifies the process of reading and comprehending cutting-edge research.
- Added subtabs for accepted papers in NeurIPS, ICML, ICLR and CVPR.
- Search for keywords to find accepted papers across top conferences
- Registration & Login: Users can create an account and log in to access personalized features.
- Secure Access: The authentication system ensures that each user's data and interactions are anonymous.
- Live Feed: Once logged in, users can see the latest papers from Hugging Face.
- REST API: The feed is fetched via a simple REST API call, ensuring that the latest papers are always available.
- Text Selection: Users can select any text on the page and right-click to interact with it.
- Ask Ollama Box: This feature pops up when text is selected, providing:
- A text input for queries.
- "Save" and "Clear" buttons for managing interactions.
- Display of the selected text (context) for the query.
- Llama 3.1 Integration: Powered by the Ollama Python API, enabling continuous and coherent conversations with Llama 3.1.
- Contextual Queries: The selected text provides context, helping users to ask more precise questions.
- Message History: All communication with Llama 3.1 is stored until cleared, allowing users to build on previous discussions.
- Save Conversations: Users can save their discussions as tags for future reference.
- History Tab: View all saved discussions, allowing users to revisit and reflect on previous interactions.
- Search Functionality: Filter saved discussions using specific tags. For example, searching for "language model" will retrieve all relevant conversations.
- Zettels: Summarize and save discussions as zettels, which are searchable using prefixes. This helps users create refined concepts over time.
- Tested Configuration: The application is tested on a GTX 1080 with 8 GB VRAM and 48 GB DDR3 RAM. Performance may vary based on the hardware.
- Scalability: Depending on the number of users, more powerful hardware may be required for optimal performance.
- Classroom Use: Professors can set up servers to push meaningful papers to students. Students can then interact with the bot to understand the material.
- Collaborative Learning: By comparing summaries from different students, the system can highlight diverse approaches to the same topic, providing valuable insights.
- Python 3.7+
- Ollama Server Setup: Ensure Llama 3.1 is hosted on an Ollama server.
sudo systemctl start ollama
ollama run llama3.1
- GTX 1080 (or equivalent) with 8 GB VRAM
-
Clone the Repository:
git clone https://github.com/yourusername/phd-paper-assistant.git cd phd-paper-assistant
-
Install Dependencies:
pip install -r requirements.txt
- Run the Server:
flask run
- Access the Application: Open your browser and go to http://localhost:5000 to access the PhD Paper Assistant.
- Register or log in to your account.
- Access your daily feed of papers from Hugging Face.
- Select text from summary in your feed and right-click to open the Ask Ollama box.
- Ask questions or request explanations from Llama 3.1.
- Save useful discussions as tags.
- Use the History tab to review your past interactions.
- Filter discussions using the Search tab to find relevant tags.
- Summarize discussions into zettels for future reference.
Click the "Fork" button on the top right of the repository page.
git checkout -b feature-branch-name
- Implement your feature or fix a bug.
git commit -m "Description of changes"
git push origin feature-branch-name
Go to the original repository and click "New Pull Request."
- This project is licensed under the MIT License - see the LICENSE file for details.
- Hugging Face: For providing access to cutting-edge research papers.
- Ollama: For hosting Llama 3.1 and providing an API for interaction.
- CS50 Ducky: Inspiration for creating an interactive educational tool.
For any queries or support, please raise an issue.