defog-ai / sqlcoder

SoTA LLM for converting natural language questions to SQL queries
Apache License 2.0
3.41k stars 218 forks source link

qlcoder2-7b最大接受的上下文长度问题 #92

Closed wuyabing closed 6 months ago

wuyabing commented 8 months ago

1、当使用的表的字段比较多,有200个,会出现超出模型最大上下文长度会出现生成不了sql语句的问题,所以请问咱们qlcoder2-7b支持的最大tokens是多少? 2、对于表字段特别多的场景,咱们模型有没有好的解决方案,我们会遇到表字段非常多的情况,导致给模型的提示词会比较长,一直没有找到好的方法,非常感谢可以给出建议。

github-actions[bot] commented 7 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 6 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.