microsoft / prophetnet-large-uncased

huggingface.co
Total runs: 92.4K
24-hour runs: 0
7-day runs: 6.9K
30-day runs: -15.5K
Model's Last Updated: April 27 2023
text-generation

Introduction of prophetnet-large-uncased

Model Details of prophetnet-large-uncased

prophetnet-large-uncased

Pretrained weights for ProphetNet .
ProphetNet is a new pre-trained language model for sequence-to-sequence learning with a novel self-supervised objective called future n-gram prediction.
ProphetNet is able to predict more future tokens with a n-stream decoder. The original implementation is Fairseq version at github repo .

Usage

This pre-trained model can be fine-tuned on sequence-to-sequence tasks. The model could e.g. be trained on headline generation as follows:

from transformers import ProphetNetForConditionalGeneration, ProphetNetTokenizer

model = ProphetNetForConditionalGeneration.from_pretrained("microsoft/prophetnet-large-uncased")
tokenizer = ProphetNetTokenizer.from_pretrained("microsoft/prophetnet-large-uncased")

input_str = "the us state department said wednesday it had received no formal word from bolivia that it was expelling the us ambassador there but said the charges made against him are `` baseless ."
target_str = "us rejects charges against its ambassador in bolivia"

input_ids = tokenizer(input_str, return_tensors="pt").input_ids
labels = tokenizer(target_str, return_tensors="pt").input_ids

loss = model(input_ids, labels=labels).loss
Citation
@article{yan2020prophetnet,
  title={Prophetnet: Predicting future n-gram for sequence-to-sequence pre-training},
  author={Yan, Yu and Qi, Weizhen and Gong, Yeyun and Liu, Dayiheng and Duan, Nan and Chen, Jiusheng and Zhang, Ruofei and Zhou, Ming},
  journal={arXiv preprint arXiv:2001.04063},
  year={2020}
}

Runs of microsoft prophetnet-large-uncased on huggingface.co

92.4K
Total runs
0
24-hour runs
0
3-day runs
6.9K
7-day runs
-15.5K
30-day runs

More Information About prophetnet-large-uncased huggingface.co Model

prophetnet-large-uncased huggingface.co

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

prophetnet-large-uncased huggingface.co Url

https://huggingface.co/microsoft/prophetnet-large-uncased

microsoft prophetnet-large-uncased online free

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

microsoft prophetnet-large-uncased online free url in huggingface.co:

https://huggingface.co/microsoft/prophetnet-large-uncased

prophetnet-large-uncased install

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

prophetnet-large-uncased install url in huggingface.co:

https://huggingface.co/microsoft/prophetnet-large-uncased

Url of prophetnet-large-uncased

prophetnet-large-uncased huggingface.co Url

Provider of prophetnet-large-uncased huggingface.co

microsoft
ORGANIZATIONS

Other API from microsoft

huggingface.co

Total runs: 681.1K
Run Growth: 208.0K
Growth Rate: 30.53%
Updated:February 03 2022
huggingface.co

Total runs: 595.8K
Run Growth: -131.1K
Growth Rate: -22.00%
Updated:November 25 2025
huggingface.co

Total runs: 535.6K
Run Growth: 307.0K
Growth Rate: 57.32%
Updated:April 08 2024
huggingface.co

Total runs: 511.8K
Run Growth: -531.5K
Growth Rate: -103.84%
Updated:December 08 2025
huggingface.co

Total runs: 451.5K
Run Growth: -39.3K
Growth Rate: -8.70%
Updated:September 26 2022
huggingface.co

Total runs: 289.1K
Run Growth: -22.3K
Growth Rate: -7.70%
Updated:February 14 2024
huggingface.co

Total runs: 117.8K
Run Growth: -147.4K
Growth Rate: -125.12%
Updated:November 08 2023
huggingface.co

Total runs: 117.6K
Run Growth: -1.2K
Growth Rate: -1.03%
Updated:February 29 2024
huggingface.co

Total runs: 100.0K
Run Growth: -425
Growth Rate: -0.42%
Updated:August 28 2025
huggingface.co

Total runs: 94.9K
Run Growth: -22.2K
Growth Rate: -23.38%
Updated:February 03 2023
huggingface.co

Total runs: 69.7K
Run Growth: -13.1K
Growth Rate: -18.74%
Updated:November 25 2025
huggingface.co

Total runs: 68.7K
Run Growth: -18.2K
Growth Rate: -26.47%
Updated:December 03 2025
huggingface.co

Total runs: 52.0K
Run Growth: 26.0K
Growth Rate: 50.00%
Updated:December 23 2021
huggingface.co

Total runs: 32.5K
Run Growth: 28.2K
Growth Rate: 86.85%
Updated:April 23 2026
huggingface.co

Total runs: 30.2K
Run Growth: -89.6K
Growth Rate: -296.90%
Updated:May 12 2026
huggingface.co

Total runs: 27.1K
Run Growth: -49.6K
Growth Rate: -181.19%
Updated:August 04 2021
huggingface.co

Total runs: 26.8K
Run Growth: 11.3K
Growth Rate: 49.26%
Updated:April 24 2023