Update README.md
Browse files
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")
|