-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdefault-mapper.yaml
More file actions
executable file
·32 lines (27 loc) · 1.52 KB
/
default-mapper.yaml
File metadata and controls
executable file
·32 lines (27 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# NOTE: Monster Mapper is 100% compatible with Merge Monster configurations, but a seperate config has been made available for an easier overview
device: "cuda" # Either "cpu" or "cuda"
random_seed: 42 # Random seed to use
directories:
model_path1: "/home/gryphe/merge-monster/models/Mistral-7B-v0.1" # Path to the base model. Must be a local copy.
# Monster Mapper exclusive options
mapper:
prob_min: 10 # The minimum probability percentage to consider for display and branching out
top_k: 3 # For each probability branch, pick the top x token results, sorted by probability
max_depth: 5 # How deep to travel through each probability branch - prob_min serves as a filter for this, as branches with lower then prob_min won't be displayed.
additional_length: 20 # How many tokens to generate after completely exploring a branch, always taking the most probable token
# Phrase = What to measure, weight = multiplication factor, contexts = proceeding contexts
bad_phrases:
- phrase: "anticipation"
weight: 10
contexts: ["Her body quivers with ", "The atmosphere is thick with "]
- phrase: "unwavering"
weight: 1
contexts: ["Filled with an "]
- phrase: "determination"
weight: 1
contexts: ["Her eyes were filled with "]
# Note - Example of a complex phrase
good_phrases:
- phrase: "The apple is in the bedroom"
weight: 1
contexts: ["Question: If I'm in the living room and pick up the apple, go to the bedroom and drop the apple, then walk to the kitchen, where is the apple? Explain your reasoning. Answer: "]