Instructions to use khaled44/bea-2way-full with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use khaled44/bea-2way-full with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="khaled44/bea-2way-full")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("khaled44/bea-2way-full") model = AutoModelForSequenceClassification.from_pretrained("khaled44/bea-2way-full") - Notebooks
- Google Colab
- Kaggle
File size: 342 Bytes
8edb5f9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | {
"backend": "tokenizers",
"cls_token": "[CLS]",
"do_lower_case": false,
"is_local": false,
"mask_token": "[MASK]",
"max_len": 512,
"model_max_length": 512,
"pad_token": "[PAD]",
"sep_token": "[SEP]",
"strip_accents": false,
"tokenize_chinese_chars": true,
"tokenizer_class": "BertTokenizer",
"unk_token": "[UNK]"
}
|