InternLM / InternLM/lmdeploy

GenerationConfig 类中的参数n没有发挥作用

Open
#1,893 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
8.1k
Forks
748
Avg merge
6d 2h
Merged PRs (30d)
54

Description

### Motivation

GenerationConfig 类中的参数n没有发挥作用,设置了n=5,top_p=0.8,top_k=5,通过pipeline推理还是只生成一个回复

### Related resources

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.