Update README.md
Browse files
README.md
CHANGED
@@ -114,10 +114,19 @@ def generate_title(input_text):
|
|
114 |
decoded_text = tokenizer.decode(output[0], skip_special_tokens=True)
|
115 |
return decoded_text
|
116 |
|
117 |
-
input_text = "
|
|
|
|
|
|
|
|
|
|
|
118 |
generated_title = generate_title(input_text)
|
119 |
|
120 |
-
print(
|
|
|
|
|
|
|
|
|
121 |
```
|
122 |
|
123 |
|
|
|
114 |
decoded_text = tokenizer.decode(output[0], skip_special_tokens=True)
|
115 |
return decoded_text
|
116 |
|
117 |
+
input_text = """Microsoft is opening a new office in London dedicated to artificial
|
118 |
+
intelligence (AI) research and development. The tech firm's AI boss Mustafa
|
119 |
+
Suleyman said it will advertise roles for exceptional individuals in the
|
120 |
+
coming weeks and months. But he has not said how many jobs will be created.
|
121 |
+
Microsoft is a major investor in ChatGPT-creator OpenAI, which itself opened
|
122 |
+
an office in London in 2023."""
|
123 |
generated_title = generate_title(input_text)
|
124 |
|
125 |
+
print(generated_title)
|
126 |
+
```
|
127 |
+
## Output
|
128 |
+
```
|
129 |
+
Microsoft to open new London office dedicated to AI research
|
130 |
```
|
131 |
|
132 |
|