Skip to main content

Neural Retrieval-Augmented Generation for GitHub code blocks

Project description

LLM Retrieval Augmented Generation


short alias lrag

The original version of the NN RAG project was created by Waleed Khalid at the Computer Vision Laboratory, University of Würzburg, Germany.

Overview 📖

A minimal Retrieval-Augmented Generation (RAG) pipeline for code and dataset details.
This project aims to provide LLMs with additional context from the internet or local repos, then optionally fine-tune the LLM for specific tasks.

Requirements

  • Python 3.8+ recommended
  • Pip or Conda for installing dependencies
  • (Optional) GPU with CUDA if you plan to use faiss-gpu or do large-scale training

Installing Dependencies

  1. Create and activate a virtual environment (recommended):
    python -m venv venv
    source venv/bin/activate   # Linux/Mac
    venv\Scripts\activate      # Windows
    
  2. Latest Development Version

Install the latest version directly from GitHub:

pip install git+https://github.com/ABrain-One/nn-rag --upgrade

Project details


Download files

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

Source Distribution

nn_rag-1.0.1.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nn_rag-1.0.1-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file nn_rag-1.0.1.tar.gz.

File metadata

  • Download URL: nn_rag-1.0.1.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nn_rag-1.0.1.tar.gz
Algorithm Hash digest
SHA256 572ae5715f2fd04e29f9fee328e4a46c2a53e49d7d39cfe8dead535e2d2c1d54
MD5 605f1e2ceb9b67ee82c15ede974cee27
BLAKE2b-256 7968acf23dc465c6620a9e3e3758df234e7135ad71c29a328b2f62258c6ec369

See more details on using hashes here.

File details

Details for the file nn_rag-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: nn_rag-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nn_rag-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d27dabc5a66800e299a51d6ca5b6d2aa6caf02b4a9b7ee1f3d0062985e491ee3
MD5 6b23b247dc949ac84c20ed965a83e713
BLAKE2b-256 742d0e52be09cf68cdeee7f000d3fdd4bbf2e4681eca25a66fac4908cb6b7635

See more details on using hashes here.

Supported by

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