Upload README.md with huggingface_hub
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566---license: apache-2.0tags:- translation- opus-mt- ctranslate2- quantizedlanguage:- multilingualpipeline_tag: translation---
# opus-mt-pt-ca-ctranslate2-android
This is a quantized INT8 version of `Helsinki-NLP/opus-mt-pt-ca` converted to CTranslate2 format for efficient inference.
## Model Details
- **Original Model**: Helsinki-NLP/opus-mt-pt-ca- **Format**: CTranslate2- **Quantization**: INT8- **Framework**: OPUS-MT- **Converted by**: Automated conversion pipeline
## Files Included
- CTranslate2 model files (quantized INT8)- SentencePiece tokenizer files (`source.spm`, `target.spm`)- Integration guide for Android deployment
## Usage
### With CTranslate2
```pythonimport ctranslate2import sentencepiece as spm
# Load the modeltranslator = ctranslate2.Translator("path/to/model")
# Load tokenizerssp_source = spm.SentencePieceProcessor(model_file="source.spm")sp_target = spm.SentencePieceProcessor(model_file="target.spm")
# Translatesource_tokens = sp_source.encode("Your text here", out_type=str)results = translator.translate_batch([source_tokens])translation = sp_target.decode(results[0].hypotheses[0])```
### Android Integration
See the included `INTEGRATION_GUIDE.txt` for Android implementation details.
## Performance
This INT8 quantized version provides:- ~75% reduction in model size- Faster inference speed- Maintained translation quality- Mobile-friendly deployment
## Original Model
Based on the OPUS-MT project: https://github.com/Helsinki-NLP/Opus-MTREADME.mdAdded+66