pytext  by facebookresearch

NLP framework (deprecated, migrate to torchtext)

created 7 years ago
6,327 stars

Top 8.3% on sourcepulse

GitHubView on GitHub
Project Summary

PyText is a deprecated natural language modeling framework built on PyTorch, designed for rapid experimentation and large-scale inference. It targets NLP researchers and engineers needing production-ready models for tasks like text classification and sequence tagging, offering seamless deployment via Caffe2.

How It Works

PyText leverages PyTorch for deep learning models and Caffe2 for optimized inference. It provides extensible interfaces for model components, enabling quick iteration on new architectures. The framework supports distributed and mixed-precision training, enhancing speed and memory efficiency.

Quick Start & Requirements

Highlighted Details

  • Production-ready models for text classification (CNNs, self-attention) and sequence tagging (NER, joint intent-slot).
  • Supports distributed training via PyTorch's C10d backend and mixed-precision training with APEX.
  • Extensible components for creating new models and tasks.
  • Reference implementations for semantic parsing papers.

Maintenance & Community

Licensing & Compatibility

  • BSD-licensed.
  • Compatible with commercial use and closed-source linking.

Limitations & Caveats

The project is officially deprecated and will not receive further active maintenance, posing a risk for long-term adoption. Users are strongly advised to migrate to torchtext.

Health Check
Last commit

2 years ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
9 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.