Delete .ipynb_checkpoints
Browse files
.ipynb_checkpoints/config-checkpoint.json
DELETED
|
@@ -1,30 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"_name_or_path": "maywell/PiVoT-MoE",
|
| 3 |
-
"architectures": [
|
| 4 |
-
"MixtralForCausalLM"
|
| 5 |
-
],
|
| 6 |
-
"attention_dropout": 0.0,
|
| 7 |
-
"bos_token_id": 1,
|
| 8 |
-
"eos_token_id": 2,
|
| 9 |
-
"hidden_act": "silu",
|
| 10 |
-
"hidden_size": 4096,
|
| 11 |
-
"initializer_range": 0.02,
|
| 12 |
-
"intermediate_size": 14336,
|
| 13 |
-
"max_position_embeddings": 32768,
|
| 14 |
-
"model_type": "mixtral",
|
| 15 |
-
"num_attention_heads": 32,
|
| 16 |
-
"num_experts_per_tok": 2,
|
| 17 |
-
"num_hidden_layers": 48,
|
| 18 |
-
"num_key_value_heads": 8,
|
| 19 |
-
"num_local_experts": 4,
|
| 20 |
-
"output_router_logits": false,
|
| 21 |
-
"rms_norm_eps": 1e-05,
|
| 22 |
-
"rope_theta": 100000.0,
|
| 23 |
-
"router_aux_loss_coef": 0.001,
|
| 24 |
-
"sliding_window": 8192,
|
| 25 |
-
"tie_word_embeddings": false,
|
| 26 |
-
"torch_dtype": "bfloat16",
|
| 27 |
-
"transformers_version": "4.36.1",
|
| 28 |
-
"use_cache": false,
|
| 29 |
-
"vocab_size": 32000
|
| 30 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.ipynb_checkpoints/special_tokens_map-checkpoint.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"bos_token": {
|
| 3 |
-
"content": "<s>",
|
| 4 |
-
"lstrip": false,
|
| 5 |
-
"normalized": false,
|
| 6 |
-
"rstrip": false,
|
| 7 |
-
"single_word": false
|
| 8 |
-
},
|
| 9 |
-
"eos_token": {
|
| 10 |
-
"content": "</s>",
|
| 11 |
-
"lstrip": false,
|
| 12 |
-
"normalized": false,
|
| 13 |
-
"rstrip": false,
|
| 14 |
-
"single_word": false
|
| 15 |
-
},
|
| 16 |
-
"pad_token": "<s>",
|
| 17 |
-
"unk_token": {
|
| 18 |
-
"content": "<unk>",
|
| 19 |
-
"lstrip": false,
|
| 20 |
-
"normalized": false,
|
| 21 |
-
"rstrip": false,
|
| 22 |
-
"single_word": false
|
| 23 |
-
}
|
| 24 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.ipynb_checkpoints/tokenizer_config-checkpoint.json
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"add_bos_token": true,
|
| 3 |
-
"add_eos_token": false,
|
| 4 |
-
"added_tokens_decoder": {
|
| 5 |
-
"0": {
|
| 6 |
-
"content": "<unk>",
|
| 7 |
-
"lstrip": false,
|
| 8 |
-
"normalized": false,
|
| 9 |
-
"rstrip": false,
|
| 10 |
-
"single_word": false,
|
| 11 |
-
"special": true
|
| 12 |
-
},
|
| 13 |
-
"1": {
|
| 14 |
-
"content": "<s>",
|
| 15 |
-
"lstrip": false,
|
| 16 |
-
"normalized": false,
|
| 17 |
-
"rstrip": false,
|
| 18 |
-
"single_word": false,
|
| 19 |
-
"special": true
|
| 20 |
-
},
|
| 21 |
-
"2": {
|
| 22 |
-
"content": "</s>",
|
| 23 |
-
"lstrip": false,
|
| 24 |
-
"normalized": false,
|
| 25 |
-
"rstrip": false,
|
| 26 |
-
"single_word": false,
|
| 27 |
-
"special": true
|
| 28 |
-
}
|
| 29 |
-
},
|
| 30 |
-
"additional_special_tokens": [],
|
| 31 |
-
"bos_token": "<s>",
|
| 32 |
-
"chat_template": "{{ (messages|selectattr('role', 'equalto', 'system')|list|last).content|trim if (messages|selectattr('role', 'equalto', 'system')|list) else '' }}{% for message in messages %}{% if message['role'] == 'system' %}{{ message['content']|trim }}{% elif message['role'] == 'user' %}### Instruction: {{ message['content']|trim }}{% elif message['role'] == 'assistant' %}### Response: {{ message['content']|trim }}{% elif message['role'] == 'user_context' %}### Input: {{ message['content']|trim }}{% endif %}{% if not loop.last %}\n{% endif %}{% endfor %}{% if add_generation_prompt and messages[-1]['role'] != 'assistant' %}### Response:{% endif %}",
|
| 33 |
-
"clean_up_tokenization_spaces": false,
|
| 34 |
-
"eos_token": "</s>",
|
| 35 |
-
"legacy": true,
|
| 36 |
-
"model_max_length": 1000000000000000019884624838656,
|
| 37 |
-
"pad_token": "<s>",
|
| 38 |
-
"sp_model_kwargs": {},
|
| 39 |
-
"spaces_between_special_tokens": false,
|
| 40 |
-
"tokenizer_class": "LlamaTokenizer",
|
| 41 |
-
"unk_token": "<unk>",
|
| 42 |
-
"use_default_system_prompt": false
|
| 43 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|