Instructions to use jkawamoto/fugumt-en-ja-ct2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jkawamoto/fugumt-en-ja-ct2 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="jkawamoto/fugumt-en-ja-ct2")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("jkawamoto/fugumt-en-ja-ct2", dtype="auto") - Notebooks
- Google Colab
- Kaggle
fugumt-en-ja-ct2
This is a version of staka/fugumt-en-ja
converted for use with CTranslate2.
The conversion was performed using the following command:
ct2-transformers-converter --model staka/fugumt-en-ja --output_dir fugumt-en-ja-ct2 \
--copy_files generation_config.json source.spm target.spm special_tokens_map.json \
tokenizer_config.json vocab.json
License
This adaptation is based on staka/fugumt-en-ja
which is licensed under the Creative Commons Attribution-ShareAlike 4.0 International
(CC BY-SA 4.0).
Modifications were made for compatibility with CTranslate2.
This modified version is also distributed under the CC BY-SA 4.0 license.
- Downloads last month
- 106
Model tree for jkawamoto/fugumt-en-ja-ct2
Base model
staka/fugumt-en-ja