Instructions to use clue/roberta_chinese_3L312_clue_tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use clue/roberta_chinese_3L312_clue_tiny with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("clue/roberta_chinese_3L312_clue_tiny", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from clue/roberta_chinese_3L312_clue_tiny: direct link, hf CLI and curl.
- Browser
- Download file 502 Bytes
-
https://huggingface.co/clue/roberta_chinese_3L312_clue_tiny/resolve/3d44d13ffd9deb83b6499bd6961fdb0bcbee5c36/config.json
- Command line
-
hf download hf://clue/roberta_chinese_3L312_clue_tiny@3d44d13ffd9deb83b6499bd6961fdb0bcbee5c36/config.json
-
curl -L -o config.json https://huggingface.co/clue/roberta_chinese_3L312_clue_tiny/resolve/3d44d13ffd9deb83b6499bd6961fdb0bcbee5c36/config.json
502 Bytes
| { | |
| "attention_probs_dropout_prob": 0.1, | |
| "directionality": "bidi", | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 312, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 1248, | |
| "max_position_embeddings": 512, | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 3, | |
| "pooler_fc_size": 768, | |
| "pooler_num_attention_heads": 12, | |
| "pooler_num_fc_layers": 3, | |
| "pooler_size_per_head": 128, | |
| "pooler_type": "first_token_transform", | |
| "type_vocab_size": 2, | |
| "vocab_size": 8021 | |
| } |