Skip to content

Latest commit

 

History

History

textcat_multilabel_demo

🪐 Weasel Project: Demo Multilabel Textcat (Text Classification)

A minimal demo textcat_multilabel project for spaCy v3.

📋 project.yml

The project.yml defines the data assets required by the project, as well as the available commands and workflows. For details, see the Weasel documentation.

⏯ Commands

The following commands are defined by the project. They can be executed using weasel run [name]. Commands are only re-run if their inputs have changed.

Command Description
convert Convert the data to spaCy's binary format
train Train the textcat model
evaluate Evaluate the model and export metrics
package Package the trained model as a pip package
visualize-model Visualize the model's output interactively using Streamlit

⏭ Workflows

The following workflows are defined by the project. They can be executed using weasel run [name] and will run the specified commands in order. Commands are only re-run if their inputs have changed.

Workflow Steps
all converttrainevaluatepackage

🗂 Assets

The following assets are defined by the project. They can be fetched by running weasel assets in the project directory.

File Source Description
assets/cooking-train.jsonl Local Training data from cooking.stackexchange.com
assets/cooking-dev.jsonl Local Development data from cooking.stackexchange.com