Update README.md
Browse files
README.md
CHANGED
@@ -18,11 +18,8 @@ Our Model is fine tuned on Llama-2 7B model on text-2-sql Dataset on alpaca form
|
|
18 |
|
19 |
!pip install transformers accelerate
|
20 |
|
21 |
-
from transformers import pipeline
|
22 |
-
pipe = pipeline("text-generation", model="ekshat/Llama-2-7b-chat-finetune-for-text2sql")
|
23 |
-
|
24 |
# Load model directly
|
25 |
-
from transformers import AutoTokenizer, AutoModelForCausalLM
|
26 |
|
27 |
tokenizer = AutoTokenizer.from_pretrained("ekshat/Llama-2-7b-chat-finetune-for-text2sql")
|
28 |
model = AutoModelForCausalLM.from_pretrained("ekshat/Llama-2-7b-chat-finetune-for-text2sql")
|
|
|
18 |
|
19 |
!pip install transformers accelerate
|
20 |
|
|
|
|
|
|
|
21 |
# Load model directly
|
22 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
|
23 |
|
24 |
tokenizer = AutoTokenizer.from_pretrained("ekshat/Llama-2-7b-chat-finetune-for-text2sql")
|
25 |
model = AutoModelForCausalLM.from_pretrained("ekshat/Llama-2-7b-chat-finetune-for-text2sql")
|