lollms/configs/config.yaml

117 lines
3.1 KiB
YAML
Raw Normal View History

2023-10-15 00:27:30 +00:00
# =================== Lord Of Large Language Models Configuration file ===========================
2024-01-15 00:10:29 +00:00
version: 46
2023-10-15 00:27:30 +00:00
binding_name: null
model_name: null
2023-12-04 00:39:00 +00:00
2023-10-15 00:27:30 +00:00
# Host information
host: localhost
2023-12-04 00:39:00 +00:00
port: 9600
2023-10-15 00:27:30 +00:00
# Genreration parameters
discussion_prompt_separator: "!@>"
seed: -1
n_predict: 1024
2023-12-04 00:39:00 +00:00
ctx_size: 4084
2023-12-26 01:45:49 +00:00
min_n_predict: 512
2023-10-15 00:27:30 +00:00
temperature: 0.9
top_k: 50
top_p: 0.95
repeat_last_n: 40
repeat_penalty: 1.2
n_threads: 8
#Personality parameters
personalities: ["generic/lollms"]
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)
extensions: []
user_name: user
user_description: ""
use_user_name_in_discussions: false
2023-12-04 00:39:00 +00:00
user_avatar: default_user.svg
use_user_informations_in_discussion: false
# UI parameters
db_path: database.db
2023-10-15 00:27:30 +00:00
2023-12-04 00:39:00 +00:00
# Automatic updates
debug: False
auto_update: true
2024-01-15 00:10:29 +00:00
auto_sync_personalities: true
auto_sync_extensions: true
auto_sync_bindings: true
auto_sync_models: true
2023-10-15 00:27:30 +00:00
auto_save: true
2023-12-04 00:39:00 +00:00
auto_title: false
2024-01-04 02:56:42 +00:00
# Install mode (cpu, cpu-noavx, nvidia-tensorcores, nvidia, amd-noavx, amd, apple-intel, apple-silicon)
hardware_mode: nvidia-tensorcores
2023-12-04 00:39:00 +00:00
# Automatically open the browser
auto_show_browser: true
2023-12-29 22:38:06 +00:00
# Voice service
enable_voice_service: false
xtts_base_url: http://127.0.0.1:8020
auto_read: false
current_voice: null
current_language: en
2024-01-03 00:40:30 +00:00
# Image generation service
enable_sd_service: false
sd_base_url: http://127.0.0.1:7860
2024-01-11 22:45:07 +00:00
# ollama service
enable_ollama_service: false
ollama_base_url: http://0.0.0.0:11434
2024-01-13 11:16:46 +00:00
# petals service
enable_petals_service: false
petals_base_url: http://0.0.0.0:8010
2024-01-13 23:37:36 +00:00
# lollms service
enable_lollms_service: false
lollms_base_url: http://0.0.0.0:1234
2023-12-04 00:39:00 +00:00
# Audio
2023-12-26 01:45:49 +00:00
media_on: false
2023-12-04 00:39:00 +00:00
audio_in_language: 'en-US'
auto_speak: false
2023-12-28 15:57:37 +00:00
audio_out_voice: null
2023-12-04 00:39:00 +00:00
audio_pitch: 1
audio_auto_send_input: true
audio_silenceTimer: 5000
2023-10-15 00:27:30 +00:00
# Data vectorization
2023-12-04 00:39:00 +00:00
use_discussions_history: false # Activate vectorizing previous conversations
summerize_discussion: false # activate discussion summary (better but adds computation time)
max_summary_size: 512 # in tokens
data_vectorization_visualize_on_vectorization: false
2023-10-15 00:27:30 +00:00
use_files: true # Activate using files
data_vectorization_activate: true # To activate/deactivate data vectorization
2023-12-04 00:39:00 +00:00
data_vectorization_method: "tfidf_vectorizer" #"model_embedding" or "tfidf_vectorizer"
2023-10-15 00:27:30 +00: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
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.
2023-12-26 01:45:49 +00:00
data_vectorization_force_first_chunk: false # If true, the first chunk of the document will systematically be used
data_vectorization_make_persistance: false # If true, the data will be persistant webween runs
2023-12-30 16:09:10 +00:00
# Helpers
2024-01-03 00:40:30 +00:00
pdf_latex_path: null
# boosting information
positive_boost: null
negative_boost: null
force_output_language_to_be: null
2024-01-11 22:45:07 +00:00
fun_mode: False