mailcow/data/conf/rspamd/local.d/neural.conf

15 lines
579 B
Plaintext
Raw Normal View History

servers = "31.47.234.2:6379";
train {
max_train = 1k; # Number of trains per epoch
max_usages = 50; # Number of learn iterations while ANN data is valid
spam_score = 12; # Score to learn spam
ham_score = -7; # Score to learn ham
learning_rate = 0.01; # Rate of learning (Torch only)
max_iterations = 25; # Maximum iterations of learning (Torch only)
}
ann_expire = 80d;
timeout = 20; # Increase redis timeout
enabled = ${HAS_TORCH}; # Explicitly disable module when torch is disabled
use_settings = false; # If enabled, then settings-id is used to dispatch networks