Socket
Socket
Sign inDemoInstall

nlp-models

Package Overview
Dependencies
6
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    nlp-models

Transformers based NLP models


Maintainers
1

Readme

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

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc