Instructions to use rrsong/utc-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rrsong/utc-base with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("rrsong/utc-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from rrsong/utc-base: direct link, hf CLI and curl.
- Browser
- Download file 553 Bytes
-
https://huggingface.co/rrsong/utc-base/resolve/main/config.json
- Command line
-
hf download hf://rrsong/utc-base/config.json
-
curl -L -o config.json https://huggingface.co/rrsong/utc-base/resolve/main/config.json
553 Bytes
| { | |
| "attention_probs_dropout_prob": 0.1, | |
| "enable_recompute": false, | |
| "fuse": false, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 768, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "layer_norm_eps": 1e-12, | |
| "max_position_embeddings": 2048, | |
| "model_type": "ernie", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 12, | |
| "pad_token_id": 0, | |
| "paddlenlp_version": null, | |
| "pool_act": "tanh", | |
| "task_id": 0, | |
| "task_type_vocab_size": 3, | |
| "type_vocab_size": 4, | |
| "use_task_id": false, | |
| "vocab_size": 39981 | |
| } | |