lollms/elf_test_cfg/personal/configs/lollms_elf_config.yaml

181 lines
5.2 KiB
YAML
Raw Normal View History

2024-02-26 21:58:56 +00:00
# =================== Lord Of Large Language Multimodal Systems Configuration file ===========================
2024-04-16 22:57:30 +00:00
version: 81
2023-10-15 00:27:30 +00:00
binding_name: null
model_name: null
2024-02-26 21:58:56 +00:00
model_variant: null
model_type: null
2023-10-15 00:27:30 +00:00
2024-02-26 21:58:56 +00:00
show_news_panel: True
2024-01-04 02:56:42 +00:00
2024-02-26 21:58:56 +00:00
# Security measures
2024-04-14 21:33:19 +00:00
turn_on_setting_update_validation: True
2024-02-26 21:58:56 +00:00
turn_on_code_execution: True
turn_on_code_validation: True
2024-04-14 21:33:19 +00:00
turn_on_open_file_validation: False
2024-02-26 21:58:56 +00:00
turn_on_send_file_validation: False
force_accept_remote_access: false
# Server information
headless_server_mode: False
allowed_origins: []
2024-01-04 02:56:42 +00:00
# Host information
2023-10-15 00:27:30 +00:00
host: localhost
port: 9600
2024-01-04 02:56:42 +00:00
# Genreration parameters
discussion_prompt_separator: "!@>"
2023-10-15 00:27:30 +00:00
seed: -1
2024-01-04 02:56:42 +00:00
ctx_size: 4084
2024-04-14 21:33:19 +00:00
max_n_predict: 4096
2024-01-04 02:56:42 +00:00
min_n_predict: 512
temperature: 0.9
2023-10-15 00:27:30 +00:00
top_k: 50
top_p: 0.95
2024-01-04 02:56:42 +00:00
repeat_last_n: 40
repeat_penalty: 1.2
2024-04-14 21:33:19 +00:00
num_experts_per_token: 2
2024-01-04 02:56:42 +00:00
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
2024-04-14 21:33:19 +00:00
use_model_name_in_discussions: false
2024-01-04 02:56:42 +00:00
user_avatar: default_user.svg
2023-10-15 00:27:30 +00:00
use_user_informations_in_discussion: false
2024-01-04 02:56:42 +00:00
# UI parameters
2024-02-26 21:58:56 +00:00
discussion_db_name: default
2024-01-04 02:56:42 +00:00
# Automatic updates
debug: False
2024-02-26 21:58:56 +00:00
debug_log_file_path: ""
2024-01-04 02:56:42 +00:00
auto_update: true
2024-02-26 21:58:56 +00:00
auto_sync_personalities: true
auto_sync_extensions: true
auto_sync_bindings: true
auto_sync_models: true
2024-01-04 02:56:42 +00:00
auto_save: true
auto_title: false
# Install mode (cpu, cpu-noavx, nvidia-tensorcores, nvidia, amd-noavx, amd, apple-intel, apple-silicon)
hardware_mode: nvidia-tensorcores
# Automatically open the browser
auto_show_browser: true
2024-02-26 21:58:56 +00:00
# copy to clipboard
copy_to_clipboard_add_all_details: false
2024-01-04 02:56:42 +00:00
# Voice service
enable_voice_service: false
2024-02-26 21:58:56 +00:00
xtts_base_url: http://localhost:8020
2024-01-04 02:56:42 +00:00
auto_read: false
current_voice: null
current_language: en
# Image generation service
enable_sd_service: false
2024-02-26 21:58:56 +00:00
sd_base_url: http://localhost:7860
2024-04-14 21:33:19 +00:00
# Image generation service comfyui
enable_comfyui_service: false
comfyui_base_url: http://127.0.0.1:8188/
# Motion control service
enable_motion_ctrl_service: false
motion_ctrl_base_url: http://localhost:7861
2024-02-26 21:58:56 +00:00
# ollama service
enable_ollama_service: false
ollama_base_url: http://localhost:11434
# petals service
enable_petals_service: false
petals_base_url: http://localhost:8064
petals_model_path: TinyLlama/TinyLlama-1.1B-Chat-v1.0
petals_device: cuda
# lollms service
enable_lollms_service: false
lollms_base_url: http://localhost:1234
# elastic search service
elastic_search_service: false
elastic_search_url: http://localhost:9200
# vll service
enable_vllm_service: false
vllm_url: http://localhost:8000
vllm_model_path: TinyLlama/TinyLlama-1.1B-Chat-v1.0
vllm_gpu_memory_utilization: 0.9
vllm_max_model_len: 4096
vllm_max_num_seqs: 256
2024-01-04 02:56:42 +00:00
# Audio
media_on: false
audio_in_language: 'en-US'
auto_speak: false
audio_out_voice: null
audio_pitch: 1
audio_auto_send_input: true
audio_silenceTimer: 5000
# Data vectorization
2024-02-26 21:58:56 +00:00
activate_skills_lib: false # Activate vectorizing previous conversations
skills_lib_database_name: "default" # Default skills database
2024-01-04 02:56:42 +00:00
summerize_discussion: false # activate discussion summary (better but adds computation time)
2024-02-26 21:58:56 +00:00
2024-01-04 02:56:42 +00:00
max_summary_size: 512 # in tokens
data_vectorization_visualize_on_vectorization: false
use_files: true # Activate using files
data_vectorization_activate: true # To activate/deactivate data vectorization
data_vectorization_method: "tfidf_vectorizer" #"model_embedding" or "tfidf_vectorizer"
data_visualization_method: "PCA" #"PCA" or "TSNE"
2024-04-14 21:33:19 +00:00
data_vectorization_sentense_transformer_model: "all-MiniLM-L6-v2" # you can use another model by setting its name here or its path
2024-05-02 22:58:21 +00:00
data_vectorization_save_db: true # For each new session, new files
2024-01-04 02:56:42 +00:00
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
2024-04-16 22:57:30 +00:00
data_vectorization_put_chunk_informations_into_context: false # if true then each chunk will be preceded by its information which may waste some context space but allow the ai to point where it found th einformation
2024-04-14 21:33:19 +00:00
data_vectorization_build_keys_words: true # If true, when querrying the database, we use keywords generated from the user prompt instead of the prompt itself.
2024-01-04 02:56:42 +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
2024-02-26 21:58:56 +00:00
# Activate internet search
activate_internet_search: false
internet_vectorization_chunk_size: 512 # chunk size
internet_vectorization_overlap_size: 128 # overlap between chunks size
internet_vectorization_nb_chunks: 2 # number of chunks to use
internet_nb_search_pages: 3 # number of pages to select
internet_quick_search: False # If active the search engine will not load and read the webpages
internet_activate_search_decision: False # If active the ai decides by itself if it needs to do search
2024-01-04 02:56:42 +00:00
# Helpers
pdf_latex_path: null
# boosting information
positive_boost: null
negative_boost: null
2024-04-30 23:24:30 +00:00
current_language: null
2024-02-26 21:58:56 +00:00
fun_mode: False
# webui configurations
show_code_of_conduct: true
activate_audio_infos: true
# whisper configuration
whisper_model: base