Skip to main content

PyPI - Package Version MIT License PyPI pyversions Python package Dependency Review

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

  1. Streamlit UI

    cd apps
    streamlit run chat.py
    
  2. Command line

    llm_app chat -s 'hi there'
    

Run Q&A application on CPU

  1. Steamlit UI

    cd apps
    streamlit run qa.py
    

Models

  1. bert_classifier A wrapper package around BERT-based classification models

  2. multi_task_model An implementation of multi-tasking model built on encoder models

  3. GPT-2

  4. Falcon 7B

  5. 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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nlp_models-4.2.2-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

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

Hashes for nlp-models-4.2.2.tar.gz
Algorithm Hash digest
SHA256 aec9dc2310a2cce925753fc8d5f148b5c40adc724cb85e3559d4e9c7af2c59d7
MD5 fe4598583d84d97df5dedbdcc8a777d5
BLAKE2b-256 bb089ac6508f9f99f5b1e7f74dfdbb57f5d0b96e28ed1f4144b0779949b84bee

See more details on using hashes here.

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

Hashes for nlp_models-4.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1ec0b4b1e3c639d631c08ddde57f4dce70ab38d8949223249fa2a9d9707be32c
MD5 7ff3553c69c6d623fe50d8e5f9ffe412
BLAKE2b-256 45cbd961c95287433dd64fbc9241d6bae48fd8528baf7078e6c049722efe7691

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

4.2.2 This release

2 files

4.2.1

2 files

4.2.0

2 files

4.1.0

2 files

4.0.1

2 files

4.0.0

2 files

3.0.0

2 files

2.3.2

2 files

2.3.1

2 files

2.3.0

2 files

2.2.1

2 files

2.2.0

2 files

2.1.0

2 files

2.0.1

2 files

2.0.0

2 files

1.1.1

2 files

1.1.0

2 files

1.0.4

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page