Update README.md
Browse files
README.md
CHANGED
|
@@ -17,9 +17,9 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
| 17 |
|
| 18 |
if __name__ == "__main__":
|
| 19 |
PROMPT = "def square_sum(xs):\n return sum(x * x for x in xs)\n\nsquare_sum([1, 2, 3])\n"
|
| 20 |
-
tok = AutoTokenizer.from_pretrained("circuit-sparsity", trust_remote_code=True)
|
| 21 |
model = AutoModelForCausalLM.from_pretrained(
|
| 22 |
-
"circuit-sparsity",
|
| 23 |
trust_remote_code=True,
|
| 24 |
torch_dtype="auto",
|
| 25 |
)
|
|
|
|
| 17 |
|
| 18 |
if __name__ == "__main__":
|
| 19 |
PROMPT = "def square_sum(xs):\n return sum(x * x for x in xs)\n\nsquare_sum([1, 2, 3])\n"
|
| 20 |
+
tok = AutoTokenizer.from_pretrained("openai/circuit-sparsity", trust_remote_code=True)
|
| 21 |
model = AutoModelForCausalLM.from_pretrained(
|
| 22 |
+
"openai/circuit-sparsity",
|
| 23 |
trust_remote_code=True,
|
| 24 |
torch_dtype="auto",
|
| 25 |
)
|