ktrain is a Python library that makes deep learning and AI more accessible and easier to apply. ktrain is a lightweight wrapper for the deep learning library TensorFlow Keras (and other libraries) to help build, train, and deploy neural networks and other machine learning models. Inspired by ML framework extensions like fastai and ludwig, ktrain is designed to make deep learning and AI more accessible and easier to apply for both newcomers and experienced practitioners. With only a few lines of code, ktrain allows you to easily and quickly. ktrain purposely pins to a lower version of transformers to include support for older versions of TensorFlow. If you need a newer version of transformers, it is usually safe for you to upgrade transformers, as long as you do it after installing ktrain. As of v0.30.x, TensorFlow installation is optional and only required if training neural networks.

Features

  • Sequence Labeling (NER): Bidirectional LSTM with optional CRF layer and various embedding schemes such as pretrained BERT and fasttext word embeddings and character embeddings
  • Unsupervised Topic Modeling with LDA
  • Text Summarization: summarize long documents with a pretrained BART model - no training required
  • Zero-Shot Learning: classify documents into user-provided topics without training examples
  • Keyphrase Extraction: extract keywords from documents
  • image classification (e.g., ResNet, Wide ResNet, Inception)

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow ktrain

ktrain Web Site

Other Useful Business Software
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ktrain!

Additional Project Details

Programming Language

Python

Related Categories

Python Education Software, Python Machine Learning Software, Python Deep Learning Frameworks

Registered

2022-08-22