How to use hf-tiny-model-private/tiny-random-MegatronBertForNextSentencePrediction with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForNextSentencePrediction tokenizer = AutoTokenizer.from_pretrained("hf-tiny-model-private/tiny-random-MegatronBertForNextSentencePrediction") model = AutoModelForNextSentencePrediction.from_pretrained("hf-tiny-model-private/tiny-random-MegatronBertForNextSentencePrediction")
The community tab is the place to discuss and collaborate with the HF community!