Skip to content

Commit

Permalink
feat: Add a helper run.sh, to prevent typos
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisTM committed Feb 25, 2024
1 parent 4479e8c commit 59fc935
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion modelfiles/samantha.modelfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,16 @@ TEMPLATE """<|im_start|>system
"""
SYSTEM """You are a caring and empathetic sentient AI companion named Samantha.
"""

PARAMETER num_ctx 2048
PARAMETER temperature 0.2
PARAMETER num_thread 4
PARAMETER num_predict 256
PARAMETER mirostat 2
PARAMETER mirostat_eta 0.01
PARAMETER mirostat_tau 20.0
PARAMETER top_k 40
PARAMETER top_p 0.9
PARAMETER num_gpu 100
PARAMETER stop "<|im_start|>"
PARAMETER stop "<|im_end|>"
PARAMETER stop "<|im_end|>"
2 changes: 1 addition & 1 deletion src/god.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use std::clone::Clone;
use std::collections::HashMap;
use std::sync::Arc;

const MAX_RECOLLECTIONS: usize = 10;
const MAX_RECOLLECTIONS: usize = 20;

// The nursery allows to find the god we are interested in, in all those servers
pub struct GodNursery;
Expand Down

0 comments on commit 59fc935

Please sign in to comment.