Skip to content

방구석 여포 키보드 워리어를 위한 인터넷 망령 욕쟁이할머니 챗봇

Notifications You must be signed in to change notification settings

seonglae/yokhal

Repository files navigation

Yokhal (욕쟁이 할머니)

Korean Chatbot based on Google Gemma

Get started

Installation

git clone https://github.com/seonglae/yokhal && cd yokhal
pip3 install torch==2.1.2 --index-url https://download.pytorch.org/whl/cu121
pip install .
# Optional for flash attention
pip install git+https://github.com/NVIDIA/TransformerEngine.git@stable

Test

# Generate test text
python test.py generate
# Calculate Perplexity
python test.py ppl

Train

# Finetune a full Yokhal
python train.py finetune
# PEFT with QLoRA
python train.py adapt

Models

Demo

About

방구석 여포 키보드 워리어를 위한 인터넷 망령 욕쟁이할머니 챗봇

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages