Summarization
Transformers
TensorBoard
Safetensors
t5
text2text-generation
Generated from Trainer
text-generation-inference
Instructions to use vmkhoa2000/text_summarization-cnn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vmkhoa2000/text_summarization-cnn 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="vmkhoa2000/text_summarization-cnn")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("vmkhoa2000/text_summarization-cnn") model = AutoModelForSeq2SeqLM.from_pretrained("vmkhoa2000/text_summarization-cnn", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 54500
Browse files- config.json +1 -1
- model.safetensors +1 -1
- training_args.bin +1 -1
config.json
CHANGED
|
@@ -55,7 +55,7 @@
|
|
| 55 |
}
|
| 56 |
},
|
| 57 |
"torch_dtype": "float32",
|
| 58 |
-
"transformers_version": "4.
|
| 59 |
"use_cache": true,
|
| 60 |
"vocab_size": 32128
|
| 61 |
}
|
|
|
|
| 55 |
}
|
| 56 |
},
|
| 57 |
"torch_dtype": "float32",
|
| 58 |
+
"transformers_version": "4.39.3",
|
| 59 |
"use_cache": true,
|
| 60 |
"vocab_size": 32128
|
| 61 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 242041896
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c81c39d4f9c767e6efbc6279365e7279bcf35f79f40d14c8964512454462e7d
|
| 3 |
size 242041896
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5048
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:319162bf77a398c5ce1707e620371c1b460596796b56c68a02f6b738392fc76c
|
| 3 |
size 5048
|