Thanks to visit codestin.com
Credit goes to github.com

Skip to content

87owo/EasyGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

EasyGPT

Easily train and inference on your personal computer, no need for large scale clusters!

image

Requirements

You need to select the appropriate command according to the system and CUDA version.

pip install bitsandbytes
pip install safetensors
pip install torch
pip install tqdm

File Information

The following lists the storage locations of all relevant code and other related documents.

EasyGPT/
├── data/                    # Training text dataset
│
├── model/
│   ├── stage_epoch_*/       # Model training save location
│   └── ...
│
├── train.py                 # Model training complete code
├── chat.py                  # Model dialogue complete code
└── ...                      # Other supplementary folders and files

Chat EasyGPT

Conversation records of the EasyGPT chat model trained for 12 epochs

image

Dataset Format

Dataset Example Download: https://github.com/87owo/EasyGPT/releases

<|user|>Hello!<|assistant|>Hello! I am EasyGPT, an AI assistant. How can I help you?<|end|>
<|user|>Can you introduce yourself?<|assistant|>Sure! I am EasyGPT, an AI assistant.<|end|>
<|user|>Who are you?<|assistant|>Hello, My name is EasyGPT, an AI training by 87owo.<|end|>

Model Config

8GB gpu memory configuration, if you have more gpu memory, you can increase batch_size appropriately

Params hidden_size ffn_hidden_size block_count num_heads vocab_size batch_size
421M 1024 4096 24 16 32000 2
182M 768 3072 16 12 32000 4
77M 512 2048 12 8 32000 8

Official Website

Open Source Website : https://github.com/87owo/EasyGPT

Project License

Please read the Project License. If you would like to apply, please submit your application to Github issues.

https://github.com/87owo/EasyGPT/blob/main/LICENSE.txt