Omaratef3221
commited on
Commit
•
f2e2c26
1
Parent(s):
f8d4413
Update README.md
Browse files
README.md
CHANGED
@@ -56,7 +56,7 @@ input_ids = tokenizer(prompt, return_tensors='pt').input_ids
|
|
56 |
output = model.generate(input_ids, top_p = 0.6, do_sample=True, temperature = 1.2, max_length = 512)
|
57 |
print(tokenizer.decode(output[0], skip_special_tokens=True).replace('#Person2#:', '\n#Person2#:').replace('#Person1#:', '\n#Person1#:'))
|
58 |
```
|
59 |
-
####
|
60 |
```python
|
61 |
#Person1#: Oh, that's a nice street market. I'm glad I got to see it.
|
62 |
#Person2#: Yes, it is. I like the food here.
|
|
|
56 |
output = model.generate(input_ids, top_p = 0.6, do_sample=True, temperature = 1.2, max_length = 512)
|
57 |
print(tokenizer.decode(output[0], skip_special_tokens=True).replace('#Person2#:', '\n#Person2#:').replace('#Person1#:', '\n#Person1#:'))
|
58 |
```
|
59 |
+
#### Output:
|
60 |
```python
|
61 |
#Person1#: Oh, that's a nice street market. I'm glad I got to see it.
|
62 |
#Person2#: Yes, it is. I like the food here.
|