Instructions to use arabi-elidrisi/ArabicDistilBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use arabi-elidrisi/ArabicDistilBERT with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("arabi-elidrisi/ArabicDistilBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from arabi-elidrisi/ArabicDistilBERT: direct link, hf CLI and curl.
- Browser
- Download file 526 Bytes
-
https://huggingface.co/arabi-elidrisi/ArabicDistilBERT/resolve/main/config.json
- Command line
-
hf download hf://arabi-elidrisi/ArabicDistilBERT/config.json
-
curl -L -o config.json https://huggingface.co/arabi-elidrisi/ArabicDistilBERT/resolve/main/config.json
526 Bytes
| { | |
| "_name_or_path": "/local/musaeed/UofkDistill/model/checkpoint.pth", | |
| "activation": "gelu", | |
| "attention_dropout": 0.1, | |
| "dim": 1024, | |
| "dropout": 0.1, | |
| "hidden_dim": 4096, | |
| "initializer_range": 0.02, | |
| "max_position_embeddings": 512, | |
| "model_type": "distilbert", | |
| "n_heads": 16, | |
| "n_layers": 6, | |
| "output_hidden_states": true, | |
| "pad_token_id": 0, | |
| "qa_dropout": 0.1, | |
| "seq_classif_dropout": 0.2, | |
| "sinusoidal_pos_embds": true, | |
| "tie_weights_": true, | |
| "transformers_version": "4.24.0", | |
| "vocab_size": 32000 | |
| } | |