Translation
Transformers
Safetensors
cpp
marian
windyword
portuguese-based-creole
portuguese-based-creoles
Instructions to use WindstormLabs/translate-cpp-cpp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WindstormLabs/translate-cpp-cpp 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="WindstormLabs/translate-cpp-cpp")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("WindstormLabs/translate-cpp-cpp", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 2,020 Bytes
f39afa0 8ccd439 f39afa0 8ccd439 f39afa0 8ccd439 f39afa0 8ccd439 f39afa0 8ccd439 f39afa0 8ccd439 f39afa0 8ccd439 f39afa0 8ccd439 f39afa0 8ccd439 f39afa0 8ccd439 f39afa0 8ccd439 f39afa0 8ccd439 f39afa0 8ccd439 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | ---
license: apache-2.0
tags:
- translation
- marian
- windyword
- portuguese-based-creole
- portuguese-based-creoles
language:
- cpp
library_name: transformers
pipeline_tag: translation
base_model: Helsinki-NLP/opus-mt-cpp-cpp
---
# WindyWord.ai Translation — Portuguese-based Creole → Portuguese-based Creole
> Part of the Windstorm Labs open model catalogue. Scores, licence and attribution for every model: https://windytranslate.com/models/translate-cpp-cpp
>
> Canonical copy: https://huggingface.co/WindyTranslate/translate-cpp-cpp
**Translates Portuguese-based Creole (Portuguese-based Creoles) → Portuguese-based Creole (Portuguese-based Creoles).**
## Quality
No quality score is published in this repository. Current screening scores, where measured, are on the catalogue page linked above.
## Available Variants
Deployment formats in this repository (subfolders):
| Variant | Description |
|---|---|
| `lora/` | **WindyStandard** — production baseline. Transformers format for GPU inference. |
| `lora-ct2-int8/` | **WindyStandard · CPU INT8** — CTranslate2 INT8 quantization of WindyStandard for CPU inference. |
### Quick usage
**Transformers (PyTorch):**
```python
from transformers import MarianMTModel, MarianTokenizer
tokenizer = MarianTokenizer.from_pretrained("WindstormLabs/translate-cpp-cpp", subfolder="lora")
model = MarianMTModel.from_pretrained("WindstormLabs/translate-cpp-cpp", subfolder="lora")
```
**CTranslate2 (fast CPU inference):**
```python
import ctranslate2
translator = ctranslate2.Translator("path/to/translate-cpp-cpp/lora-ct2-int8")
```
## Apps
The [Windy Word](https://windyword.ai) apps are built on this model family.
---
## Provenance & License
Weights derived from [Helsinki-NLP/opus-mt-cpp-cpp](https://huggingface.co/Helsinki-NLP/opus-mt-cpp-cpp) (OPUS-MT, Helsinki-NLP, University of Helsinki), licensed Apache-2.0. Windy variants are released under the same licence.
Licence text: [`LICENSE`](LICENSE). Attribution: [`NOTICE.md`](NOTICE.md).
|