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
46GB
#2
by Dario9420 - opened
Hi!
Is it normal that when I use XCOMET-XXL the file I get weights more than 46GB?
I was just trying it and wanted to evaluate 1 segment and I got a 46GB file - I used --to_json flag
thanks a lot and sorry if my question is silly!
Sorry it's not 46!! But it is still pretty heavy... 43GB
Hi, Ricardo, thank you for your quick response!
Any advice to open the file?
When I try to open it with notepad++ it says it’s too big to open.
I’m sorry for the questions.
