Giter Site home page Giter Site logo

llama-test-api's Introduction

Llama 3 Test API with MongoDB connector

Table of Contents

About

This project provides a sample implementation of LLaMA 3 (Large Language Model for Assisting), an advanced language model designed to demonstrate capabilities in natural language understanding and generation. The implementation includes necessary scripts and dependencies to set up and run the LLaMA 3 server and application components. It is connected to MongoDB.

Getting Started

Before you begin, ensure you have met the following requirements: Llama3 installed in your machine and running Python 3.8 or higher installed on your machine Pip (Python package installer) Git for version control

Prerequisites

What things you need to install the software and how to install them.

git clone [email protected]:nebnhoj/llama-test-api.git
cd llama-test-api

Installing

A step by step series of examples that tell you how to get a development env running.

  1. Create python virtual environment
python3 -m venv venv
  1. Use the current environment
source venv/bin/activate
  1. Install required libraries
pip freeze > requirements.txt
  1. Start index_server.py
python index_server.py
  1. Start app.py after the index_server started
python app.py

Usage

Test the api by using curl or postman

curl http://127.0.0.1:5601/query?text=your query

llama-test-api's People

Watchers

John Ben Uera 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.