gabrielpondc commited on
Commit
1e3849a
1 Parent(s): 1991883

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -47,8 +47,8 @@ CREATE TABLE "table_name" (
47
 
48
  ```python
49
  import torch
50
- from modelscope import snapshot_download, AutoModelForCausalLM, AutoTokenizer,GenerationConfig
51
- model_dir = snapshot_download("iic/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"
 
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"