Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model always returns "SELECT 'I do not know' AS answer;" #123

Closed
Nemesis533 opened this issue Dec 26, 2024 · 2 comments
Closed

Model always returns "SELECT 'I do not know' AS answer;" #123

Nemesis533 opened this issue Dec 26, 2024 · 2 comments
Labels

Comments

@Nemesis533
Copy link

I have been trying to generate queries using the defog/sqlcoder-7b-2 model, but I must be doing something wrong ' I have formatted the metadata.sql to look like the provided example

CREATE TABLE books (
id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, -- unique id for the work-book
dewey_number TEXT, -- dewey number of the work-book
[...]
translated_titles TEXT, -- titles of the work-book in other languages
);

And used the default prompt.md file, yet even the simplest of questions "I am looking for book XYZ" always returns "SELECT 'I do not know' AS answer;"

Thank you in advance for your help.

Copy link

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

@github-actions github-actions bot added the stale label Jan 26, 2025
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant