nchain is a flexible and efficent framework to create LLM bots using embeddings over extensible dataset
Project description
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.
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
Hashes for nchain-0.13.post2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a14a31511e303bd6692900d59dc8a778451cf70c0c3ff999d12424d452cb590 |
|
MD5 | eadbf39001c7f2e25ae51d12f65e4b72 |
|
BLAKE2b-256 | be442984fd055e5c01b81a15e3857884256029b711c37b76d2fe384ce2f33126 |