Instructions to use SamuelAllen1234/testing with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SamuelAllen1234/testing 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="SamuelAllen1234/testing")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("SamuelAllen1234/testing") model = AutoModelForSeq2SeqLM.from_pretrained("SamuelAllen1234/testing") - Notebooks
- Google Colab
- Kaggle
Commit ·
d80ab0c
1
Parent(s): ffb2aa9
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: mit
|
| 5 |
+
tags:
|
| 6 |
+
- summarization
|
| 7 |
+
datasets:
|
| 8 |
+
- cnn_dailymail
|
| 9 |
+
metrics:
|
| 10 |
+
- ROUGE-1
|
| 11 |
+
- ROUGE-2
|
| 12 |
+
- ROUGE-L
|
| 13 |
+
- ROUGE-LSUM
|
| 14 |
+
- loss
|
| 15 |
+
- gen_len
|
| 16 |
+
---
|