Instructions to use AMR-KELEG/Sentence-ALDi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AMR-KELEG/Sentence-ALDi with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AMR-KELEG/Sentence-ALDi")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AMR-KELEG/Sentence-ALDi") model = AutoModelForSequenceClassification.from_pretrained("AMR-KELEG/Sentence-ALDi") - Notebooks
- Google Colab
- Kaggle
Amr Keleg commited on
Commit ·
37504ed
1
Parent(s): 3151ad1
Track MarBERT's tokenization files
Browse files- special_tokens_map.json +1 -0
- tokenizer_config.json +1 -0
- vocab.txt +0 -0
special_tokens_map.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"do_lower_case": true, "do_basic_tokenize": true, "never_split": null, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "/project/6007993/elmadany/Models/MARBERT_17M/pytorch_verison/"}
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|