Delete .ipynb_checkpoints
Browse files
.ipynb_checkpoints/config-checkpoint.json
DELETED
@@ -1,34 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"_name_or_path": "patched-codes/patched-coder-7b-8k-context",
|
3 |
-
"architectures": [
|
4 |
-
"MixtralForCausalLM"
|
5 |
-
],
|
6 |
-
"attention_bias": false,
|
7 |
-
"attention_dropout": 0.0,
|
8 |
-
"bos_token_id": 100000,
|
9 |
-
"eos_token_id": 100015,
|
10 |
-
"hidden_act": "silu",
|
11 |
-
"hidden_size": 4096,
|
12 |
-
"initializer_range": 0.02,
|
13 |
-
"intermediate_size": 11008,
|
14 |
-
"max_position_embeddings": 4096,
|
15 |
-
"model_type": "mixtral",
|
16 |
-
"num_attention_heads": 32,
|
17 |
-
"num_experts_per_tok": 1,
|
18 |
-
"num_hidden_layers": 30,
|
19 |
-
"num_key_value_heads": 32,
|
20 |
-
"num_local_experts": 4,
|
21 |
-
"output_router_logits": false,
|
22 |
-
"pretraining_tp": 1,
|
23 |
-
"rms_norm_eps": 1e-06,
|
24 |
-
"rope_scaling": null,
|
25 |
-
"rope_theta": 10000.0,
|
26 |
-
"router_aux_loss_coef": 0.001,
|
27 |
-
"router_jitter_noise": 0.0,
|
28 |
-
"sliding_window": null,
|
29 |
-
"tie_word_embeddings": false,
|
30 |
-
"torch_dtype": "bfloat16",
|
31 |
-
"transformers_version": "4.40.0.dev0",
|
32 |
-
"use_cache": true,
|
33 |
-
"vocab_size": 100018
|
34 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.ipynb_checkpoints/mergekit_moe_config-checkpoint.yml
DELETED
@@ -1,22 +0,0 @@
|
|
1 |
-
base_model: patched-codes/patched-coder-7b-8k-context
|
2 |
-
gate_mode: hidden # one of "hidden", "cheap_embed", or "random"
|
3 |
-
dtype: bfloat16 # output dtype (float32, float16, or bfloat16)
|
4 |
-
## (optional)
|
5 |
-
experts_per_token: 1
|
6 |
-
experts:
|
7 |
-
- source_model: patched-codes/patched-fixer-7b-8k-context
|
8 |
-
positive_prompts:
|
9 |
-
- 'You are a senior software engineer who is best in the world at fixing vulnerabilities.\nUsers will give you vulnerable code and you will generate a fix based on the provided INSTRUCTION.\nINSTRUCTION:'
|
10 |
-
## (optional)
|
11 |
-
# negative_prompts:
|
12 |
-
# - "This is a prompt expert_model_1 should not be used for"
|
13 |
-
- source_model: patched-codes/patched-analyzer-7b-8k-context
|
14 |
-
positive_prompts:
|
15 |
-
- 'You are a senior security researcher who is best in the world at detecting vulnerabilities.\nCarefully analyze the given code snippet and track the data flows from various sources to sinks.\nAssume that any call to an unknown external API is not sanitized.\nRespond only with either "YES" or "NO".'
|
16 |
-
# ... and so on
|
17 |
-
- source_model: patched-codes/patched-committer-7b-8k-context
|
18 |
-
positive_prompts:
|
19 |
-
- 'You are a software engineer who is best in the world at summarizing code changes.\nCarefullly analyze the given old code and new code and generate a summary of the changes.'
|
20 |
-
- source_model: patched-codes/patched-coder-7b-8k-context
|
21 |
-
positive_prompts:
|
22 |
-
- 'You are a coding assitant, who is best in the world at debugging.'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|