Fill-Mask
Transformers
ONNX
Safetensors
indim
indic
multilingual
romanized
code-mixed
modernbert
encoder
custom_code
Instructions to use CobuildX-AI/InDIM-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CobuildX-AI/InDIM-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="CobuildX-AI/InDIM-small", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("CobuildX-AI/InDIM-small", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from CobuildX-AI/InDIM-small: direct link, hf CLI and curl.
- Browser
- Download file 1.93 kB
-
https://huggingface.co/CobuildX-AI/InDIM-small/resolve/main/config.json
- Command line
-
hf download hf://CobuildX-AI/InDIM-small/config.json
-
curl -L -o config.json https://huggingface.co/CobuildX-AI/InDIM-small/resolve/main/config.json
1.93 kB
| { | |
| "architectures": [ | |
| "InDIMForMaskedLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "auto_map": { | |
| "AutoConfig": "configuration_indim.InDIMConfig", | |
| "AutoModel": "modeling_indim.InDIMModel", | |
| "AutoModelForMaskedLM": "modeling_indim.InDIMForMaskedLM", | |
| "AutoModelForSequenceClassification": "modeling_indim.InDIMForSequenceClassification", | |
| "AutoModelForTokenClassification": "modeling_indim.InDIMForTokenClassification" | |
| }, | |
| "bos_token_id": null, | |
| "classifier_activation": "gelu", | |
| "classifier_bias": false, | |
| "classifier_dropout": 0.0, | |
| "classifier_pooling": "cls", | |
| "cls_token_id": 128001, | |
| "decoder_bias": true, | |
| "deterministic_flash_attn": false, | |
| "dtype": "float32", | |
| "embedding_dropout": 0.0, | |
| "embedding_rank": 128, | |
| "eos_token_id": null, | |
| "hidden_activation": "gelu", | |
| "hidden_size": 384, | |
| "initializer_cutoff_factor": 2.0, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 576, | |
| "layer_types": [ | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention" | |
| ], | |
| "local_attention": 128, | |
| "mask_token_id": 128003, | |
| "max_position_embeddings": 8192, | |
| "mlp_bias": false, | |
| "mlp_dropout": 0.0, | |
| "model_type": "indim", | |
| "norm_bias": false, | |
| "norm_eps": 1e-05, | |
| "num_attention_heads": 6, | |
| "num_hidden_layers": 12, | |
| "pad_token_id": 128000, | |
| "rope_parameters": { | |
| "full_attention": { | |
| "rope_theta": 160000.0, | |
| "rope_type": "default" | |
| }, | |
| "sliding_attention": { | |
| "rope_theta": 160000.0, | |
| "rope_type": "default" | |
| } | |
| }, | |
| "sep_token_id": 128002, | |
| "sparse_pred_ignore_index": -100, | |
| "sparse_prediction": false, | |
| "tie_word_embeddings": false, | |
| "transformers_version": "5.22.2", | |
| "vocab_size": 128064 | |
| } | |