skshmjn commited on
Commit
1768094
·
verified ·
1 Parent(s): 22c1486

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -45,7 +45,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
45
  model_name = "skshmjn/Llama-3.2-3B-Mongo-Instruct"
46
  tokenizer = AutoTokenizer.from_pretrained(model_name)
47
  model = AutoModelForCausalLM.from_pretrained(model_name)
48
- schema = {} // Pass your mongodb schema here, leave empty for generic queries. Sample available in hugging face's repository
49
 
50
  prompt = "Here is mongodb schema {schema} and Find all employees older than 30 in the 'employees' collection."
51
  inputs = tokenizer(prompt, return_tensors="pt")
 
45
  model_name = "skshmjn/Llama-3.2-3B-Mongo-Instruct"
46
  tokenizer = AutoTokenizer.from_pretrained(model_name)
47
  model = AutoModelForCausalLM.from_pretrained(model_name)
48
+ schema = {} # Pass your mongodb schema here, leave empty for generic queries. Sample available in hugging face's repository
49
 
50
  prompt = "Here is mongodb schema {schema} and Find all employees older than 30 in the 'employees' collection."
51
  inputs = tokenizer(prompt, return_tensors="pt")