Instructions to use Unbabel/XCOMET-XXL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Unbabel/XCOMET-XXL with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="Unbabel/XCOMET-XXL")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Unbabel/XCOMET-XXL", dtype="auto") - Notebooks
- Google Colab
- Kaggle
uninstall / delete
#1
by Dario9420 - opened
This comment has been hidden
You must go to the Hugging Face cache to delete the checkpoints.
For example you can clean the entire Hub cache: https://huggingface.co/docs/huggingface_hub/en/guides/manage-cache#clean-your-cache
NOTE: this will delete other things in your HF Hub cache
RicardoRei changed discussion status to closed
thanks!