starcoder
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ device = "cpu"
|
|
7 |
|
8 |
|
9 |
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
|
10 |
-
model = AutoModelForCausalLM.from_pretrained(checkpoint).to(device)
|
11 |
|
12 |
|
13 |
set_seed(42)
|
|
|
7 |
|
8 |
|
9 |
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
|
10 |
+
model = AutoModelForCausalLM.from_pretrained(checkpoint, token=os.environ['ACCESS_TOKEN']).to(device)
|
11 |
|
12 |
|
13 |
set_seed(42)
|