twelvelabs-pegasus1.2#
A multimodal model that provides comprehensive video understanding and analysis capabilities, including content recognition, scene detection, and contextual understanding.
Details
Model name:
twelvelabs-pegasus1.2Model source: https://www.twelvelabs.io
Model author: Twelve Labs, Inc.
Model license: https://www.twelvelabs.io/legal/tos
Exposes embeddings? no
Tags:
video, caption, official
Requirements
Packages:
twelvelabs>=1.2.8CPU support
N/A
GPU support
N/A
Example usage
1import fiftyone as fo
2import fiftyone.zoo as foz
3
4dataset = foz.load_zoo_dataset("quickstart-video")
5
6# Default configuration
7model = foz.load_zoo_model("twelvelabs-pegasus1.2")
8
9# Custom prompt and generation length
10model = foz.load_zoo_model(
11 "twelvelabs-pegasus1.2",
12 prompt="List the main objects that appear in this video.",
13 max_tokens=1024,
14)
15
16dataset.apply_model(model, label_field="caption")
17
18session = fo.launch_app(dataset)