nChain
nChain is a Python package that provides a flexible and efficient implementation to create LLM bots over extensible dataset.
Installation
You can install nChain directly from PyPI using pip:
pip install nChain
Alternatively, you can clone the repository and install from source:
git clone https://github.com/jamesliu/nChain.git
cd nChain
pip install .
Usage
Here are examples of how to use nChain to search ArXiv paper using embedding.
nchain add https://arxiv.org/abs/1409.0473
nchain add https://arxiv.org/abs/2010.14701
nchain add https://arxiv.org/abs/2203.02155
nchain add https://arxiv.org/abs/2302.01318v1
nchain add https://arxiv.org/abs/2309.17453
nchain add https://arxiv.org/abs/2310.02304
nchain query "Show me the Scaling Laws for Autoregressive Generative Modeling."
nchain query "Show me the algorithm about Large Lanuage Model Decoding with Speculative Sampling."
nchain query "How to handle streaming apps efficiently in LLM?"
Documentation
Full documentation is available here.
Contributing
We welcome contributions to nChain! If you're interested in contributing, please see our contribution guidelines and code of conduct.
License
nChain is licensed under the Apache License 2.0. See the LICENSE file for more details.
Support
For support, questions, or feature requests, please open an issue on our GitHub repository or contact the maintainers.
Changelog
See the releases page for a detailed changelog of each version.
Metadata
Release files for nChain 0.13.post4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nchain-0.13.post4.tar.gz | 16.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nchain-0.13.post4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.5 kB
Release files / nchain-0.13.post4.tar.gz
| Download URL | nchain-0.13.post4.tar.gz |
|---|---|
| Size | 16.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
243b14888e2c269645451406dc8b7a237348c97145633adf351aac9eeddd4e6d
|
|
BLAKE2b-256 checksum How to use checksums |
58f044fb7eaca392ab9d8a2e991637880b3fee61a0588d7c4dd0af16795fae94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.10.10 Linux/5.4.0-166-generic
|
Release files / nchain-0.13.post4-py3-none-any.whl
| Download URL | nchain-0.13.post4-py3-none-any.whl |
|---|---|
| Size | 23.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e59c4b7a3a74c7ddb2a956ca6f4835774dd2acc78028c143eed3b65761244947
|
|
BLAKE2b-256 checksum How to use checksums |
31c530005b27796070b58597d7ff25980c61085ed3c8ec5dbefc3ada20f0b053
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.10.10 Linux/5.4.0-166-generic
|