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 34000
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.38.2",
|
| 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:33ed9e1ad780043b5787b929cda42e6bff1c7d8581185b67f80bdca1b5356e54
|
| 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:a5be3956400b0d874c4b9c6e5bac9b1ae9028404bb956ff50ffde061b64cf51b
|
| 3 |
size 5048
|