Instructions to use hirotasoshu/tiny-random-prophetnet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hirotasoshu/tiny-random-prophetnet with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("hirotasoshu/tiny-random-prophetnet") model = AutoModelForSeq2SeqLM.from_pretrained("hirotasoshu/tiny-random-prophetnet") - Notebooks
- Google Colab
- Kaggle
Quick Links
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Same as hf-internal-testing/tiny-random-prophetnet, but with higher max_length and max_position_embedding
- Downloads last month
- 438
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("hirotasoshu/tiny-random-prophetnet") model = AutoModelForSeq2SeqLM.from_pretrained("hirotasoshu/tiny-random-prophetnet")