Instructions to use PaulineSanchez/Modele_traduction_HF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PaulineSanchez/Modele_traduction_HF 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="PaulineSanchez/Modele_traduction_HF")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("PaulineSanchez/Modele_traduction_HF") model = AutoModelForSeq2SeqLM.from_pretrained("PaulineSanchez/Modele_traduction_HF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
4f3310c
1
Parent(s): 8b45f1a
Upload 2 files
Browse files- train_results.json +8 -0
- vocab.json +0 -0
train_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 6.0,
|
| 3 |
+
"train_loss": 0.28417864718907315,
|
| 4 |
+
"train_runtime": 1315.8778,
|
| 5 |
+
"train_samples": 2837,
|
| 6 |
+
"train_samples_per_second": 12.936,
|
| 7 |
+
"train_steps_per_second": 3.237
|
| 8 |
+
}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|