NLP Models
A repository for building transformer based nlp models
Installation
Install from PyPi
pip install nlp-models
Install from source
git clone git@github.com:minggnim/nlp-models.git
pip install -r requirements
Llama2 Quantization model on consumer CPU
Run Chat applications on CPU
-
Streamlit UI
cd apps streamlit run chat.py -
Command line
llm_app chat -s 'hi there'
Run Q&A application on CPU
-
Steamlit UI
cd apps streamlit run qa.py
Models
-
bert_classifierA wrapper package around BERT-based classification models -
multi_task_modelAn implementation of multi-tasking model built on encoder models -
GPT-2 -
Falcon 7B -
Quantized Llama2 models
Metadata
Release files for nlp-models 4.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nlp-models-4.2.2.tar.gz | 15.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nlp_models-4.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.9 kB
Release files / nlp-models-4.2.2.tar.gz
| Download URL | nlp-models-4.2.2.tar.gz |
|---|---|
| Size | 15.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aec9dc2310a2cce925753fc8d5f148b5c40adc724cb85e3559d4e9c7af2c59d7
|
|
BLAKE2b-256 checksum How to use checksums |
bb089ac6508f9f99f5b1e7f74dfdbb57f5d0b96e28ed1f4144b0779949b84bee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / nlp_models-4.2.2-py3-none-any.whl
| Download URL | nlp_models-4.2.2-py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1ec0b4b1e3c639d631c08ddde57f4dce70ab38d8949223249fa2a9d9707be32c
|
|
BLAKE2b-256 checksum How to use checksums |
45cbd961c95287433dd64fbc9241d6bae48fd8528baf7078e6c049722efe7691
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|