Instructions to use closji/wiki103_bert_small_final_e27 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use closji/wiki103_bert_small_final_e27 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, CoLwithBert tokenizer = AutoTokenizer.from_pretrained("closji/wiki103_bert_small_final_e27") model = CoLwithBert.from_pretrained("closji/wiki103_bert_small_final_e27", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from closji/wiki103_bert_small_final_e27: direct link, hf CLI and curl.
- Browser
- Download file 623 Bytes
-
https://huggingface.co/closji/wiki103_bert_small_final_e27/resolve/main/config.json
- Command line
-
hf download hf://closji/wiki103_bert_small_final_e27/config.json
-
curl -L -o config.json https://huggingface.co/closji/wiki103_bert_small_final_e27/resolve/main/config.json
623 Bytes
| { | |
| "architectures": [ | |
| "CoLwithBert" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "do_voken_cls": true, | |
| "do_voken_ctr": false, | |
| "do_voken_reg": false, | |
| "gradient_checkpointing": false, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 512, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 2048, | |
| "layer_norm_eps": 1e-12, | |
| "max_position_embeddings": 512, | |
| "model_type": "bert", | |
| "num_attention_heads": 8, | |
| "num_hidden_layers": 6, | |
| "pad_token_id": 0, | |
| "shared_head": false, | |
| "type_vocab_size": 2, | |
| "verbose": true, | |
| "vocab_size": 30522, | |
| "voken_dim": null, | |
| "voken_size": 50000 | |
| } | |