Skip to content

Feature request: add max_len=8192 parameter support 功能请求:增加对max_len=8192的支持 #62

Description

@programus

Current API don't support max_len=8192 parameter, which can increase the max token limit for laya-multilingual.

For some long context case, the quality of result is quite low. It would be much more helpful if you can add the support of this.

I suppose just add a property in InferenceRequest and add the support here

现在的API不支持 max_len=8192 这个可以让 laya-multilingual 的输入上限增加到8192个token。

现在过长的上下文的结果,质量很低。如果能支持这个参数,估计会有很大改善。

我觉得,只要在 InferenceRequest 里面加一个对此支持的属性,然后再在这个函数调用里加上参数就好了。

非常感谢你做了这个可以直接在Docker里用的image,直接部署非常方便!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions