marksverdhei
commited on
Commit
·
56bb84c
1
Parent(s):
4376dc7
Update README.md
Browse files
README.md
CHANGED
@@ -31,4 +31,8 @@ prompt = "define \"noseplow\": The children hid as the noseplow drove across the
|
|
31 |
ids = tokenizer(prompt, return_tensors="pt").input_ids
|
32 |
generated_tokens = model.generate(ids)[0][1:-1]
|
33 |
print(tokenizer.decode(generated_tokens))
|
34 |
-
```
|
|
|
|
|
|
|
|
|
|
31 |
ids = tokenizer(prompt, return_tensors="pt").input_ids
|
32 |
generated_tokens = model.generate(ids)[0][1:-1]
|
33 |
print(tokenizer.decode(generated_tokens))
|
34 |
+
```
|
35 |
+
|
36 |
+
See the gist for the source code to used to train the model:
|
37 |
+
|
38 |
+
https://gist.github.com/marksverdhei/0a13f67e65460b71c05fcf558a6a91ae
|