Translation
Transformers
PyTorch
TensorBoard
Safetensors
Chinese
Yue Chinese
bart
text2text-generation
Generated from Trainer
Instructions to use indiejoseph/bart-translation-zh-yue with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use indiejoseph/bart-translation-zh-yue 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="indiejoseph/bart-translation-zh-yue")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("indiejoseph/bart-translation-zh-yue") model = AutoModelForSeq2SeqLM.from_pretrained("indiejoseph/bart-translation-zh-yue", device_map="auto") - Notebooks
- Google Colab
- Kaggle
one epoch 20240928
Browse files- pytorch_model.bin +1 -1
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 561373722
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:295c22f8bffa10513cff6c9c7132806f149bd6593dd6929706adfa948f392d30
|
| 3 |
size 561373722
|