Unbabel / COMET

A Neural Framework for MT Evaluation
https://unbabel.github.io/COMET/html/index.html
Apache License 2.0
441 stars 72 forks source link

Safetensors Support #212

Open upunaprosk opened 2 months ago

upunaprosk commented 2 months ago

🚀 Feature

It would ease the model usage if the weights of large (>1B) models were available in .safetensors.

Motivation

As for now, it takes ~1 hour to download unbabel/*-xxl models on A100. It can be resolved with other formats for model weights. The safetensors format is faster than the Pytorch ones, as stated here: https://huggingface.co/docs/safetensors/en/speed.

Additional context

It seems that safetensors support would require: