Instructions to use hf-tiny-model-private/tiny-random-FNetForNextSentencePrediction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-tiny-model-private/tiny-random-FNetForNextSentencePrediction with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForNextSentencePrediction tokenizer = AutoTokenizer.from_pretrained("hf-tiny-model-private/tiny-random-FNetForNextSentencePrediction") model = AutoModelForNextSentencePrediction.from_pretrained("hf-tiny-model-private/tiny-random-FNetForNextSentencePrediction") - Notebooks
- Google Colab
- Kaggle
File size: 528 Bytes
bc3a3ff | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | {
"clean_up_tokenization_spaces": true,
"cls_token": "[CLS]",
"do_lower_case": false,
"keep_accents": true,
"mask_token": {
"__type": "AddedToken",
"content": "[MASK]",
"lstrip": false,
"normalized": true,
"rstrip": false,
"single_word": false
},
"model_max_length": 512,
"pad_token": "<pad>",
"remove_space": true,
"sep_token": "[SEP]",
"sp_model_kwargs": {},
"special_tokens_map_file": "./special_tokens_map.json",
"tokenizer_class": "FNetTokenizer",
"unk_token": "<unk>"
}
|