Giter Site home page Giter Site logo

yousefazizi1982 / tinillamagradiochat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fabiomatricardi/tinillamagradiochat

0.0 0.0 0.0 4.89 MB

Repo for a ChatBot, with Gradio, Streaming TinyLlama1.1BOpenOrca.gguf on CPU only

Python 100.00%

tinillamagradiochat's Introduction

TiniLlamaGradioChat

Repo for a ChatBot, with Gradio, Streaming TinyLlama1.1BOpenOrca.gguf on CPU only

This is a ChatBot, with TinyLlama model, 1.1Billion parameters, distilled with Orca2 dataset.

Instructions

Virtual Environment

You can also find a requirements.txt file in the repo Create a Virtual Environment and activate it

Install dependencies

  • langchain is required only if you want to use the conversation history capabilities.
  • CTransformers is supported by LangChain
pip install ctransformers
pip install gradio
pip install langchain

Download the files

Download the python file Chat_tinyLlamaOpenOrca.py and the images 456322.webp and TinyLlama_logo.png Create a subfolder called models and download there the GGUF model file tinyllama-1.1b-1t-openorca.Q4_K_M.gguf.

Go in your terminal, and with the VENV activated run

python Chat_tinyLlamaOpenOrca.py

This is the result :-)

tinillamagradiochat's People

Contributors

fabiomatricardi 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.