Instructions to use usakha/Prophetnet_GovReport_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use usakha/Prophetnet_GovReport_model 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="usakha/Prophetnet_GovReport_model")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("usakha/Prophetnet_GovReport_model") model = AutoModelForSeq2SeqLM.from_pretrained("usakha/Prophetnet_GovReport_model") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,4 +5,13 @@ metrics:
|
|
| 5 |
- bleu
|
| 6 |
- rouge
|
| 7 |
pipeline_tag: summarization
|
| 8 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
- bleu
|
| 6 |
- rouge
|
| 7 |
pipeline_tag: summarization
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
# Training Results
|
| 12 |
+
|
| 13 |
+
| Epoch | Training Loss | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Bleu | Gen Len |
|
| 14 |
+
|:----- |:------------ |:--------------- |:-------- | :------- |:-------- |:--------- |:-------- |:--------- |
|
| 15 |
+
1| 2.661100| 2.469111| 0.451300| 0.185200| 0.279000| 0.278900| 0.553300| 141.720300|
|
| 16 |
+
2| 2.434100| 2.403647| 0.456900| 0.192800| 0.284500| 0.284500| 0.556800| 141.763100|
|
| 17 |
+
3| 2.313700| 2.393932| 0.459500| 0.194400| 0.286300| 0.286200| 0.559200| 141.571600|
|