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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nlp-models-4.2.2.tar.gz
(15.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nlp-models-4.2.2.tar.gz.
File metadata
- Download URL: nlp-models-4.2.2.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aec9dc2310a2cce925753fc8d5f148b5c40adc724cb85e3559d4e9c7af2c59d7
|
|
| MD5 |
fe4598583d84d97df5dedbdcc8a777d5
|
|
| BLAKE2b-256 |
bb089ac6508f9f99f5b1e7f74dfdbb57f5d0b96e28ed1f4144b0779949b84bee
|
File details
Details for the file nlp_models-4.2.2-py3-none-any.whl.
File metadata
- Download URL: nlp_models-4.2.2-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ec0b4b1e3c639d631c08ddde57f4dce70ab38d8949223249fa2a9d9707be32c
|
|
| MD5 |
7ff3553c69c6d623fe50d8e5f9ffe412
|
|
| BLAKE2b-256 |
45cbd961c95287433dd64fbc9241d6bae48fd8528baf7078e6c049722efe7691
|