• Stars
    star
    152
  • Rank 243,269 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created over 1 year ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A voice chatbot based on GPT4All and talkGPT, running on your local pc!

talkGPT4All

A voice chatbot based on GPT4All and talkGPT.

Video demo.

Please check more details in this blog post (in Chinese).

If you are looking for the older version of talkGPT4All, please checkout to dev/v1.0.0 branch.

Installation

Install using pip (Recommend)

talkgpt4all is on PyPI, you can install it using simple one command:

pip install talkgpt4all

Install from source code

Clone the code:

git clone https://github.com/vra/talkGPT4All.git <ROOT>

Install the dependencies and talkGPT4All in a python virtual environment:

cd <ROOT>
python -m venv talkgpt4all
source talkgpt4all/bin/activate
pip install -U pip
pip install -r requirements.txt

Extra dependencies for Linux users

We use pyttsx3 to convert text to voice. Please note that on Linux ๏ผŒYou need to install dependencies:

sudo apt update && sudo apt install -y espeak ffmpeg libespeak1

Usage

Open a terminal and type talkgpt4all to begin:

talkgpt4all

Use different LLMs

You can choose different LLMs using --gpt-model-type <type>, all available choices:

{
"ggml-gpt4all-j-v1.3-groovy"
"ggml-gpt4all-j-v1.2-jazzy"
"ggml-gpt4all-j-v1.1-breezy"
"ggml-gpt4all-j"
"ggml-gpt4all-l13b-snoozy"
"ggml-vicuna-7b-1.1-q4_2"
"ggml-vicuna-13b-1.1-q4_2"
"ggml-wizardLM-7B.q4_2"
}

Use different Whisper models

You can choose whisper model type using --whisper-model-type <type>, all available choices:

{
"tiny.en"
"tiny"
"base.en"
"base"
"small.en"
"small"
"medium.en"
"medium"
"large-v1"
"large-v2"
"large"
}

Tune voice rate

You can tune the voice rate using --voice-rate <rate>, default rate is 165. the larger the speak faster.

e.g.,

talkgpt4all --whisper-model-type large --voice-rate 150

RoadMap

  • Add source building for llama.cpp, with more flexible interface.
  • More LLMs
  • Add support for contextual information during chating.
  • Test code on Linux๏ผŒMac Intel and WSL2.
  • Add support for Chinese input and output.
  • Add Documents and Changelog

contributions are welcomed!

More Repositories

1

flopth

A simple program to calculate and visualize the FLOPs and Parameters of Pytorch models, with handy CLI and easy-to-use Python API.
Python
118
star
2

dinov2-retrieval

A cli program of image retrieval using dinov2
Python
55
star
3

action-recognition-using-3d-resnet

Use 3D ResNet to extract features of UCF101 and HMDB51 and then classify them.
Python
39
star
4

mirrors-china

Mirrors and registries in China to speedup your package installation.
Shell
36
star
5

dompare

๐Ÿ ๐ŸŽ A tool to compare two directories and show diff in HTML๐ŸŽ ๐Ÿ
Python
23
star
6

bing_brush

One-line Image Generating Program Based on the Bing Image Createor (Powered by DALLยทE 3), `pip install bing_brush`, that's it!
Python
10
star
7

easybox

โ˜ ๐Ÿ“ˆ โ˜ A simple, out-of-the-box and cross-platform bbox annotation tool by Python. Try it by `pip install easybox`
Python
9
star
8

mimic_head

Unofficial One-click Version of LivePortrait, with Webcam Support
Python
8
star
9

eccv22-challenges

Challenges on ECCV 2022
3
star
10

hexo-blog-mdfile

This repository contains source markdown files of my hexo blog
2
star
11

llm-code-scorer

Code Scorer using LLM, try it now: 47.99.139.135
Python
2
star
12

config-file

my linux operation system configuring files.
Vim Script
2
star
13

weekly-posts

collection of technical posts that I read each week, hopefully they may give you inspiration!
2
star
14

ali-intern-test

้˜ฟ้‡Œๅฎžไน ็”Ÿๆ‹›่˜ๅœจ็บฟ็ฌ”่ฏ•้ข˜็›ฎ่งฃ็ญ”
C++
1
star
15

Python-Tools

This repository contains python code (actually, shell scripts are also included) for my these days' work in Video/SVM.
Python
1
star
16

RoborGame2013

This repository contains our group's source code in RoboGame 2013 in my university.
C#
1
star
17

vra.github.io

HTML
1
star
18

cool_certificate

A toy tool to generate cool (or funny) certifications, http://123.206.129.160:8001
Python
1
star
19

ArtNet

Create Artwork using Deep Learning, http://123.206.129.160:8002/
Python
1
star
20

canny-lepton-photon

A simple Canny edge detector, designed as a Photon of LeptonAI
Python
1
star
21

mkdocs-material-example

1
star