Bartosz Hanc
docs: update model card, context lengths, and config specs
f3ae600
Raw History Blame Contribute Delete
1.35 kB
{
"$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
"model": "smollm2",
"family": "smollm",
"capabilities": [
"text-generation"
],
"backend": "mlx",
"license": "apache-2.0",
"variants": [
{
"file": "smollm2_360m_mlx_int8.pte",
"precision": "int8",
"quantized": true,
"default": true,
"methods": {
"enable_dynamic_shape": true,
"forward": {
"inputs": [
{
"shape": [
1,
{
"min": 1,
"max": 2047
}
],
"dtype": "int64"
},
{
"shape": [
1
],
"dtype": "int64"
}
],
"outputs": [
{
"shape": [
1,
49152
],
"dtype": "float32"
}
]
},
"get_bos_id": 1,
"get_eos_ids": [
2
],
"get_max_context_len": 16384,
"get_max_seq_len": 2048,
"get_n_layers": 32,
"get_vocab_size": 49152,
"use_kv_cache": true,
"use_sdpa_with_kv_cache": true
}
}
],
"size": "360m"
}