This checkpoint should be loaded into BartForConditionalGeneration.frompretrained. See the BART docs for more information.
Search public pages, research tools, and SAVRN solutions.
Open-weight model · Summarization
by ONNX Community onnx-community/tanaos-text-summarization-v1-ONNX
tanaos-text-summarization-v1-ONNX is an open-weight model for summarization from ONNX Community, released under MIT License. It has 1,024-token context. Its published files total 16.3 GB.
This is an ONNX version of tanaos/tanaos-text-summarization-v1. It was automatically converted and uploaded using this Hugging Face Space.
By ONNX Community, published under mit, revision 183289567773.
This is an ONNX version of tanaos/tanaos-text-summarization-v1. It was automatically converted and uploaded using this Hugging Face Space. See the pipeline documentation for summarization: https://huggingface.co/docs/transformers.js/api/pipelines#modulepipelines.SummarizationPipeline This model was created by Tanaos with the Artifex Python library. This is an abstractive text summarization model based on facebook/bart-base and fine-tuned on a synthetic dataset to produce concise, fluent summaries of longer texts. The model uses beam search decoding and is optimized for general-purpose summarization across a variety of domains. Use this model through the Artifex library: install Artifex with…
This is an ONNX version of tanaos/tanaos-text-summarization-v1. It was automatically converted and uploaded using this Hugging Face Space.
See the pipeline documentation for summarization: https://huggingface.co/docs/transformers.js/api/pipelines#module_pipelines.SummarizationPipeline
This model was created by Tanaos with the Artifex Python library.
This is an abstractive text summarization model based on facebook/bart-base and fine-tuned on a synthetic dataset to produce concise, fluent summaries of longer texts. The model uses beam search decoding and is optimized for general-purpose summarization across a variety of domains.
Use this model through the Artifex library:
install Artifex with
pip install artifex
use the model with
from artifex import Artifex
summarizer = Artifex().text_summarization()
text = """
The Amazon rainforest, often referred to as the "lungs of the Earth", produces about
20% of the world's oxygen and is home to an estimated 10% of all species on the planet.
Deforestation driven by agriculture, logging, and infrastructure development has
destroyed roughly 17% of the forest over the last 50 years, raising urgent concerns
among scientists and policymakers about biodiversity loss and climate change.
"""
summary = summarizer(text)
print(summary)
# >>> "The Amazon rainforest produces 20% of the world's oxygen and harbors 10% of all species, but deforestation has been a major concern."
facebook/bart-baseBartForConditionalGeneration (sequence-to-sequence)This model was trained using the Artifex Python library
pip install artifex
by providing the following instructions and generating synthetic training samples:
from artifex import Artifex
summarizer = Artifex().text_summarization()
summarizer.train(
domain="general",
num_samples=20000
)
This model is intended to: - Condense long documents, articles, or reports into short, readable summaries. - Be used in applications such as news aggregators, document review tools, and content digests. - Serve as a general-purpose summarization model applicable across various industries and domains.
Not intended for: - Highly technical or domain-specific texts where specialized terminology requires domain-adapted models. - Very short inputs (a few sentences) where summarization adds little value. - Tasks requiring factual grounding or citations.
41 files, 16.3 GB in total. The weights are 32 files totalling 16.3 GB in onnx.
| File | Type | Size | SHA-256 |
|---|---|---|---|
| onnx/decoder_model.onnx | Weights | 1.2 GB | cbafdeaa2d03 |
| onnx/decoder_model_bnb4.onnx | Weights | 353.8 MB | f8f2160336e6 |
| onnx/decoder_model_fp16.onnx | Weights | 611.8 MB | 0ae8935ab335 |
| onnx/decoder_model_int8.onnx | Weights | 307.2 MB | 1ca2b036f11d |
| onnx/decoder_model_merged.onnx | Weights | 1.2 GB | 8ab618340c62 |
| onnx/decoder_model_merged_bnb4.onnx | Weights | 354.2 MB | d4013285e126 |
| onnx/decoder_model_merged_fp16.onnx | Weights | 612.3 MB | 5a656bd936d0 |
| onnx/decoder_model_merged_int8.onnx | Weights | 1.2 GB | cb86f6e38772 |
| onnx/decoder_model_merged_q4.onnx | Weights | 370.0 MB | 9ba1a974d9b8 |
| onnx/decoder_model_merged_q4f16.onnx | Weights | 248.9 MB | 533174bbd01e |
| onnx/decoder_model_merged_quantized.onnx | Weights | 1.2 GB | cb86f6e38772 |
| onnx/decoder_model_merged_uint8.onnx | Weights | 1.2 GB | cb86f6e38772 |
| onnx/decoder_model_q4.onnx | Weights | 369.6 MB | 5a2c4da53602 |
| onnx/decoder_model_q4f16.onnx | Weights | 248.4 MB | 423df6fdc700 |
| onnx/decoder_model_quantized.onnx | Weights | 307.2 MB | 1ca2b036f11d |
| onnx/decoder_model_uint8.onnx | Weights | 307.2 MB | 851d728c8c8b |
| onnx/decoder_with_past_model.onnx | Weights | 1.1 GB | 5da179ed522c |
| onnx/decoder_with_past_model_bnb4.onnx | Weights | 339.5 MB | a11aac9c6110 |
| onnx/decoder_with_past_model_fp16.onnx | Weights | 561.3 MB | dd5215c407dd |
| onnx/decoder_with_past_model_int8.onnx | Weights | 281.8 MB | 827da6e3faa7 |
| onnx/decoder_with_past_model_q4.onnx | Weights | 353.8 MB | 7a9748f7e368 |
| onnx/decoder_with_past_model_q4f16.onnx | Weights | 234.1 MB | c3e446bea67c |
| onnx/decoder_with_past_model_quantized.onnx | Weights | 281.8 MB | 827da6e3faa7 |
| onnx/decoder_with_past_model_uint8.onnx | Weights | 281.8 MB | fd4f797f6917 |
| onnx/encoder_model.onnx | Weights | 814.9 MB | 653575b8d7a5 |
| onnx/encoder_model_bnb4.onnx | Weights | 295.8 MB | 72e6a4522e26 |
| onnx/encoder_model_fp16.onnx | Weights | 407.6 MB | 542bd37a2526 |
| onnx/encoder_model_int8.onnx | Weights | 204.5 MB | e20daf4f7c37 |
| onnx/encoder_model_q4.onnx | Weights | 305.3 MB | c7982f97cfa2 |
| onnx/encoder_model_q4f16.onnx | Weights | 190.5 MB | 73bc46ace21a |
| onnx/encoder_model_quantized.onnx | Weights | 204.5 MB | e20daf4f7c37 |
| onnx/encoder_model_uint8.onnx | Weights | 204.5 MB | 2108ffff2be5 |
| config.json | Configuration | 1.4 KB | — |
| generation_config.json | Configuration | 358 B | — |
| special_tokens_map.json | Configuration | 957 B | — |
| README.md | Documentation | 3.9 KB | — |
| .gitattributes | Repository | 1.5 KB | — |
| merges.txt | Tokenizer | 456.3 KB | — |
| tokenizer.json | Tokenizer | 3.6 MB | — |
| tokenizer_config.json | Tokenizer | 1.5 KB | — |
| vocab.json | Tokenizer | 798.3 KB | — |
Released by ONNX Community through its official repository on Hugging Face. Read the license.
| Precision | Weights in memory |
|---|---|
| As published | 16.3 GB |
Weights only, from the published parameter count; the key-value cache and runtime add to this.
Yes. tanaos-text-summarization-v1-ONNX is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.
1,024 tokens, from the maximum position embeddings in its published configuration.
This checkpoint should be loaded into BartForConditionalGeneration.frompretrained. See the BART docs for more information.
Original TF 1 code here Authors: Jingqing Zhang, Yao Zhao, Mohammad Saleh and Peter J. Liu on Dec 18, 2019 The following is copied from the authors' README. We train a pegasus model with sampled gap sentence ratios on both C4 and HugeNews, and stochastically sample important sentences. The updated the results are reported in this table. The "Mixed & Stochastic" model has the following changes: - trained on both C4 and HugeNews (dataset mixture is weighted by their number of examples). - trained for 1.5M instead of 500k (we observe slower convergence on pretraining perplexity). - the model uniformly sample a gap sentence ratio between 15% and 45%. - importance sentences are sampled using a…
This model was trained using Amazon SageMaker and the new Hugging Face Deep Learning container.
This checkpoint should be loaded into BartForConditionalGeneration.frompretrained. See the BART docs for more information.
This repository contains the mT5 checkpoint finetuned on the 45 languages of XL-Sum dataset. For finetuning details and scripts, see the paper and the official repository. Scores on the XL-Sum test sets are as follows: Language | ROUGE-1 / ROUGE-2 / ROUGE-L Amharic | 20.0485 / 7.4111 / 18.0753 Arabic | 34.9107 / 14.7937 / 29.1623 Azerbaijani | 21.4227 / 9.5214 / 19.3331 Bengali | 29.5653 / 12.1095 / 25.1315 Burmese | 15.9626 / 5.1477 / 14.1819 Chinese (Simplified) | 39.4071 / 17.7913 / 33.406 Chinese (Traditional) | 37.1866 / 17.1432 / 31.6184 English | 37.601 / 15.1536 / 29.8817 French | 35.3398 / 16.1739 / 28.2041 Gujarati | 21.9619 / 7.7417 / 19.86 Hausa | 39.4375 / 17.6786 / 31.6667…