facebookresearch/vizseq

An Analysis Toolkit for Natural Language Generation (Translation, Captioning, Summarization, etc.)

What it solves

VizSeq addresses the difficulty of analyzing text generation tasks across different modalities. It provides a unified way to visually inspect and evaluate predictions against references, supporting tasks like machine translation, summarization, image captioning, and speech translation.

How it works

It functions as a Python toolkit that takes multi-modal sources (text, image, audio, or video), text references, and text predictions as inputs. Users can perform their analysis through a Jupyter Notebook or a dedicated built-in Web App. Additionally, it includes a set of multi-process scorers to calculate common evaluation metrics efficiently.

Who it’s for

Researchers and developers working on text generation models who need to visually analyze their model outputs and calculate performance metrics across various input modalities.

Highlights

  • Broad Task Coverage: Supports text, image, audio, video, and multimodal inputs for tasks like OCR, speech recognition, and video description.
  • Extensive Metric Support: Includes n-gram-based metrics (BLEU, ROUGE, METEOR, etc.) and embedding-based metrics (BERTScore, LASER).
  • Flexible Deployment: Can be used as a library in Jupyter Notebooks or as a standalone web server.
  • High Performance: Uses multi-processing and multi-threading to accelerate the calculation of scorers.

Related

  • Project
  • Project
  • Project
  • Project
  • Project