Instructions to use SharedBailii/PT-POL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SharedBailii/PT-POL with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="SharedBailii/PT-POL")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("SharedBailii/PT-POL") model = AutoModelForMaskedLM.from_pretrained("SharedBailii/PT-POL", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
66f3eda
1
Parent(s): eeb0c65
Upload tokenizer
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
"mask_token": "[MASK]",
|
| 7 |
"max_length": 512,
|
| 8 |
"model_max_length": 1000000000000000019884624838656,
|
| 9 |
-
"name_or_path": "
|
| 10 |
"never_split": null,
|
| 11 |
"pad_token": "[PAD]",
|
| 12 |
"sep_token": "[SEP]",
|
|
|
|
| 6 |
"mask_token": "[MASK]",
|
| 7 |
"max_length": 512,
|
| 8 |
"model_max_length": 1000000000000000019884624838656,
|
| 9 |
+
"name_or_path": "Waleed-bin-Qamar/PT-POL-wl-3EPT",
|
| 10 |
"never_split": null,
|
| 11 |
"pad_token": "[PAD]",
|
| 12 |
"sep_token": "[SEP]",
|