Reinforcment Learning from Human Feedback
Project description
LLMs that are Helpful, Honest, Harmless, and Huggy 🤗
Installation
Download and install h4 by running:
python -m pip install h4
If you want the bleeding-edge version, install from source by running:
python -m pip install git+https://github.com/huggingface/h4.git
Developer installation
To contribute code to this project, first create a Python virtual environment using e.g. Conda:
conda create -n h4 python=3.8 && conda activate h4
Then install the base requirements with:
python -m pip install -e '.[dev]'
This will install core packages like black and isort that we use to ensure consistent code formatting.
Formatting your code
We use black and isort to ensure consistent code formatting. After following the installation steps, you can check your code locally by running:
make style && make quality
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file h4-0.1.0.tar.gz.
File metadata
- Download URL: h4-0.1.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1d1f2aaf87c0bb909ddadddbf857f075d026754c97584019a09ed345a9e7455
|
|
| MD5 |
62a7b95939566f847ee66bc5e17abdc5
|
|
| BLAKE2b-256 |
18b2d494228d6da6f56aed150a3b95806e30024946093e0f067184c5078bfb74
|
File details
Details for the file h4-0.1.0-py3-none-any.whl.
File metadata
- Download URL: h4-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b481a4fc141e47f3e25fa57d2873c4a8e2549787e40e50f53b077aaeb4c62b06
|
|
| MD5 |
fecdeb698aa2f72769798e44aea653b9
|
|
| BLAKE2b-256 |
81d6a73ceb7e767216de3820307c359e8ec654cc108f77f3bf2a53aa83c76d59
|