Summarization
Transformers
TensorFlow
English
bart
text2text-generation
generated_from_keras_callback
Instructions to use KostiuchenkoArtem/bart_large_multi_modified with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KostiuchenkoArtem/bart_large_multi_modified 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="KostiuchenkoArtem/bart_large_multi_modified")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("KostiuchenkoArtem/bart_large_multi_modified") model = AutoModelForSeq2SeqLM.from_pretrained("KostiuchenkoArtem/bart_large_multi_modified", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from KostiuchenkoArtem/bart_large_multi_modified: direct link, hf CLI and curl.
- Browser
- Download file 1.44 kB
-
https://huggingface.co/KostiuchenkoArtem/bart_large_multi_modified/resolve/main/README.md
- Command line
-
hf download hf://KostiuchenkoArtem/bart_large_multi_modified/README.md
-
curl -L -o README.md https://huggingface.co/KostiuchenkoArtem/bart_large_multi_modified/resolve/main/README.md
1.44 kB
| license: mit | |
| tags: | |
| - generated_from_keras_callback | |
| - summarization | |
| model-index: | |
| - name: KostiuchenkoArtem/bart_large_multi_modified | |
| results: [] | |
| datasets: | |
| - multi_news | |
| language: | |
| - en | |
| <!-- This model card has been generated automatically according to the information Keras had access to. You should | |
| probably proofread and complete it, then remove this comment. --> | |
| # KostiuchenkoArtem/bart_large_multi_modified | |
| This model is a fine-tuned version of [facebook/bart-large-cnn](https://huggingface.co/facebook/bart-large-cnn) on Multi-News dataset. | |
| It achieves the following results on the evaluation set: | |
| - Train Loss: 1.8945 | |
| - Validation Loss: 2.1223 | |
| - Epoch: 1 | |
| ## Model description | |
| More information needed | |
| ## Intended uses & limitations | |
| More information needed | |
| ## Training and evaluation data | |
| More information needed | |
| ## Training procedure | |
| ### Training hyperparameters | |
| The following hyperparameters were used during training: | |
| - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': 2e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False, 'weight_decay_rate': 0.01} | |
| - training_precision: float32 | |
| ### Training results | |
| | Train Loss | Validation Loss | Epoch | | |
| |:----------:|:---------------:|:-----:| | |
| | 2.2231 | 2.1476 | 0 | | |
| | 1.8945 | 2.1223 | 1 | | |
| ### Framework versions | |
| - Transformers 4.29.2 | |
| - TensorFlow 2.12.0 | |
| - Datasets 2.12.0 | |
| - Tokenizers 0.13.3 |