Create config.yaml
Browse files- config.yaml +50 -0
config.yaml
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Configuraci贸n del Sistema de IA Multimodal
|
| 2 |
+
|
| 3 |
+
# Configuraci贸n de modelos
|
| 4 |
+
models:
|
| 5 |
+
text_embedder: "sentence-transformers/all-MiniLM-L6-v2"
|
| 6 |
+
sentiment_analyzer: "cardiffnlp/twitter-roberta-base-sentiment-latest"
|
| 7 |
+
image_captioner: "Salesforce/blip-image-captioning-base"
|
| 8 |
+
image_classifier: "google/vit-base-patch16-224"
|
| 9 |
+
|
| 10 |
+
# Configuraci贸n de procesamiento
|
| 11 |
+
processing:
|
| 12 |
+
max_text_length: 512
|
| 13 |
+
image_size: [224, 224]
|
| 14 |
+
audio_sample_rate: 16000
|
| 15 |
+
batch_size: 8
|
| 16 |
+
max_concurrent_requests: 10
|
| 17 |
+
|
| 18 |
+
# Configuraci贸n de reducci贸n dimensional
|
| 19 |
+
dimensionality_reduction:
|
| 20 |
+
umap:
|
| 21 |
+
n_components: 2
|
| 22 |
+
n_neighbors: 15
|
| 23 |
+
min_dist: 0.1
|
| 24 |
+
random_state: 42
|
| 25 |
+
tsne:
|
| 26 |
+
n_components: 2
|
| 27 |
+
perplexity: 30
|
| 28 |
+
random_state: 42
|
| 29 |
+
dbscan:
|
| 30 |
+
eps: 0.5
|
| 31 |
+
min_samples: 5
|
| 32 |
+
|
| 33 |
+
# Configuraci贸n de la interfaz
|
| 34 |
+
interface:
|
| 35 |
+
title: "Sistema de IA Multimodal Avanzado"
|
| 36 |
+
theme: "soft"
|
| 37 |
+
max_file_size: "10MB"
|
| 38 |
+
allowed_extensions: [".jpg", ".png", ".wav", ".mp3", ".txt"]
|
| 39 |
+
|
| 40 |
+
# Configuraci贸n de logging
|
| 41 |
+
logging:
|
| 42 |
+
level: "INFO"
|
| 43 |
+
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
|
| 44 |
+
file: "multimodal_system.log"
|
| 45 |
+
|
| 46 |
+
# Configuraci贸n de recursos
|
| 47 |
+
resources:
|
| 48 |
+
gpu_memory_fraction: 0.8
|
| 49 |
+
cpu_threads: 4
|
| 50 |
+
cache_size: "1GB"
|