-
-
Notifications
You must be signed in to change notification settings - Fork 3
configuration.md
1amkaiz3n edited this page Sep 22, 2023
·
1 revision
telegoGPT can be customized and configured to suit your preferences using the config.yaml file.
- Description: Telegram Bot Token obtained from BotFather.
-
Example:
token: YOUR_TELEGRAM_BOT_TOKEN
- Description: Maximum length (in characters) of the generated response.
-
Example:
max_response_length: 500
- Description: Controls the randomness of the response. Lower values make the responses more focused and deterministic, while higher values make them more random.
-
Example:
temperature: 0.7
- Description: Controls the nucleus sampling. A higher value will limit the response to the most likely tokens based on a cumulative probability.
-
Example:
top_p: 0.85
- Description: Controls the penalty for using frequent tokens. A higher value will make the responses more focused.
-
Example:
frequency_penalty: 0.2
- Description: Controls the penalty for using new tokens. A higher value will encourage the model to use a broader vocabulary.
-
Example:
presence_penalty: 0.0
- Description: Sequence of characters that, if encountered, will signal the end of the response.
-
Example:
stop_sequence: "###"
-
Open the
config.yamlfile in the project root using a text editor. -
Adjust the configuration options as per your preferences.
-
Save the file after making the necessary changes.
Restart the telegoGPT bot after modifying the configuration for the changes to take effect.
For more information, visit the telegoGPT GitHub repository.
