semvec/pypi-packages huggingface dataset:
SubSONAR 1.0
Evaluate the quality of SRT files using the multilingual multimodal SONAR model.
Requires Python: >=3.8

# SONAR Subtitling Evaluator

Code to evaluate the quality of SRT files using the multilingual multimodal [SONAR sentence embedding model](https://github.com/facebookresearch/SONAR).

The evaluation accounts for the semantic similarity (computed as a cosine similarity)
between each subtitle block and the corresponding audio to which the block is assigned to
(through the timestamps in the SRT). The returned scores range in `[-1, 1]`
where the higher, the better.


## Installation

Ensure that you have `libsndfile` installed in you environment.
Then, run:

```bash
pip install SubSONAR
```

or, in the source root of this repository:

```bash
pip install -e .
```

The installation has been tested with python 3.8 and 3.10.

## Usage

Example usage for Italian SRTs and English audios of two files (1 and 2):

```bash
subsonar \
  --srt-files 1.srt 2.srt \
  --audio-files 1.wav 2.wav \
  --text-lang ita_Latn --audio-lang eng \
  -bs 32
```

Please set the batch size `bs` according to your GPU capacity.

The available languages for the speech encoder (`--audio-lang`) can be found in the
[SONAR repository](https://github.com/facebookresearch/SONAR/blob/main/README.md#supported-languages-and-download-links),
while the text encoder (`--text-lang`) supports the
[200 languages of NLLB](https://github.com/facebookresearch/fairseq/blob/nllb/examples/nllb/modeling/scripts/flores200/langs.txt).

## License

**SONAR Subtitling Evaluator** is licensed under [Apache Version 2.0](LICENSE).

However, the SONAR encoders have a dedicated license that can be found
in [their repository LICENSE](https://github.com/facebookresearch/SONAR/blob/main/LICENSE.md).
Please check the license for the encoders you are using.

## Citation

If you find this project useful, please cite:

```bibtex
@inproceedings{gaido-et-al-2024-sbaam,
title = {{SBAAM! Eliminating Transcript Dependency in Automatic Subtitling}},
author = {Gaido, Marco and Papi, Sara and Negri, Matteo and Cettolo, Mauro and Bentivogli, Luisa},
booktitle = "Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
year = "2024",
address = "Bangkok, Thailand",
}
```
zer1t0-aze 0.0.10
Enhance azure cli

# AZE (Azure Cli Enhacement)

Extended utilities for azure management.

A python package intended to be used along with Azure Cli to expand its
capabilities, even if many commands are completely independent from Azure Cli.


## Commands

AZE includes the following commands, many of them require to be
authenticated (marked with Auth) in Azure:

- **az-brute-add-app-secret**: Try to add a secret to all applications (Auth).
- **az-brute-passwords**: Validate Azure credentials (No auth).
- **az-brute-usernames**: Validates if a email is Microsoft managed (No auth).
- **az-brute-service-subdomains**: Check if any Azure service is using the given
  subdomains. (No auth)
- **az-brute-blob-containers**: Discover public containers in Azure blobs. (No auth)
- **az-download-blob**: Download blob from URL. (Auth with -a parameter)
- **az-download-deployment-template**: Download a deployment template. (Auth)
- **az-get-login-info**: Retrieve login information about an Azure domain (No auth).
- **az-get-tenant-domains**: Discover the domains associated with a tenant (No auth).
- **az-get-tenant-id**: Retrieves the tenant id from tenant domain (No auth).
- **az-inspect-token**: Show access token (jwt) payload in json format (No auth).
- **az-list-blobs**: List blobs or containers from URL. (Auth with -a parameter)
- **az-list-administrative-unit-members**: List Administrative Unit members (Auth).
- **az-list-administrative-unit-role-members**: List Administrative Unit scoped role members (Auth).
- **az-list-role-assignment**: List roles without requiring a graph access token. (Auth)
- **az-list-sp-app-role-assignment**: List App roles for a service principal. (Auth)
- **az-list-user-memberof**: List membership of user, both groups and administrative units. (Auth)
- **az-list-vm-extensions**: List virtual machine extensions. (Auth)
- **az-list-vm-permissions**: List virtual machine permissions. (Auth)
- **az-login-with-token**: Injects tokens directly into Azure Cli token cache.
- **az-search-token-in-cache**: Retrieve items from token cache based on the filters.
- **az-show-ad-role**: Show Entra ID role. (Auth)
- **az-show-administrative-unit**: Show Administrative Unit. (Auth)
- **az-whoami**: Shorcut for "az ad signed-in-user show". (Auth)

## Installation

```
pip install zer1t0-aze
```

## Development

For development, debugging or testing:
```
cd aze/
pip install -e .
```

## Credits
- [AADInternals](https://github.com/Gerenios/AADInternals)
- [MicroBurst](https://github.com/NetSPI/MicroBurst)
- [MSOLSpray](https://github.com/dafthack/MSOLSpray)
- [o365creeper](https://github.com/LMGsec/o365creeper)
- [OffensiveCloud](https://github.com/lutzenfried/OffensiveCloud)