allenai / PRIMERA

huggingface.co
Total runs: 502
24-hour runs: 0
7-day runs: 91
30-day runs: -100
Model's Last Updated: 1月 24 2023
text2text-generation

Introduction of PRIMERA

Model Details of PRIMERA


language: en

license: apache-2.0


HF-version model for PRIMERA: Pyramid-based Masked Sentence Pre-training for Multi-document Summarization (ACL 2022).

The original code can be found here . You can find the script and notebook to train/evaluate the model in the original github repo.

  • Note: due to the difference between the implementations of the original Longformer and the Huggingface LED model, the results of converted models are slightly different. We run a sanity check on both fine-tuned and non fine-tuned models on the MultiNews dataset , and show the results below:

| Model | Rouge-1 | Rouge-2 | Rouge-L |

| --- | ----------- |----------- |----------- |

| PRIMERA | 42.0 | 13.6 | 20.8|

| PRIMERA-hf | 41.7 |13.6 | 20.5|

| PRIMERA(finetuned) | 49.9 | 21.1 | 25.9|

| PRIMERA-hf(finetuned) | 49.9 | 20.9 | 25.8|

You can use it by


from transformers import (

    AutoTokenizer,

    LEDConfig,

    LEDForConditionalGeneration,

)

tokenizer = AutoTokenizer.from_pretrained('allenai/PRIMERA')

config=LEDConfig.from_pretrained('allenai/PRIMERA')

model = LEDForConditionalGeneration.from_pretrained('allenai/PRIMERA')

Runs of allenai PRIMERA on huggingface.co

502
Total runs
0
24-hour runs
-7
3-day runs
91
7-day runs
-100
30-day runs

More Information About PRIMERA huggingface.co Model

PRIMERA huggingface.co

PRIMERA huggingface.co is an AI model on huggingface.co that provides PRIMERA's model effect (), which can be used instantly with this allenai PRIMERA model. huggingface.co supports a free trial of the PRIMERA model, and also provides paid use of the PRIMERA. Support call PRIMERA model through api, including Node.js, Python, http.

allenai PRIMERA online free

PRIMERA huggingface.co is an online trial and call api platform, which integrates PRIMERA's modeling effects, including api services, and provides a free online trial of PRIMERA, you can try PRIMERA online for free by clicking the link below.

allenai PRIMERA online free url in huggingface.co:

https://huggingface.co/allenai/PRIMERA

PRIMERA install

PRIMERA is an open source model from GitHub that offers a free installation service, and any user can find PRIMERA on GitHub to install. At the same time, huggingface.co provides the effect of PRIMERA install, users can directly use PRIMERA installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

PRIMERA install url in huggingface.co:

https://huggingface.co/allenai/PRIMERA

Url of PRIMERA

PRIMERA huggingface.co Url

Provider of PRIMERA huggingface.co

allenai
ORGANIZATIONS

Other API from allenai

huggingface.co

Total runs: 91.7K
Run Growth: 78.6K
Growth Rate: 85.70%
Updated: 10月 18 2023
huggingface.co

Total runs: 61.6K
Run Growth: -50.5K
Growth Rate: -81.96%
Updated: 12月 04 2024
huggingface.co

Total runs: 23.0K
Run Growth: 7.7K
Growth Rate: 33.79%
Updated: 8月 14 2024
huggingface.co

Total runs: 8.5K
Run Growth: 3.3K
Growth Rate: 36.78%
Updated: 7月 16 2024
huggingface.co

Total runs: 6.1K
Run Growth: -21.5K
Growth Rate: -354.06%
Updated: 7月 03 2024
huggingface.co

Total runs: 5.1K
Run Growth: -17.0K
Growth Rate: -321.48%
Updated: 7月 16 2024
huggingface.co

Total runs: 2.5K
Run Growth: -163
Growth Rate: -6.49%
Updated: 12月 04 2024
huggingface.co

Total runs: 1.7K
Run Growth: -110
Growth Rate: -6.43%
Updated: 7月 16 2024
huggingface.co

Total runs: 895
Run Growth: 878
Growth Rate: 98.10%
Updated: 1月 24 2023
huggingface.co

Total runs: 486
Run Growth: 256
Growth Rate: 52.67%
Updated: 2月 12 2024
huggingface.co

Total runs: 374
Run Growth: 354
Growth Rate: 94.65%
Updated: 6月 13 2024
huggingface.co

Total runs: 313
Run Growth: -437
Growth Rate: -139.62%
Updated: 4月 30 2024
huggingface.co

Total runs: 297
Run Growth: 159
Growth Rate: 53.54%
Updated: 4月 19 2024