MCPcopy Create free account
hub / github.com/evilsocket/cake / sample_json

Function sample_json

cake-core/src/models/olmo2/config.rs:97–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95 use super::*;
96
97 fn sample_json() -> &'static str {
98 r#"{
99 "hidden_size": 4096,
100 "intermediate_size": 11008,
101 "vocab_size": 100278,
102 "num_hidden_layers": 32,
103 "num_attention_heads": 32,
104 "num_key_value_heads": 8,
105 "rms_norm_eps": 1e-5,
106 "rope_theta": 500000.0,
107 "bos_token_id": 100257,
108 "eos_token_id": 100257,
109 "tie_word_embeddings": false,
110 "max_position_embeddings": 4096
111 }"#
112 }
113
114 #[test]
115 fn test_olmo2_deserialize() {

Callers 2

test_olmo2_deserializeFunction · 0.70
test_olmo2_into_configFunction · 0.70

Calls

no outgoing calls

Tested by 2

test_olmo2_deserializeFunction · 0.56
test_olmo2_into_configFunction · 0.56