QagentS commited on
Commit
f0b9ae3
1 Parent(s): 89ce696

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -115,7 +115,7 @@ print(tokenizer.decode(outputs[0], skip_special_tokens=True).split('<sql>')[1].s
115
  ```python
116
  from transformers import TFAutoModelForCausalLM, AutoTokenizer
117
  device = "cuda"
118
- model = TFAutoModelForCausalLM.from_pretrained("PipableAI/pip-sql-1.3b")
119
  tokenizer = AutoTokenizer.from_pretrained("PipableAI/pip-sql-1.3b")
120
 
121
  inputs = tokenizer(text, return_tensors="tf")
 
115
  ```python
116
  from transformers import TFAutoModelForCausalLM, AutoTokenizer
117
  device = "cuda"
118
+ model = TFAutoModelForCausalLM.from_pretrained("PipableAI/pip-sql-1.3b",from_pt=True)
119
  tokenizer = AutoTokenizer.from_pretrained("PipableAI/pip-sql-1.3b")
120
 
121
  inputs = tokenizer(text, return_tensors="tf")