microsoft / prophetnet-large-uncased

huggingface.co
Total runs: 93.6K
24-hour runs: 0
7-day runs: -9.3K
30-day runs: -45.4K
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

93.6K
Total runs
0
24-hour runs
379
3-day runs
-9.3K
7-day runs
-45.4K
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: 635.8K
Run Growth: -1.0M
Growth Rate: -165.48%
Updated:December 08 2025
huggingface.co

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

Total runs: 588.7K
Run Growth: 212.5K
Growth Rate: 36.98%
Updated:February 03 2022
huggingface.co

Total runs: 543.2K
Run Growth: 439.7K
Growth Rate: 81.75%
Updated:April 08 2024
huggingface.co

Total runs: 320.2K
Run Growth: 13.8K
Growth Rate: 4.43%
Updated:February 14 2024
huggingface.co

Total runs: 185.9K
Run Growth: -5.9K
Growth Rate: -3.22%
Updated:November 08 2023
huggingface.co

Total runs: 135.3K
Run Growth: -127.0K
Growth Rate: -97.77%
Updated:February 03 2023
huggingface.co

Total runs: 125.2K
Run Growth: -190.4K
Growth Rate: -158.05%
Updated:September 26 2022
huggingface.co

Total runs: 114.0K
Run Growth: -38.8K
Growth Rate: -35.45%
Updated:February 29 2024
huggingface.co

Total runs: 89.2K
Run Growth: -39.2K
Growth Rate: -46.13%
Updated:August 28 2025
huggingface.co

Total runs: 75.7K
Run Growth: -30.6K
Growth Rate: -42.43%
Updated:December 03 2025
huggingface.co

Total runs: 74.8K
Run Growth: -27.6K
Growth Rate: -39.70%
Updated:November 25 2025
huggingface.co

Total runs: 53.4K
Run Growth: 20.3K
Growth Rate: 38.63%
Updated:October 09 2025
huggingface.co

Total runs: 47.6K
Run Growth: -6.7K
Growth Rate: -14.26%
Updated:December 23 2021
huggingface.co

Total runs: 31.0K
Run Growth: -8.1K
Growth Rate: -26.25%
Updated:October 11 2025