lollms-webui/configs/config.yaml

71 lines
1.9 KiB
YAML
Raw Normal View History

2023-06-05 01:21:12 +02:00
# =================== Lord Of Large Language Models Configuration file ===========================
2023-10-20 23:42:08 +02:00
version: 27
2023-06-25 21:06:47 +02:00
binding_name: null
2023-06-15 21:19:19 +02:00
model_name: null
2023-06-05 01:21:12 +02:00
2023-08-27 01:16:46 +02:00
2023-07-19 17:41:23 +02:00
2023-06-05 01:21:12 +02:00
# Host information
2023-04-14 11:58:07 +02:00
host: localhost
port: 9600
2023-06-05 01:21:12 +02:00
# Genreration parameters
2023-07-19 17:41:23 +02:00
discussion_prompt_separator: "!@>"
2023-05-07 03:44:42 +02:00
seed: -1
2023-06-05 01:21:12 +02:00
n_predict: 1024
2023-10-20 23:42:08 +02:00
ctx_size: 4084
2023-10-15 03:12:36 +02:00
min_n_predict: 256
temperature: 0.9
top_k: 50
2023-04-12 22:36:03 +02:00
top_p: 0.95
2023-06-05 01:21:12 +02:00
repeat_last_n: 40
repeat_penalty: 1.2
n_threads: 8
#Personality parameters
2023-08-18 01:29:53 +02:00
personalities: ["generic/lollms"]
2023-06-08 08:58:02 +02:00
active_personality_id: 0
override_personality_model_parameters: false #if true the personality parameters are overriden by those of the configuration (may affect personality behaviour)
2023-06-05 01:21:12 +02:00
2023-10-03 01:13:02 +02:00
extensions: []
2023-06-05 01:21:12 +02:00
user_name: user
2023-07-16 18:57:30 +02:00
user_description: ""
use_user_name_in_discussions: false
user_avatar: default_user.svg
2023-09-13 01:43:23 +02:00
use_user_informations_in_discussion: false
2023-06-05 01:21:12 +02:00
# UI parameters
2023-07-16 18:57:30 +02:00
db_path: database.db
2023-08-27 01:16:46 +02:00
# Automatic updates
debug: False
2023-08-18 01:29:53 +02:00
auto_update: true
2023-08-27 01:16:46 +02:00
auto_save: true
# Enables gpu usage
enable_gpu: true
2023-08-31 23:05:16 +02:00
# Automatically open the browser
auto_show_browser: true
2023-07-21 23:59:24 +02:00
# Audio
audio_in_language: 'en-US'
audio_out_voice: null
2023-07-22 03:17:30 +02:00
auto_speak: false
2023-07-28 01:16:26 +02:00
audio_pitch: 1
2023-08-27 01:16:46 +02:00
audio_auto_send_input: true
audio_silenceTimer: 5000
2023-08-23 04:21:58 +02:00
# Data vectorization
2023-10-07 23:16:27 +02:00
use_discussions_history: false # Activate vectorizing previous conversations
2023-10-20 23:42:08 +02:00
data_vectorization_visualize_on_vectorization: false
2023-08-27 02:31:22 +02:00
use_files: true # Activate using files
data_vectorization_activate: true # To activate/deactivate data vectorization
2023-10-09 01:18:21 +02:00
data_vectorization_method: "tfidf_vectorizer" #"model_embedding" or "tfidf_vectorizer"
2023-08-23 04:21:58 +02:00
data_visualization_method: "PCA" #"PCA" or "TSNE"
data_vectorization_save_db: False # For each new session, new files
data_vectorization_chunk_size: 512 # chunk size
data_vectorization_overlap_size: 128 # overlap between chunks size
data_vectorization_nb_chunks: 2 # number of chunks to use
2023-08-27 02:31:22 +02:00
data_vectorization_build_keys_words: false # If true, when querrying the database, we use keywords generated from the user prompt instead of the prompt itself.