Download encoder/config.json from featherless-ai/laya-plus-classifier: direct link, hf CLI and curl.
- Browser
- Download file 3.26 kB
-
https://huggingface.co/featherless-ai/laya-plus-classifier/resolve/main/encoder/config.json
- Command line
-
hf download hf://featherless-ai/laya-plus-classifier/encoder/config.json
-
curl -L -o config.json https://huggingface.co/featherless-ai/laya-plus-classifier/resolve/main/encoder/config.json
3.26 kB
| { | |
| "transformers_version": "5.16.1", | |
| "architectures": [ | |
| "ModernBertForMaskedLM" | |
| ], | |
| "output_hidden_states": false, | |
| "return_dict": true, | |
| "dtype": "float32", | |
| "chunk_size_feed_forward": 0, | |
| "is_encoder_decoder": false, | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1" | |
| }, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1 | |
| }, | |
| "problem_type": null, | |
| "vocab_size": 50368, | |
| "hidden_size": 1024, | |
| "intermediate_size": 2624, | |
| "num_hidden_layers": 42, | |
| "num_attention_heads": 16, | |
| "hidden_activation": "gelu", | |
| "max_position_embeddings": 65536, | |
| "initializer_range": 0.02, | |
| "initializer_cutoff_factor": 2.0, | |
| "norm_eps": 1e-05, | |
| "norm_bias": false, | |
| "pad_token_id": 50283, | |
| "eos_token_id": 50282, | |
| "bos_token_id": 50281, | |
| "cls_token_id": 50281, | |
| "sep_token_id": 50282, | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "layer_types": [ | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention" | |
| ], | |
| "rope_parameters": { | |
| "full_attention": { | |
| "rope_type": "linear", | |
| "rope_theta": 160000.0, | |
| "factor": 8.0 | |
| }, | |
| "sliding_attention": { | |
| "rope_type": "default", | |
| "rope_theta": 10000.0 | |
| } | |
| }, | |
| "local_attention": 128, | |
| "embedding_dropout": 0.0, | |
| "mlp_bias": false, | |
| "mlp_dropout": 0.0, | |
| "decoder_bias": true, | |
| "classifier_pooling": "mean", | |
| "classifier_dropout": 0.0, | |
| "classifier_bias": false, | |
| "classifier_activation": "gelu", | |
| "deterministic_flash_attn": false, | |
| "sparse_prediction": false, | |
| "sparse_pred_ignore_index": -100, | |
| "tie_word_embeddings": true, | |
| "_name_or_path": "/root/.cache/huggingface/hub/models--convaiinnovations--laya/snapshots/1c5edc17a7acd8701df6fc341c0d179f1c62c982/encoder", | |
| "global_attn_every_n_layers": 3, | |
| "gradient_checkpointing": false, | |
| "layer_norm_eps": 1e-05, | |
| "model_type": "modernbert", | |
| "position_embedding_type": "absolute", | |
| "repad_logits_with_grad": false, | |
| "laya_layer_origins": [ | |
| 0, | |
| 1, | |
| 2, | |
| 3, | |
| 4, | |
| 5, | |
| 6, | |
| 7, | |
| 8, | |
| 9, | |
| 10, | |
| 11, | |
| 12, | |
| 13, | |
| 14, | |
| 15, | |
| 16, | |
| 17, | |
| 18, | |
| 19, | |
| 20, | |
| 7, | |
| 8, | |
| 9, | |
| 10, | |
| 11, | |
| 12, | |
| 13, | |
| 14, | |
| 15, | |
| 16, | |
| 17, | |
| 18, | |
| 19, | |
| 20, | |
| 21, | |
| 22, | |
| 23, | |
| 24, | |
| 25, | |
| 26, | |
| 27 | |
| ], | |
| "laya_variant": "middle14", | |
| "output_attentions": false | |
| } | |