GithubHelp home page GithubHelp logo

amarnathagowda / codellamaassistant Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 685 KB

A versatile code assistant tool leveraging CodeLlama's Llama2 AI to enhance coding efficiency and accuracy for developers.

License: MIT License

Python 65.41% Jupyter Notebook 34.59%

codellamaassistant's Introduction

LokiLogic

This project is a multifaceted code assistant designed to aid developers in writing better code, learning new programming languages, and debugging efficiently. Created with the goal of enhancing the coding experience, it serves as an educational tool for those looking to expand their coding expertise while also offering robust debugging support. Whenever developers encounter errors, this assistant provides intelligent insights and solutions, streamlining the debugging process and reducing development time.

Built With

  • Python: The primary programming language used for developing the backend logic and functionalities.
  • Ollama: Utilized for leveraging large language models efficiently with a focus on reducing computational demands and optimizing performance.
  • CodeLlama: Integrated for advanced natural language processing capabilities, enhancing the interaction between the user and the code through sophisticated language models.
  • LangChain: Applied to link various language models and services seamlessly, enabling more complex and versatile language-based applications.
  • Gradio: Employed to create a user-friendly web interface that allows users to interact with the model easily, providing inputs and receiving outputs directly.

Getting Started

Prerequisites

  • Python 3.x
  • Ollama

Installation

STEP 01 - Clone the repository

Clone the repo

git clone https://github.com/AmarnathaGowda/CodeLlamaAssistant.git

STEP 02- OLLAMA Setup

alt text

  • On your favort terminal, run the following command to install the ollama
ollama run codellama

alt text

  • Once the installation is complete, run the following command to create the custom model
ollama create LokiLogic -f Modelfile

STEP 03- Create a conda environment after opening the repository

conda create -n CodeLlamaAssistantEnv python -y
conda activate CodeLlamaAssistantEnv

STEP 04- install the requirements

pip install -r requirements.txt
# Finally run the following command
python app.py
open up localhost URL : http://127.0.0.1:7860

alt text

codellamaassistant's People

Contributors

amarnathagowda avatar

Stargazers

BHEESETTI ANAND avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.