Instructions to use Frase/tiny-bert-model-unsafe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Frase/tiny-bert-model-unsafe with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Frase/tiny-bert-model-unsafe", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from Frase/tiny-bert-model-unsafe: direct link, hf CLI and curl.
- Browser
- Download file 308 Bytes
-
https://huggingface.co/Frase/tiny-bert-model-unsafe/resolve/main/config.json
- Command line
-
hf download hf://Frase/tiny-bert-model-unsafe/config.json
-
curl -L -o config.json https://huggingface.co/Frase/tiny-bert-model-unsafe/resolve/main/config.json
308 Bytes
| {"hidden_size": 128, "hidden_act": "gelu", "initializer_range": 0.02, "vocab_size": 30522, "hidden_dropout_prob": 0.1, "num_attention_heads": 2, "type_vocab_size": 2, "max_position_embeddings": 512, "num_hidden_layers": 2, "intermediate_size": 512, "attention_probs_dropout_prob": 0.1, "model_type": "bert"} | |