All subclasses should override _build_features_dataset, that builds input dataset, and _build_labels_dataset, building the labels dataset. batch_size=100.Īll other data layers should subclass it.
First, we describe the abstract class DataLayer. As Textify is desgined to mainly suuport text classification and other NLP tasks, we provide some predifined s. The textify.data module enables you to build input pipelines from simple, reusable pieces. Textify provides a framework consisting of two main API layers:
You can find the implementation in this repo, CharCNN. Character-level Convolutional Networks for Text Classification. Textify is used to implement the following models: While text classification is the main task of this toolkit, it is, also, has been designed to support different NLP tasks such as: Textify (comes from the prefix of "Text" and the suffix of "Classify") is a high-level framework using TensorFlow for text classification.