• Stars
    star
    366
  • Rank 116,041 (Top 3 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created over 1 year ago
  • Updated about 1 year ago

Reviews

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

Repository Details

A collection of one-click self-hosted AI

简体中文 | English

Self-Hosted AI

The API interface of this project is compatible with openai, and various open-source projects using openai can be easily adapted. In addition, I also call on everyone to develop compatible API interfaces in a similar way, which is conducive to the development of related applications.

Go to release to download packaged files

Use update.bat to update (without models)

Define the ngrok_token environment variable to expose the API to the internet

Usage Example

Go to https://github.com/josStorer/chatGPTBox, and switch to the following API mode to quickly experience:

Chat

  1. RWKV

  2. ChatGLM 6B Int4

    • Offline
      • This package is based on ChatGLM, open-sourced under the Apache-2.0 license. The built-in model is a trimmed version of https://huggingface.co/silver/chatglm-6b-int4-slim.
      • After unzipping, double-click on the corresponding model file to run. For example, llama.bat to run the llama model, or chatglm.bat to run the chatglm model.
    • Self-Hosted
      • Click the link above to go to Huggingface, copy the space, switch the CPU to the second 8-core for a fast experience, at this time the API address is, [your name]-[repository name].hf.space, for example, if I copy and set the name to test, then my URL would be https://josstorer-test.hf.space/chat/completions
    • When used with ChatGPTBox, the model name needs to be set to chatglm-6b-int4
  3. llama.cpp

    • Offline
      • This package is based on llama.cpp. Built-in command line interactive program is the version I modified to support unicode input on windows, the built-in model is from Chinese-LLaMA-Alpaca
      • Run get_llama_model.sh in WSL or Linux environment to get models. If you already have the model, directly replace the models/llama.cpp/ggml-model-q4_0.bin file.
      • After unzipping, double-click on the corresponding model file to run. For example, llama.bat to run the llama model, or chatglm.bat to run the chatglm model.
    • When used with ChatGPTBox, the model name needs to be set to llama-7b-int4

More Repositories

1

chatGPTBox

Integrating ChatGPT into your browser deeply, everything you need is here
JavaScript
9,765
star
2

RWKV-Runner

A RWKV management and startup tool, full automation, only 8MB. And provides an interface compatible with the OpenAI API. RWKV is a large language model that is fully open source and available for commercial use.
TypeScript
4,856
star
3

chatGPT-search-engine-extension

A browser extension to display ChatGPT response alongside Search Engine results
JavaScript
632
star
4

mix-chatgpt-and-ai-painting

a bot application running on Tencent QQ that integrates GPT chatbot capabilities with AI painting. 一个运行于腾讯qq上的, 将gpt聊天能力与ai绘画集成的机器人应用.
Python
158
star
5

llama.cpp-unicode-windows

llama.cpp with unicode (windows) support
C
52
star
6

get-current-time

This action sets the current ISO8601 time to the time output and also provides readableTime, formattedTime, and many more digital outputs like year, day, second, etc. Useful for setting build times in subsequent steps, renaming your artifact, or keeping the same recorded time for the entire workflow.
JavaScript
37
star
7

UMGExporter

This is an Unreal Engine plugin that automatically generates C++ code bindings for UMG blueprint widgets and animations. 这是一个虚幻引擎插件, 用于为UMG蓝图的控件和动画自动生成c++代码绑定.
C++
21
star
8

nn_example

This repository is related to a video about principles of neural networks, which demonstrates how to write a simple neural network in 100 lines of code and implement handwritten digit recognition without using a framework. 这是一个与神经网络原理讲解视频, 相配套的项目, 演示在不使用框架的情况下, 用约100行代码编写简易的神经网络, 并借此实现手写数字识别.
Python
12
star
9

sgm_plus

7
star
10

after-effects-track-motion-script-for-labelImg

This script uses track motion of After Effects to create XML files quickly for labelImg
JavaScript
2
star
11

web-rwkv-converter

a fork of https://github.com/cryscan/web-rwkv/tree/main/crates/web-rwkv-converter
Rust
1
star
12

LibreHardwareMonitor.Console

C#
1
star