gabrielpondc
commited on
Commit
•
1e3849a
1
Parent(s):
1991883
Update README.md
Browse files
README.md
CHANGED
@@ -47,8 +47,8 @@ CREATE TABLE "table_name" (
|
|
47 |
|
48 |
```python
|
49 |
import torch
|
50 |
-
from
|
51 |
-
model_dir =
|
52 |
tokenizer = AutoTokenizer.from_pretrained(model_dir, device_map="auto",
|
53 |
trust_remote_code=True, torch_dtype=torch.float16)
|
54 |
tokenizer.padding_side = "left"
|
|
|
47 |
|
48 |
```python
|
49 |
import torch
|
50 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
51 |
+
model_dir = "gabrielpondc/NL2SQL-StarCoder-15B"
|
52 |
tokenizer = AutoTokenizer.from_pretrained(model_dir, device_map="auto",
|
53 |
trust_remote_code=True, torch_dtype=torch.float16)
|
54 |
tokenizer.padding_side = "left"
|