Skip to main content

A plugin to create joint text and audio embeddings using CLAP.

Project description

Nendo Plugin Embed CLAP


nendo core


Website Twitter Discord


A plugin to create joint embeddings from text and audio using CLAP by LAION.

Features

  • Create joint embeddings from text and audio
  • Use the embeddings in combination with nendo's vector search functionality

Requirements

Please make sure you have the correct version of Pytorch installed. Go to pytorch.org and select your OS, package manager and CUDA version to get the correct installation command.

Installation

  1. Install Nendo
  2. pip install nendo-plugin-embed-clap

Usage

Take a look at a basic usage example below. For more detailed information, please refer to the documentation.

>>> from nendo import Nendo
>>> nd = Nendo(plugins=["nendo_plugin_embed_clap"])
>>> track = nd.library.add_track(file_path="path/to/file.mp3")

>>> embedding = nd.plugins.embed_clap(track=track)

Contributing

Visit our docs to learn all about how to contribute to Nendo: Contributing

License

Nendo: MIT License

Pretrained models: The weights are released by LAION under the Apache 2.0 license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nendo_plugin_embed_clap-0.1.0.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

nendo_plugin_embed_clap-0.1.0-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page