Update README.md
Browse files
README.md
CHANGED
@@ -24,7 +24,7 @@ from transformers import BloomTokenizerFast, BloomForCausalLM
|
|
24 |
|
25 |
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
26 |
ckpt = 'mrm8488/bloom-560m-finetuned-the-stack-rust'
|
27 |
-
revision = '100k' #latest one at the moment
|
28 |
|
29 |
tokenizer = BloomTokenizerFast.from_pretrained(ckpt)
|
30 |
model = BloomForCausalLM.from_pretrained(ckpt, revision=revision).to(device)
|
|
|
24 |
|
25 |
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
26 |
ckpt = 'mrm8488/bloom-560m-finetuned-the-stack-rust'
|
27 |
+
revision = '100k' # latest one at the moment
|
28 |
|
29 |
tokenizer = BloomTokenizerFast.from_pretrained(ckpt)
|
30 |
model = BloomForCausalLM.from_pretrained(ckpt, revision=revision).to(device)
|