# Efficient Online LLM Alignment
[![PyPI - Version](https://img.shields.io/pypi/v/oat.svg)](https://pypi.org/project/oat)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/oat.svg)](https://pypi.org/project/oat)
-----
- [Efficient Online LLM Alignment](#efficient-online-llm-alignment)
- [Installation :wrench:](#installation-wrench)
- [License](#license)
## Installation :wrench:
`online-align` requires Python 3.7 or above. Install the latest PyPI package for Linux x86_64 or macOS x86_64/ARM64 with:
1. Prepare a python environment with `python>=3.10`.
2. Clone this repository and install it in develop mode:
```console
git clone git@github.com:sail-sg/online-align.git
pip install -r requirements.txt
pip install flash-attn==2.6.3
pip install -e .
```
## License
`oat` is distributed under the terms of the [Apache2](https://www.apache.org/licenses/LICENSE-2.0) license.
Raw data
{
"_id": null,
"home_page": "https://github.com/sail-sg/oat",
"name": "oat-llm",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "rlhf, llm, ai-alignment, rl, bandit, ai, sample-efficiency",
"author": "Zichen Liu",
"author_email": "Zichen Liu <liuzc@sea.com>, Changyu Chen <chency@sea.com>",
"download_url": null,
"platform": null,
"description": "# Efficient Online LLM Alignment\n\n[![PyPI - Version](https://img.shields.io/pypi/v/oat.svg)](https://pypi.org/project/oat)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/oat.svg)](https://pypi.org/project/oat)\n\n-----\n\n\n- [Efficient Online LLM Alignment](#efficient-online-llm-alignment)\n - [Installation :wrench:](#installation-wrench)\n - [License](#license)\n\n## Installation :wrench:\n`online-align` requires Python 3.7 or above. Install the latest PyPI package for Linux x86_64 or macOS x86_64/ARM64 with:\n1. Prepare a python environment with `python>=3.10`.\n2. Clone this repository and install it in develop mode:\n```console\ngit clone git@github.com:sail-sg/online-align.git\npip install -r requirements.txt\npip install flash-attn==2.6.3\npip install -e .\n```\n\n## License\n\n`oat` is distributed under the terms of the [Apache2](https://www.apache.org/licenses/LICENSE-2.0) license.\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Online AlignmenT (OAT) for LLMs.",
"version": "0.0.1",
"project_urls": {
"Documentation": "https://github.com/sail-sg/oat#readme",
"Homepage": "https://github.com/sail-sg/oat",
"Issues": "https://github.com/sail-sg/oat/issues",
"Source": "https://github.com/sail-sg/oat"
},
"split_keywords": [
"rlhf",
" llm",
" ai-alignment",
" rl",
" bandit",
" ai",
" sample-efficiency"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7b52d5ea68b7e7e1e32fd91ec9078d275080a6520bc022df3fbc02c5bcc72d97",
"md5": "fba1d99f59d057d465f160a93ee65377",
"sha256": "10a43575ef579d4ed3e7460a65671bbfb791da76eb5cd7646c6fefeb36ff9b3e"
},
"downloads": -1,
"filename": "oat_llm-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fba1d99f59d057d465f160a93ee65377",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 80229,
"upload_time": "2024-10-25T03:31:29",
"upload_time_iso_8601": "2024-10-25T03:31:29.295043Z",
"url": "https://files.pythonhosted.org/packages/7b/52/d5ea68b7e7e1e32fd91ec9078d275080a6520bc022df3fbc02c5bcc72d97/oat_llm-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-25 03:31:29",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "sail-sg",
"github_project": "oat",
"github_not_found": true,
"lcname": "oat-llm"
}