Priyanshu05 commited on
Commit
0c2a721
Β·
verified Β·
1 Parent(s): 998fbef

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +36 -0
README.md CHANGED
@@ -34,3 +34,39 @@ question = "translate natural language to SQL: show all customers"
34
  inputs = tokenizer(question, return_tensors="pt")
35
  output = model.generate(**inputs)
36
  print(tokenizer.decode(output[0], skip_special_tokens=True))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  inputs = tokenizer(question, return_tensors="pt")
35
  output = model.generate(**inputs)
36
  print(tokenizer.decode(output[0], skip_special_tokens=True))
37
+
38
+
39
+ πŸ“Š Training Details
40
+ Epochs: 3
41
+
42
+ Batch Size: 8
43
+
44
+ Learning Rate: 5e-5
45
+
46
+ Optimizer: AdamW
47
+
48
+ Loss Function: Cross Entropy
49
+
50
+ Logged with: Weights & Biases
51
+
52
+ πŸ“ Files
53
+ pytorch_model.bin or model.safetensors: The fine-tuned model
54
+
55
+ tokenizer_config.json, spiece.model: Tokenizer files
56
+
57
+ config.json: Model architecture
58
+
59
+ πŸš€ Intended Use
60
+ Educational and experimental use
61
+
62
+ Translate natural language questions into basic SQL queries
63
+
64
+ πŸ“Œ Limitations
65
+ Trained on a very small custom dataset; not production ready
66
+
67
+ Limited SQL syntax understanding
68
+
69
+ May not generalize to unseen database schemas or complex queries
70
+
71
+ πŸ“œ License
72
+ Apache 2.0