Skip to content

temperature、top_k、max_codes ​​Parameterization and Configurability​ #11

@go-restream

Description

@go-restream
  • temperature
  • top_k
  • max_codes
   .generate_with_instruct(
                    &params.input,
                    &speaker_name,
                    &params.language,
                    instruct,
                   0.9,   // temperature
                   50,    // top_k
                  2048,  // max_codes
                )

     ....
    .generate_with_xvector(
                        &params.input,
                        &speaker_embedding,
                        &params.language,
                        0.9,
                        50,
                        2048,
                    )
       ....
    .generate_with_icl(
                        &params.input,
                        params.audio_sample_text.as_deref().unwrap(),
                        &ref_codes,
                        &speaker_embedding,
                        &params.language,
                        0.9,
                        50,
                        2048,
                    )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions