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

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)

Source distribution for nlp-models 4.2.2
File Size Uploaded
nlp-models-4.2.2.tar.gz 15.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nlp-models 4.2.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

4.2.2 This release

2 release files

4.2.1

2 release files

4.2.0

2 release files

4.1.0

2 release files

4.0.1

2 release files

4.0.0

2 release files

3.0.0

2 release files

2.3.2

2 release files

2.3.1

2 release files

2.3.0

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page