Summarization
Transformers
PyTorch
mt5
text2text-generation
Generated from Trainer
Eval Results (legacy)
Instructions to use mamMartin/mt5-small-finetuned-amazon-es with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mamMartin/mt5-small-finetuned-amazon-es with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" 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("summarization", model="mamMartin/mt5-small-finetuned-amazon-es")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("mamMartin/mt5-small-finetuned-amazon-es") model = AutoModelForSeq2SeqLM.from_pretrained("mamMartin/mt5-small-finetuned-amazon-es") - Notebooks
- Google Colab
- Kaggle
Training complete
Browse files- generation_config.json +6 -0
- pytorch_model.bin +1 -1
generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"decoder_start_token_id": 0,
|
| 3 |
+
"eos_token_id": 1,
|
| 4 |
+
"pad_token_id": 0,
|
| 5 |
+
"transformers_version": "4.30.2"
|
| 6 |
+
}
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1200769797
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aab8fa378dc775a25e327340844c56713c3c65bcbb705d690ba800b1502cb3e8
|
| 3 |
size 1200769797
|