Nodes/ComfyUI Griptape Nodes/Griptape Agent Config: HuggingFace Drivers
ComfyUI Node

Griptape Agent Config: HuggingFace Drivers

HuggingFace Structure Config.

By griptape-ai·Created 2 years ago·Updated about a year ago· 238
Griptape Agent Config: HuggingFace Drivers
    • CONFIG
    prompt_model_commentPrompt Driver
    modelHuggingFaceH4/zephyr-7b-beta
    max_attempts_on_fail2
    temperature0.10
    seed10342349342
    use_native_toolstrue
    max_tokens-1
    api_token_env_varHUGGINGFACE_HUB_ACCESS_TOKEN
    embedding_model_commentEmbedding Driver
    embedding_modelsentence-transformers/all-MiniLM-L6-v2
    tokenizersentence-transformers/all-MiniLM-L6-v2
    max_output_tokens512
    CategoryGriptape/Agent Configs

    Inputs (12)

    NameTypeDefaultDescription
    prompt_model_commentoptSTRINGPrompt Driver
    modeloptSTRINGHuggingFaceH4/zephyr-7b-betaThe model to use from Hugging Face Hub.
    max_attempts_on_failoptINT21–100Maximum attempts on failure
    temperatureoptFLOAT0.100–1Temperature for sampling
    seedoptINT10342349342Seed for random number generation
    use_native_toolsoptBOOLEANtrueUse native tools for the LLM.
    max_tokensoptINT-1Maximum tokens to generate. If <=0, it will use the default based on the tokenizer.
    api_token_env_varoptSTRINGHUGGINGFACE_HUB_ACCESS_TOKENEnvironment variable for the API token. Do not use your actual API key here.
    embedding_model_commentoptSTRINGEmbedding Driver
    embedding_modeloptSTRINGsentence-transformers/all-MiniLM-L6-v2The model to use for embeddings.
    tokenizeroptSTRINGsentence-transformers/all-MiniLM-L6-v2The tokenizer to use with the model.
    max_output_tokensoptINT512The maximum number of tokens for the output.

    Outputs (1)

    NameTypeDescription
    CONFIGCONFIG