Instructions to use jparmet/topic-model-new-labels with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jparmet/topic-model-new-labels with Transformers:
# Load model directly from transformers import BertClassifier model = BertClassifier.from_pretrained("jparmet/topic-model-new-labels", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 410 Bytes
f4dccb7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | {
"clean_up_tokenization_spaces": true,
"cls_token": "[CLS]",
"do_lower_case": true,
"mask_token": "[MASK]",
"max_length": 512,
"model_max_length": 512,
"pad_token": "[PAD]",
"padding": "max_length",
"return_tensors": "pt",
"sep_token": "[SEP]",
"strip_accents": null,
"tokenize_chinese_chars": true,
"tokenizer_class": "BertTokenizer",
"truncation": true,
"unk_token": "[UNK]"
}
|