pytext  by facebookresearch

NLP framework (deprecated, migrate to torchtext)

Created 7 years ago
6,322 stars

Top 8.2% 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

1 week

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

Explore Similar Projects

Starred by Luis Capelo Luis Capelo(Cofounder of Lightning AI), Eugene Yan Eugene Yan(AI Scientist at AWS), and
14 more.

text by pytorch

0.0%
4k
PyTorch library for NLP tasks
Created 8 years ago
Updated 1 week ago
Feedback? Help us improve.