Translation
Transformers
PyTorch
TensorBoard
marian
text2text-generation
Generated from Trainer
Eval Results (legacy)
Instructions to use peteryushunli/marian-finetuned-kde4-en-to-fr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use peteryushunli/marian-finetuned-kde4-en-to-fr 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="peteryushunli/marian-finetuned-kde4-en-to-fr")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("peteryushunli/marian-finetuned-kde4-en-to-fr") model = AutoModelForSeq2SeqLM.from_pretrained("peteryushunli/marian-finetuned-kde4-en-to-fr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
a134899
1
Parent(s): dea5a13
Training complete
Browse files
generation_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bad_words_ids": [
|
| 3 |
+
[
|
| 4 |
+
59513
|
| 5 |
+
]
|
| 6 |
+
],
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"decoder_start_token_id": 59513,
|
| 9 |
+
"eos_token_id": 0,
|
| 10 |
+
"forced_eos_token_id": 0,
|
| 11 |
+
"max_length": 512,
|
| 12 |
+
"num_beams": 4,
|
| 13 |
+
"pad_token_id": 59513,
|
| 14 |
+
"renormalize_logits": true,
|
| 15 |
+
"transformers_version": "4.31.0"
|
| 16 |
+
}
|
runs/Aug18_19-35-06_c776e4f1d80b/events.out.tfevents.1692388912.c776e4f1d80b.162.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:090e07339c14f68240d1adbdeae3495e7105c4c7b354450f7d70891eda9c0124
|
| 3 |
+
size 11117
|
runs/Aug18_19-35-06_c776e4f1d80b/events.out.tfevents.1692393925.c776e4f1d80b.162.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9d86649b31bda23212d3161d094e3b72689507b84e84da69efc00b69de9167c0
|
| 3 |
+
size 413
|