Nodes/comfyui-deepseek/DeepSeek Chat Pro
ComfyUI Node

DeepSeek Chat Pro

A ComfyUI node in Fair/deepseek with 8 inputs and 1 output.

By yanhuifair·Created 2 years ago·Updated about a year ago· 4
DeepSeek Chat Pro
    • content
    prompt
    frequency_penalty0
    max_tokens4096
    presence_penalty0
    temperature1
    top_p1
    logprobstrue
    top_logprobs0
    CategoryFair/deepseek

    Inputs (8)

    NameTypeDefaultDescription
    promptSTRING
    frequency_penaltyFLOAT0-2–2Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
    max_tokensINT40961–8192Integer between 1 and 8192. The maximum number of tokens that can be generated in the chat completion. The total length of input tokens and generated tokens is limited by the model's context length. If max_tokens is not specified, the default value 4096 is used.
    presence_penaltyFLOAT0-2–2Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
    temperatureFLOAT10–2What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. We generally recommend altering this or top_p but not both.
    top_pFLOAT10–2An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. We generally recommend altering this or temperature but not both.
    logprobsBOOLEANtrueWhether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
    top_logprobsINT00–20An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.

    Outputs (1)

    NameTypeDescription
    contentSTRING