Skip to content

robert19066/Hen-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hen AI logo

Hen AI [V2 Beta 2 Out!]

Hen is a fine-tunable language model designed for interactive chat and text generation. Hen comes in multiple variants including Hen-o2 Mini, Hen-o2 MAX and hen-o2 ULTRA with Hen-o2 featuring advanced reasoning, Romanian language support, and anti-overfitting mechanisms.

Features

  • Bilingual chat support (English & Romanian)

  • Fast training and fine-tuning with LoRA

  • Modular scripts for training and chatting

  • Handles text-based queries,and creative prompts

  • Lightweight 4-bit model loading for efficiency

  • Supports both single-line and multi-line chat modes

Model Variants

Hen-o2 (Hen-4B) -> Advanced 4-billion parameter model; anti-overfitting, reasoning improvements, and Romanian support Hen-o2 MAX -> Model variant with memory and optimized performance Hen-o2 ULTRA -> Even better iteration of Hen-o2, with ~5B params

Scripts

hen_trainer.py

Use this script to train or fine-tune Hen on custom datasets. Features include:

  • 4-bit model loading for efficiency

  • Dataset filtering, formatting, and merging

  • LoRA fine-tuning

  • Real-time training loss monitoring

python hen_trainer.py

hen_chat.py

Use this script for interactive chatting with Hen. Features include:

  • Single-line and multi-line chat modes

  • Romanian translation support (toggleable)

  • Keeps conversation history for context

  • Configurable temperature and model variant

python hen_chat.py

Keyboard Shortcuts:

  • Ctrl+O — Swap between single-line and multi-line input

  • Ctrl+R — Toggle Romanian mode

  • Ctrl+C — Exit or open menu

Install dependencies:

pip install requirements.txt

Notes

  • Hen-o2 is highly recommended for reasoning and creative tasks.

  • Hen-o2 MAX will include memory for context persistence.

  • 4-bit model loading reduces GPU memory requirements, making Hen accessible on consumer GPUs.

License

This project is licensed under the Apache License 2.0 .

About

Hen is a capable and lightweight AI chatbot model

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages