Instructions to use liwii/fc-binary-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use liwii/fc-binary-model with Transformers:
# Load model directly from transformers import AutoTokenizer, ConsistentSentenceClassifier tokenizer = AutoTokenizer.from_pretrained("liwii/fc-binary-model") model = ConsistentSentenceClassifier.from_pretrained("liwii/fc-binary-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "bos_token": "[CLS]", | |
| "cls_token": "[CLS]", | |
| "eos_token": "[SEP]", | |
| "mask_token": "[MASK]", | |
| "pad_token": "<pad>", | |
| "sep_token": "[SEP]", | |
| "unk_token": "<unk>" | |
| } | |