ataberkd commited on
Commit
6cc6258
1 Parent(s): 7640939

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -23,7 +23,7 @@ model = "ataberkd/llama-2-7b-SQL_FINETUNED_1K"
23
  prompt = 'You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question and give the explanation of result your giving. CREATE TABLE statement: CREATE TABLE "user" ( "name" text, "surname" text, "tel" text, "address" text, "performanceScore" text,"Age" text, "Language" text );. Question: "Can you bring users who speak French and are greater than 20 years old?"'
24
 
25
  tokenizer = AutoTokenizer.from_pretrained(model)
26
- pipeline = transformers.pipeline(
27
  "text-generation",
28
  model=model,
29
  torch_dtype=torch.float16,
 
23
  prompt = 'You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question and give the explanation of result your giving. CREATE TABLE statement: CREATE TABLE "user" ( "name" text, "surname" text, "tel" text, "address" text, "performanceScore" text,"Age" text, "Language" text );. Question: "Can you bring users who speak French and are greater than 20 years old?"'
24
 
25
  tokenizer = AutoTokenizer.from_pretrained(model)
26
+ pipeline = pipeline(
27
  "text-generation",
28
  model=model,
29
  torch_dtype=torch.float16,