Ar-Ray-code / ChatLLM

Test script of LLMs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChatLLM

Chat test scripts for LLM

Setup

$ cd && git clone https://github.com/karaage0703/ChatLLM
$ cd ~/ChatLLM
$ docker build -t ubuntu:ChatLLM .

Usage

Use GPU

$ cd ~/ChatLLM
$ docker run -it -v $(pwd):/root --gpus all ubuntu:ChatLLM

Use CPU

$ cd ~/ChatLLM
$ docker run -it -v $(pwd):/root ubuntu:ChatLLM
root@hostname:/# cd /root
root@hostname:~# python3 chat_calm.py
root@hostname:~# python3 chat_rinna.py
root@hostname:~# python3 chat_rwkv.py
root@hostname:~# python3 chat_llama2.py

References

About

Test script of LLMs

License:MIT License


Languages

Language:Python 92.6%Language:Dockerfile 7.4%