https://github.com/bbc-esq/ctranslate2-converter
Tool to easily convert models into the Ctranslate2 format
https://github.com/bbc-esq/ctranslate2-converter
Last synced: 8 months ago
JSON representation
Tool to easily convert models into the Ctranslate2 format
- Host: GitHub
- URL: https://github.com/bbc-esq/ctranslate2-converter
- Owner: BBC-Esq
- Created: 2024-09-11T00:52:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-16T13:30:36.000Z (about 1 year ago)
- Last Synced: 2025-01-11T06:46:27.006Z (9 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ctranslate2-Converter
Tool to easily convert models into the Ctranslate2 format:#### 1 - create virtual environment
```
python -m venv .
```#### 2 - activate virtual environment
```
.\Scripts\activate
```#### 3 - run setup script
> Installation scripts for other platforms are coming soon.
```
python setup_windows.py
```#### 4 - run program
```
python convert_ctranslate2.py
```## Usage
Select the folder containing the model files, select one or more quantizations, select the output directory, click "run."
The program will create a new appropriately-named folder in the selected output directory and the ```Ctranslate2``` model file ready to use.