Download fairseq/examples/data2vec/data/modality.py from ash56/ssl-aasist: direct link, hf CLI and curl.
- Browser
- Download file 394 Bytes
-
https://huggingface.co/ash56/ssl-aasist/resolve/refs%2Fpr%2F2/fairseq/examples/data2vec/data/modality.py
- Command line
-
hf download hf://ash56/ssl-aasist@refs/pr/2/fairseq/examples/data2vec/data/modality.py
-
curl -L -o modality.py https://huggingface.co/ash56/ssl-aasist/resolve/refs%2Fpr%2F2/fairseq/examples/data2vec/data/modality.py
394 Bytes
| # Copyright (c) 2017-present, Facebook, Inc. | |
| # All rights reserved. | |
| # | |
| # This source code is licensed under the license found in the LICENSE file in | |
| # the root directory of this source tree. An additional grant of patent rights | |
| # can be found in the PATENTS file in the same directory. | |
| from enum import Enum, auto | |
| class Modality(Enum): | |
| AUDIO = auto() | |
| IMAGE = auto() | |
| TEXT = auto() | |