Home/Model Training/CTranslate2
CTranslate2 logo

CTranslate2

Enrichment pending
OpenNMT/CTranslate2

Fast inference engine for Transformer models

GraphCanon updated today · GitHub synced today

4.6k
Stars
498
Forks
271
Open issues
52
Watchers
1w
Last push
C++ MITCreated Sep 23, 2019

Trust & integrity

Full report
Maintenance
Active (8d since push)
As of today · Source: github_public_v1
Provenance
Not a fork · Organization account
As of today · Source: github_public_v1
Security (OSV)
No lockfile
As of today · Source: none

Public GitHub metadata and optional OSV dependency scans. Signals, not a guarantee. Trust methodology.

Overview

Fast inference engine for Transformer models

Capability facts

Languages
c++

Source: github.language · Jul 11, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Jul 11, 2026)

The Python module is used to convert models and can translate or generate text with few lin
Source link

Tags

README

Installation and usage

CTranslate2 can be installed with pip:

pip install ctranslate2

The Python module is used to convert models and can translate or generate text with few lines of code:

translator = ctranslate2.Translator(translation_model_path)
translator.translate_batch(tokens)

generator = ctranslate2.Generator(generation_model_path)
generator.generate_batch(start_tokens)

See the documentation for more information and examples.

If you have an AMD ROCm GPU, we provide specific Python wheels on the releases page.