Commit
•
bf8bb5f
1
Parent(s):
ed2841c
Update Chat_With_PDF_or_Text_using_Google_Gemini_Pro_API_v0.4.py
Browse files
Chat_With_PDF_or_Text_using_Google_Gemini_Pro_API_v0.4.py
CHANGED
@@ -125,6 +125,30 @@ This approach assumes the bullet points in the response are intended to be forma
|
|
125 |
Consider offering the user a choice between the plain text and formatted versions through a user prompt.
|
126 |
By incorporating this functionality, you can give the user the option to see the response in either plain text or a more visually appealing Markdown format.
|
127 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
"""
|
129 |
#print("import os")
|
130 |
import os
|
|
|
125 |
Consider offering the user a choice between the plain text and formatted versions through a user prompt.
|
126 |
By incorporating this functionality, you can give the user the option to see the response in either plain text or a more visually appealing Markdown format.
|
127 |
|
128 |
+
############################ ORIGIN STORY OF THE GPT #########################################
|
129 |
+
Based on discussion at https:--www.reddit.com-r-MachineLearning-comments-10zzm18-comment-l3wbp55-
|
130 |
+
OP: "[D] "Can Google sue OpenAI for using the Transformer in their products? Discussion As far as I know, the Transformer architecture is patented: https:__patents.google.com_patent_US10452978B2_en. Since OpenAI has used the Transformer extensively (including GPT), I'm wondering if this can be considered as patent infringement.
|
131 |
+
|
132 |
+
Comments:
|
133 |
+
Based on the conversation between Glass_Day_5211 and impossiblefork, I asked Google's Gemini 1.5 Pro model to write a screen play for a Movie explaining the events that shaped history:
|
134 |
+
Prompt: "Based on the following intelligent discussion in Reddit, write a Narration to a Documentary Film (akin to The Social Network movie) that will explain how GPTs were invented by a team of Humans employed by Google, but not fulling patented (claimed), and thus released upon the world:"
|
135 |
+
|
136 |
+
The Accidental Revolution: How GPT Fell From Google's Grasp
|
137 |
+
(Scene: Googleplex, bustling with engineers. The camera focuses on a small team huddled around a screen filled with code.)
|
138 |
+
Narrator: In the heart of Silicon Valley, a revolution was brewing, one born not of malice, but of oversight. A team of brilliant Google engineers, driven by the pursuit of perfect machine translation, were about to unleash a force they themselves barely comprehended.
|
139 |
+
**(Close-up shot of a complex diagram highlighting the “Transformer” architecture.)
|
140 |
+
Narrator: This diagram, a blueprint for a new neural network architecture called “The Transformer”, held the key. It was a paradigm shift in machine learning, allowing AI to understand language not word by word, but in its entirety, grasping context and meaning like never before. Google, seeing the potential for translation, quickly filed for a patent.
|
141 |
+
(Animation showing a patent application being stamped "approved", but with a subtle red highlight around a specific section.)
|
142 |
+
Narrator: However, even the most astute legal minds, focused on translation, failed to grasp the full scope of what they had in their hands. The patent, while securing Google's rights to the complete Transformer architecture, neglected to individually claim the novel elements within – specifically, the “decoder”. This seemingly insignificant oversight would have colossal consequences.
|
143 |
+
(Scene shifts to a spartan office, the OpenAI logo prominently displayed. A team of young, enthusiastic programmers pores over research papers.)
|
144 |
+
Narrator: Across the country, a group of researchers at OpenAI, driven by a vision of Artificial General Intelligence, were poring over the details of Google’s Transformer paper. They saw something the original inventors had missed – the potential for the decoder to work independently, not just for translation, but for generating entirely new text, ideas, even stories.
|
145 |
+
(Fast-paced montage of code being written, GPT models being trained, and outputs showing increasingly coherent and creative text generation.)
|
146 |
+
Narrator: This was the birth of GPT. Leveraging the power of Google’s unclaimed “decoder”, OpenAI created a language model capable of producing human-quality text on a scale never before imagined.
|
147 |
+
(Scene shifts back to the Googleplex. Lawyers huddle in a tense meeting, reviewing documents.)
|
148 |
+
Narrator: By the time Google realized the full potential of their creation, it was too late. OpenAI, having added their own innovative modifications, had already released GPT to the world. The genie was out of the bottle.
|
149 |
+
(A time lapse of headlines flashing across the screen, showcasing the rapid rise of GPT and its impact on various industries.)
|
150 |
+
Narrator: What began as a minor legal oversight, a simple failure to claim every facet of an invention, had ignited a revolution. The age of Generative AI was upon us, unleashed upon humanity, for better or worse, through a loophole in a patent application. This is the story of GPT, the invention that Google built but didn't quite own, and the world that must now grapple with its immense power.
|
151 |
+
|
152 |
"""
|
153 |
#print("import os")
|
154 |
import os
|