Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ example = [
|
|
| 13 |
|
| 14 |
token = os.environ["HUB_TOKEN"]
|
| 15 |
device="cuda:0"
|
| 16 |
-
revision = "dedup-alt"
|
| 17 |
|
| 18 |
tokenizer = AutoTokenizer.from_pretrained("bigcode/christmas-models", use_auth_token=token)
|
| 19 |
model = AutoModelForCausalLM.from_pretrained("bigcode/christmas-models", revision=revision, trust_remote_code=True, use_auth_token=token)
|
|
|
|
| 13 |
|
| 14 |
token = os.environ["HUB_TOKEN"]
|
| 15 |
device="cuda:0"
|
| 16 |
+
revision = "dedup-alt-comments"
|
| 17 |
|
| 18 |
tokenizer = AutoTokenizer.from_pretrained("bigcode/christmas-models", use_auth_token=token)
|
| 19 |
model = AutoModelForCausalLM.from_pretrained("bigcode/christmas-models", revision=revision, trust_remote_code=True, use_auth_token=token)
|