Update README.md
Browse files
README.md
CHANGED
@@ -18,6 +18,7 @@ model = AutoModelForCausalLM.from_pretrained(model_id)
|
|
18 |
text = "Hello my name is"
|
19 |
inputs = tokenizer(text, return_tensors="pt")
|
20 |
|
21 |
-
outputs = model.generate(**inputs, max_new_tokens=
|
22 |
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
|
|
23 |
```
|
|
|
18 |
text = "Hello my name is"
|
19 |
inputs = tokenizer(text, return_tensors="pt")
|
20 |
|
21 |
+
outputs = model.generate(**inputs, max_new_tokens=128)
|
22 |
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
23 |
+
# Hello my name is Katie and I am a 20 year old student from the UK. I am currently studying for a degree in English Literature and Creative Writing at the University of Leeds. I am a huge fan of the Harry Potter series and have been since I was 10 years old. I have read the books countless times and have seen the films many times too. I am a huge fan of the Harry Potter fandom and have been a member of the Harry Potter forums for a few years now. I am also a member of the Harry Potter fan club and have been for a few years now. I
|
24 |
```
|