{
    "model_type": "mlm",
    "tamm_id": "afm-text-30b-instruct-v5-astc-6x6-20240709",
    "checkpoint": "model.mlm",
    "tokenizer": "afm-text-instruct-multilingual-100k-20240701",
    "original_checkpoint": "bolttorchmodel://rxreh9ip6h/126",
    "export_date": "07/22/2024-11:35:24",
    "mlm_config": {
        "model_name": "ajax",
        "backend": "metal",
        "context_len": 2048,
        "batch_size": 1,
        "sampling_type": 2,
        "temperature": 1.0,
        "repeat_penalty": 1.0,
        "topp": 1.0,
        "topk": 10,
        "num_layers": 48,
        "hidden_dim": 7168,
        "num_heads": 56,
        "num_kv_heads": 8,
        "checkpoint_type": "tamm-adapt",
        "seed": 1234,
        "checkpoint": "/coreflow/data/conductor/bolt-prod-2701095805/tasks/rxreh9ip6h/artifacts/train/checkpoint_126.tar",
        "save_model_path": "/task_wrapper/user_output/artifacts/model.mlm",
        "data_type": "fp16",
        "merge_loras": false,
        "state_dict_kw": "network",
        "adapter_only": true,
        "export_draft_model": false,
        "ignore_spq_params": false,
        "speculative_decode_type": "none",
        "ffn_dim": 23296.0,
        "pos_emb": 1,
        "lora_scale": 0.5
    },
    "default_parameters": {
        "samplingType": "TIE_ARGMAX",
        "temperature": 1.0,
        "seed": 1234,
        "topK": 10,
        "topP": 1.0,
        "repeatPenalty": 1.0
    },
    "special_tokens_map": {
        "start_prompt_token": 1,
        "end_prompt_token": "",
        "chat.role.system": "system\n",
        "chat.role.user": "user\n",
        "chat.role.assistant": "assistant\n",
        "chat.component.turnEnd": "<turn_end>",
        "stop_token": "<turn_end>",
        "chat.role.system.default": "system\nA conversation between a user and a helpful assistant."
    },
    "disable_spec_decoding": false,
    "disable_speculative_streaming": false,
    "adapter_info": {
        "base_adapter": {
            "rank": 64,
            "alpha": 32,
            "adapt_attention_queries": true,
            "adapt_attention_keys": true,
            "adapt_attention_values": true,
            "adapt_attention_outputs": false,
            "adapt_feed_forward_hidden_states": true,
            "adapt_feed_forward_outputs": false,
            "dropout_p": 0.0,
            "dtype": null,
            "pretrained_path": "conductor://afm-official-permanent/model-lifecycle/afm-text-30b-instruct-20240701/tamm-release/20240709/adapters/afm-text-30b-instruct-v5-astc-6x6-20240709-adapter-rank-64.pt",
            "freeze_params": false,
            "device": null
        }
    },
    "localization": {
        "chat.role.system.default": {
            "en_GB": "system\nA conversation between a user located in Britain and a helpful assistant. The assistant is mindful of British spelling, vocabulary, entities and other British context.",
            "en_AU": "system\nA conversation between a user located in Australia and a helpful assistant. The assistant is mindful of Australian spelling, vocabulary, entities and other Australian context.",
            "en_CA": "system\nA conversation between a user located in Canada and a helpful assistant. The assistant is mindful of Canadian spelling, vocabulary, entities and other Canadian context.",
            "en_IE": "system\nA conversation between a user located in Ireland and a helpful assistant. The assistant is mindful of Irish spelling, vocabulary, entities and other Irish context.",
            "en_NZ": "system\nA conversation between a user located in New Zealand and a helpful assistant. The assistant is mindful of New Zealand spelling, vocabulary, entities and other New Zealand context.",
            "en_ZA": "system\nA conversation between a user located in South Africa and a helpful assistant. The assistant is mindful of South African spelling, vocabulary, entities and other South African context.",
            "en_IN": "system\nA conversation between a user located in India and a helpful assistant. The assistant is mindful of Indian spelling, vocabulary, entities and other Indian context.",
            "en_SG": "system\nA conversation between a user located in Singapore and a helpful assistant. The assistant is mindful of Singaporean spelling, vocabulary, entities and other Singaporean context."
        }
    },
    "display_version": "v5.0-30b",
    "ref_id": "rxreh9ip6h",
    "promptTemplates": {
        "com.apple.photos.memoryCreation.QueryUnderstanding.v0": "{{ specialToken.chat.role.system }}You are an expert in query understanding. Your task is to transform the given natural language prompt into a structured query format. You must follow the instructions below:<n> - Ensure music artist names are specifically marked as a music artist, not simply as a \"who\".<n> - Identify named locations like landmarks, business addresses, cities, and countries, and tag them as a \"where\" rather than a \"what\".<n> - Annotate any mention of a holiday or festival name immediately followed by a year as a \"when\".<n> - Restrict \"what\" categories to only the following options: Anniversary, Birthday, Breakfast, Concert, Dinner, Diving, Hiking, Holiday Event, Lunch, Wedding.<n> - Please treat all queries as case-insensitive and provide the same response if the meaning of the queries is the same.{{ specialToken.chat.component.turnEnd }}{{ specialToken.chat.role.user }}{{ userPrompt }}{{ specialToken.chat.component.turnEnd }}{{ specialToken.chat.role.assistant }}"
    },
    "constraints_override": "schema_raw_v1",
    "constraints_override_payload": "{\"required\":[\"who\",\"what\",\"when\",\"where\",\"music\",\"mood\",\"sort_order\",\"trip\",\"all_time\"],\"properties\":{\"music\":{\"properties\":{\"song\":{\"additionalProperties\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"type\":\"object\"},\"artist\":{\"additionalProperties\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"type\":\"object\"},\"genre\":{\"type\":\"object\",\"additionalProperties\":{\"items\":{\"type\":\"string\"},\"type\":\"array\"}}},\"order\":[\"artist\",\"genre\",\"song\"],\"type\":\"object\",\"required\":[\"artist\",\"genre\",\"song\"]},\"where\":{\"additionalProperties\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"type\":\"object\"},\"when\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"who\":{\"additionalProperties\":{\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"type\":\"object\"},\"sort_order\":{\"type\":\"object\",\"additionalProperties\":{\"items\":{\"type\":\"string\"},\"type\":\"array\"}},\"all_time\":{\"type\":\"string\"},\"what\":{\"type\":\"object\",\"additionalProperties\":{\"items\":{\"type\":\"string\"},\"type\":\"array\"}},\"trip\":{\"type\":\"string\"},\"mood\":{\"type\":\"object\",\"additionalProperties\":{\"items\":{\"type\":\"string\"},\"type\":\"array\"}}},\"order\":[\"who\",\"what\",\"when\",\"where\",\"music\",\"mood\",\"sort_order\",\"trip\",\"all_time\"],\"type\":\"object\"}"
}