GithubHelp home page GithubHelp logo

wakamex / chatrwkv Goto Github PK

View Code? Open in Web Editor NEW

This project forked from blinkdl/chatrwkv

0.0 0.0 0.0 4.79 MB

ChatRWKV is like ChatGPT but powered by RWKV (100% RNN) language model, and open source.

License: Apache License 2.0

C++ 1.82% Python 94.84% Cuda 3.34%

chatrwkv's Introduction

Getting started

pip install -r requirements.txt
pip install torch==1.13.1 --extra-index-url https://download.pytorch.org/whl/cu117 --upgrade

Download the model you want to run from Huggingface: BlinkDL:

Make sure you meet the System Requirements

Enter the path to the downloaded file in line 48 of instruct.py

python instruct.py

System Requirements

Make sure you have enough VRAM on your graphics card to run these.

  • 7B requires 16GB for fp16 and 8GB for fp16i8 inference
  • 14B requires 28GB for fp16 and 14GB for fp16i8 inference (issue 30: low RAM usage)

Make sure you have enough CPU RAM to load these models

for a description of inference strategies see https://pypi.org/project/rwkv/

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.