nqzfaizal77ai
commited on
Commit
•
229c977
1
Parent(s):
0fb4ef1
Update README.md
Browse files
README.md
CHANGED
@@ -59,9 +59,9 @@ def print_with_border(text):
|
|
59 |
"""Prints the given text with a border around it."""
|
60 |
display(HTML(f"<div style='border: 1px solid black; padding: 10px;'>{text}</div>"))
|
61 |
|
62 |
-
# Example usage greedy decode
|
63 |
print_with_border(tokenizer.decode(output[0], skip_special_tokens=True))
|
64 |
|
|
|
65 |
output = merged_model.generate(**inputs,
|
66 |
do_sample=False,
|
67 |
max_length=100)
|
@@ -69,6 +69,5 @@ def print_with_border(text):
|
|
69 |
"""Prints the given text with a border around it."""
|
70 |
display(HTML(f"<div style='border: 1px solid black; padding: 10px;'>{text}</div>"))
|
71 |
|
72 |
-
# Example usage
|
73 |
print_with_border(tokenizer.decode(output[0], skip_special_tokens=True))
|
74 |
```
|
|
|
59 |
"""Prints the given text with a border around it."""
|
60 |
display(HTML(f"<div style='border: 1px solid black; padding: 10px;'>{text}</div>"))
|
61 |
|
|
|
62 |
print_with_border(tokenizer.decode(output[0], skip_special_tokens=True))
|
63 |
|
64 |
+
# Example usage greedy decode
|
65 |
output = merged_model.generate(**inputs,
|
66 |
do_sample=False,
|
67 |
max_length=100)
|
|
|
69 |
"""Prints the given text with a border around it."""
|
70 |
display(HTML(f"<div style='border: 1px solid black; padding: 10px;'>{text}</div>"))
|
71 |
|
|
|
72 |
print_with_border(tokenizer.decode(output[0], skip_special_tokens=True))
|
73 |
```
|