Instructions to use microsoft/prophetnet-large-uncased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/prophetnet-large-uncased with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("microsoft/prophetnet-large-uncased") model = AutoModelForSeq2SeqLM.from_pretrained("microsoft/prophetnet-large-uncased", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.2a3eff1
-
Adding generation config file(s)
fd5b6f7
-
Update config.json
f821857 -
Update config.json
4df46a0 -
Update config.json
f3b5699
-
Addition of Rust model
fa26143
-
Migrate model card from transformers-repo
Read announcement at https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755 Original file history: https://github.com/huggingface/transformers/commits/master/model_cards/microsoft/prophetnet-large-uncased/README.mdb8aa2a3
-
Update pytorch_model.bin
8b53598 -
Update config.json
75661ff -
Update prophetnet.tokenizer
5fdb09d -
Update special_tokens_map.json
2e95d84 -
Update tokenizer_config.json
a4d5df8
-
Update config.json
f93a215
-
Update config.json
f5417f6
-
Update config.json
26d4d7c
-
Update config.json
3330a55
-
Update prophetnet.tokenizer
e021a1e -
Update tokenizer_config.json
d157219 -
Update config.json
3888b2d -
Update special_tokens_map.json
8929093
-
Update tokenizer_config.json
47d3b1c -
Update config.json
c0aa8bc -
Update special_tokens_map.json
66d0808 -
Update tokenizer_config.json
fad4371 -
Update special_tokens_map.json
4bd5bd0 -
Update config.json
caa3d92 -
initial commit
9b87b03