Replies: 8 comments 2 replies
-
@njalan could you provide some additional context here on the setup (LLM, training data, etc) |
Beta Was this translation helpful? Give feedback.
-
@zainhoda I am using Baichuan-7B as LLM and training consists of querion-sql pairs and documentation for business knowledge(it is mixed with Chinese and englist.) All the question are asked by Chinese |
Beta Was this translation helpful? Give feedback.
-
Sometimes it provided me the same two query splitted by -- 或者(it means OR in Englist) So is any any prompt to avoid it? |
Beta Was this translation helpful? Give feedback.
-
I think the easiest path might be to override the https://github.com/vanna-ai/vanna/blob/main/src/vanna/base/base.py#L126-L150 You can provide your own |
Beta Was this translation helpful? Give feedback.
-
@zainhoda Can you please help to fix it? I am not familiar with Python/ |
Beta Was this translation helpful? Give feedback.
-
@zainhoda Can you support this feature? Looking forward to releasing it |
Beta Was this translation helpful? Give feedback.
-
@zyclove Replace LLM and use qwen:32b or llama3:70b |
Beta Was this translation helpful? Give feedback.
-
When I use codeQwen1.5 and then didn't face this issue any more by now |
Beta Was this translation helpful? Give feedback.
-
Sometime there are Chinese at the end of Sql :
![image](https://private-user-images.githubusercontent.com/8622340/321513053-f880c571-b80e-4c2d-9640-e118260d85fb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NTcyMDksIm5iZiI6MTczODk1NjkwOSwicGF0aCI6Ii84NjIyMzQwLzMyMTUxMzA1My1mODgwYzU3MS1iODBlLTRjMmQtOTY0MC1lMTE4MjYwZDg1ZmIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMTkzNTA5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmM3YzRhY2I5YWY0NzI0OTAwNjQxNWM2ZjNlZTRjNjA0Y2JiZjI4YzNlOGRkZWUyYWY5ODA1NGFjMjExN2YxYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.NN3UHTL-TVnG91l58DlOVGZVWvnn30I9eZ09CkhM07I)
Beta Was this translation helpful? Give feedback.
All reactions