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
Metadata
Release files for h4 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| h4-0.1.0.tar.gz | 7.4 kB | Without provenance | Details for h4-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| h4-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for h4-0.1.0-py3-none-any.whl |
Total release size: 13.5 kB
Release files / h4-0.1.0.tar.gz
| Download URL | h4-0.1.0.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1d1f2aaf87c0bb909ddadddbf857f075d026754c97584019a09ed345a9e7455
|
|
BLAKE2b-256 checksum How to use checksums |
18b2d494228d6da6f56aed150a3b95806e30024946093e0f067184c5078bfb74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.16
|
Release files / h4-0.1.0-py3-none-any.whl
| Download URL | h4-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b481a4fc141e47f3e25fa57d2873c4a8e2549787e40e50f53b077aaeb4c62b06
|
|
BLAKE2b-256 checksum How to use checksums |
81d6a73ceb7e767216de3820307c359e8ec654cc108f77f3bf2a53aa83c76d59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.16
|
Security for h4 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.