Instructions to use microsoft/cocolm-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/cocolm-large with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("microsoft/cocolm-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 472 Bytes
bb8abac | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | {
"attention_probs_dropout_prob": 0.1,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 1024,
"initializer_range": 0.02,
"intermediate_size": 4096,
"max_position_embeddings": 512,
"num_attention_heads": 16,
"num_hidden_layers": 24,
"type_vocab_size": 0,
"vocab_size": 64000,
"rel_pos_bins": 128,
"max_rel_pos": 256,
"layer_norm_type": "post",
"layer_norm_eps": 1e-5,
"cls_dropout_prob": 0.1
} |