Fill-Mask
Transformers
Safetensors
pakmosaic
pakistan
multilingual
encoder
research-preview
sota-target
custom_code
Instructions to use ProximaAI/PakMosaic-Small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ProximaAI/PakMosaic-Small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="ProximaAI/PakMosaic-Small", trust_remote_code=True)# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("ProximaAI/PakMosaic-Small", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from ProximaAI/PakMosaic-Small: direct link, hf CLI and curl.
- Browser
- Download file 307 Bytes
-
https://huggingface.co/ProximaAI/PakMosaic-Small/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://ProximaAI/PakMosaic-Small/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/ProximaAI/PakMosaic-Small/resolve/main/tokenizer_config.json
307 Bytes
| { | |
| "tokenizer_class": "PreTrainedTokenizerFast", | |
| "model_max_length": 512, | |
| "bos_token": "<s>", | |
| "eos_token": "</s>", | |
| "unk_token": "<unk>", | |
| "pad_token": "<pad>", | |
| "mask_token": "<mask>", | |
| "padding_side": "right", | |
| "truncation_side": "right", | |
| "clean_up_tokenization_spaces": false | |
| } | |