feat: Turfu

parent f24b0240
It was quite by accident I discovered this incredible invasion of
Earth by lifeforms from another planet. As yet, I haven't done
anything about it; I can't think of anything to do. I wrote to the
Government, and they sent back a pamphlet on the repair and
maintenance of frame houses. Anyhow, the whole thing is known; I'm not
the first to discover it. Maybe it's even under control.
I was sitting in my easy-chair, idly turning the pages of a
paperbacked book someone had left on the bus, when I came across the
reference that first put me on the trail. For a moment I didn't
respond. It took some time for the full import to sink in. After I'd
comprehended, it seemed odd I hadn't noticed it right away.
The reference was clearly to a nonhuman species of incredible
properties, not indigenous to Earth. A species, I hasten to point out,
customarily masquerading as ordinary human beings. Their disguise,
however, became transparent in the face of the following observations
by the author. It was at once obvious the author knew everything. Knew
everything--and was taking it in his stride. The line (and I tremble
remembering it even now) read:
_... his eyes slowly roved about the room._
Vague chills assailed me. I tried to picture the eyes. Did they roll
like dimes? The passage indicated not; they seemed to move through the
air, not over the surface. Rather rapidly, apparently. No one in the
story was surprised. That's what tipped me off. No sign of amazement
at such an outrageous thing. Later the matter was amplified.
_... his eyes moved from person to person._
There it was in a nutshell. The eyes had clearly come apart from the
rest of him and were on their own. My heart pounded and my breath
choked in my windpipe. I had stumbled on an accidental mention of a
totally unfamiliar race. Obviously non-Terrestrial. Yet, to the
characters in the book, it was perfectly natural--which suggested they
belonged to the same species.
And the author? A slow suspicion burned in my mind. The author was
taking it rather _too easily_ in his stride. Evidently, he felt this
was quite a usual thing. He made absolutely no attempt to conceal this
knowledge. The story continued:
_... presently his eyes fastened on Julia._
Julia, being a lady, had at least the breeding to feel indignant. She
is described as blushing and knitting her brows angrily. At this, I
sighed with relief. They weren't _all_ non-Terrestrials. The narrative
continues:
_... slowly, calmly, his eyes examined every inch of her._
Great Scott! But here the girl turned and stomped off and the matter
ended. I lay back in my chair gasping with horror. My wife and family
regarded me in wonder.
"What's wrong, dear?" my wife asked.
I couldn't tell her. Knowledge like this was too much for the ordinary
run-of-the-mill person. I had to keep it to myself. "Nothing," I
gasped. I leaped up, snatched the book, and hurried out of the room.
* * * * *
In the garage, I continued reading. There was more. Trembling, I read
the next revealing passage:
_... he put his arm around Julia. Presently she asked him if
he would remove his arm. He immediately did so, with a smile._
It's not said what was done with the arm after the fellow had removed
it. Maybe it was left standing upright in the corner. Maybe it was
thrown away. I don't care. In any case, the full meaning was there,
staring me right in the face.
Here was a race of creatures capable of removing portions of their
anatomy at will. Eyes, arms--and maybe more. Without batting an
eyelash. My knowledge of biology came in handy, at this point.
Obviously they were simple beings, uni-cellular, some sort of
primitive single-celled things. Beings no more developed than
starfish. Starfish can do the same thing, you know.
I read on. And came to this incredible revelation, tossed off coolly
by the author without the faintest tremor:
_... outside the movie theater we split up. Part of us went
inside, part over to the cafe for dinner._
Binary fission, obviously. Splitting in half and forming two entities.
Probably each lower half went to the cafe, it being farther, and the
upper halves to the movies. I read on, hands shaking. I had really
stumbled onto something here. My mind reeled as I made out this
passage:
_... I'm afraid there's no doubt about it. Poor Bibney has
lost his head again._
Which was followed by:
_... and Bob says he has utterly no guts._
Yet Bibney got around as well as the next person. The next person,
however, was just as strange. He was soon described as:
_... totally lacking in brains._
* * * * *
There was no doubt of the thing in the next passage. Julia, whom I had
thought to be the one normal person, reveals herself as also being an
alien life form, similar to the rest:
_... quite deliberately, Julia had given her heart to the
young man._
It didn't relate what the final disposition of the organ was, but I
didn't really care. It was evident Julia had gone right on living in
her usual manner, like all the others in the book. Without heart,
arms, eyes, brains, viscera, dividing up in two when the occasion
demanded. Without a qualm.
_... thereupon she gave him her hand._
I sickened. The rascal now had her hand, as well as her heart. I
shudder to think what he's done with them, by this time.
_... he took her arm._
Not content to wait, he had to start dismantling her on his own.
Flushing crimson, I slammed the book shut and leaped to my feet. But
not in time to escape one last reference to those carefree bits of
anatomy whose travels had originally thrown me on the track:
_... her eyes followed him all the way down the road and
across the meadow._
I rushed from the garage and back inside the warm house, as if the
accursed things were following me. My wife and children were playing
Monopoly in the kitchen. I joined them and played with frantic fervor,
brow feverish, teeth chattering.
I had had enough of the thing. I want to hear no more about it. Let
them come on. Let them invade Earth. I don't want to get mixed up in
it.
I have absolutely no stomach for it.
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
from datetime import datetime
from glossolalia.loader import load_seeds, load_texts
from glossolalia.lstm import LisSansTaMaman
"""
Jets. atomic answer. peterson said.
"can you come to have to get back to the moon base?"
The old came back and stood at the door.
Uneasily in the heat lay the police
the optus went down at him, its eyes identical and expressionless.
hard to be space commissioner.
i've a strange can't be operate the same way
we're a day of mechanical
he saw his forehead. and he had to be hard to get it.
he was a long way from the big ground
he had to be a few paces
a thin figure with a universe
"""
def train():
# should_train = True
nb_words = 50
nb_epoch = 100
nb_layers = 100
dropout = .3
validation_split = 0.2
lstm = LisSansTaMaman(nb_layers, dropout, validation_split, debug=True)
filename_output = "./output/dickish_%i-d%.1f_%s.txt" % (
nb_layers, dropout, datetime.now().strftime("%y%m%d_%H%M"))
corpus = load_texts()
print("Corpus:", corpus[:10])
lstm.create_model(corpus)
with open(filename_output, "a+") as f:
for i in range(0, nb_epoch, 10):
lstm.fit(epochs=min(i + 10, nb_epoch), initial_epoch=i,
validation_split=validation_split)
for output in lstm.predict_seeds(nb_words):
print(output)
f.writelines(output)
for i, seed in enumerate(load_seeds(corpus, 5)):
output = lstm.predict(seed, nb_words)
print("%i %s -> %s" % (i, seed, output))
f.writelines(output)
while True:
input_text = input("> ")
text = lstm.predict(input_text, nb_words)
print(text)
f.writelines("%s\n" % text)
if __name__ == '__main__':
train()
...@@ -11,9 +11,9 @@ def train(): ...@@ -11,9 +11,9 @@ def train():
# should_train = True # should_train = True
nb_words = 200 nb_words = 200
nb_epoch = 100 nb_epoch = 100
nb_layers = 128 nb_layers = 100
dropout = .2 # TODO fine-tune layers/dropout dropout = .3 # TODO fine-tune layers/dropout
validation_split = 0.2 validation_split = 0.1
lstm = LisSansTaMaman(nb_layers, dropout, validation_split, lstm = LisSansTaMaman(nb_layers, dropout, validation_split,
tokenizer=PoemTokenizer(lower=False), debug=True) tokenizer=PoemTokenizer(lower=False), debug=True)
# #
......
Before the next century is over, human beings will no longer be the most intelligent of capable type of entity on the planet.
The primary political and philosophical issue of the next century will be the definition of who we are.
Once a computer achieves human intelligence it will necessarily roar past it.
The Law of Time and Chaos: In a process, the time interval between salient events (that is, events that change the nature of the process, or significantly affect the future of the process) expands of contracts along with the amount of chaos.
The Law of Accelerating Returns: As order exponentially increases, time exponentially speeds up (that is, the time interval between salient events grows shorter as time passes). The Law... applies specifically to evolutionary processes.
Neither noise nor information is predictable.
Order is information that fits a purpose.
Sometimes, a deeper order—a better fit to a purpose—is achieved through simplification rather than further increases in complexity.
A primary reason that evolution—of life-forms or technology—speeds up is that it builds on its own increasing order.
I quickly realized that you had to have a good idea of the future if you were going to succeed as an inventor.
This interest in trends took on a life of its own, and I began to project some of them using what I call the Law of Accelerating Returns.
The twentieth century was like twenty years' worth of change at today's rate of change.
The ethical debates are like stones in a stream. The water runs around them.
You haven't seen any biological technologies held up for one week by any of these debates.
We use one stage of technology to create the next stage, which is why technology accelerates, why it grows in power.
To this day I remain convinced of this basic philosophy: no matter what quandries we face... there is an idea that can enable us to prevail.
This... was the religion that I was raised with: veneration for human creativity and the power of ideas.
The power of ideas to transform the world is itself accelerating.
Information defines your personality, your memories, your skills.
A lot of movies about artificial intelligence envision that AI's will be very intelligent but missing some key emotional qualities of humans and therefore turn out to be very dangerous.
Our intuition about the future is linear. But the reality of information technology is exponential, and that makes a profound difference. If I take 30 steps linearly, I get to 30. If I take 30 steps exponentially, I get to a billion.
No matter what problem you encounter, whether it's a grand challenge for humanity or a personal problem of your own, there's an idea out there that can overcome it. And you can find that idea.
Artificial intelligence will reach human levels by around 2029. Follow that out further to, say, 2045, we will have multiplied the intelligence, the human biological machine intelligence of our civilization a billion-fold.
Science fiction is the great opportunity to speculate on what could happen. It does give me, as a futurist, scenarios.
If you write a blog post, you've got something to say; you're not just creating words and synonyms. We'd like the computers to actually pick up on that semantic meaning.
Life expectancy is a statistical phenomenon. You could still be hit by the proverbial bus tomorrow.
Biology is a software process. Our bodies are made up of trillions of cells, each governed by this process. You and I are walking around with outdated software running in our bodies, which evolved in a very different era.
Information defines your personality, your memories, your skills.
I'm working on artificial intelligence. Actually, natural language understanding, which is to get computers to understand the meaning of documents.
Top 10
When you talk to a human in 2035, you'll be talking to someone that's a combination of biological and non-biological intelligence.
By the time we get to the 2040s, we'll be able to multiply human intelligence a billionfold. That will be a profound change that's singular in nature. Computers are going to keep getting smaller and smaller. Ultimately, they will go inside our bodies and brains and make us healthier, make us smarter.
By 2029, computers will have emotional intelligence and be convincing as people.
What we spend our time on is probably the most important decision we make.
Our technology, our machines, is part of our humanity. We created them to extend ourselves, and that is what is unique about human beings.
I do have to pick my priorities. Nobody can do everything.
The telephone is virtual reality in that you can meet with someone as if you are together, at least for the auditory sense.
People say we're running out of energy. That's only true if we stick with these old 19th century technologies. We are awash in energy from the sunlight.
Supercomputers will achieve one human brain capacity by 2010, and personal computers will do so by about 2020.
If we look at the life cycle of technologies, we see an early period of over-enthusiasm, then a 'bust' when disillusionment sets in, followed by the real revolution.
Sometimes people talk about conflict between humans and machines, and you can see that in a lot of science fiction. But the machines we're creating are not some invasion from Mars. We create these tools to expand our own reach.
All different forms of human expression, art, science, are going to become expanded, by expanding our intelligence.
By the 2030s, the nonbiological portion of our intelligence will predominate.
I consider myself an inventor, entrepreneur, and author.
A successful person isn't necessarily better than her less successful peers at solving problems; her pattern-recognition facilities have just learned what problems are worth solving.
I'm an inventor. I became interested in long-term trends because an invention has to make sense in the world in which it is finished, not the world in which it is started.
The story of evolution unfolds with increasing levels of abstraction.
We are a pattern that changes slowly but has stability and continuity, even though the stuff constituting the pattern changes quickly
\ No newline at end of file
from datetime import datetime
from glossolalia.loader import load_seeds, load_text
from glossolalia.lstm import LisSansTaMaman
"""
you're not just words in synonyms.
the amount of chaos. the amount of chaos. the time expands of chaos.
"""
def train():
# should_train = True
nb_words = 60
nb_epoch = 60
nb_layers = 128
dropout = .3
validation_split = .3
lstm = LisSansTaMaman(nb_layers, dropout, validation_split, debug=True)
filename_output = "./output/zukurzt_%i-d%.1f_%s.txt" % (
nb_layers, dropout, datetime.now().strftime("%y%m%d_%H%M"))
corpus = load_text("./data.txt")
print("Corpus:", corpus[:10])
lstm.create_model(corpus)
with open(filename_output, "a+") as f:
for i in range(0, nb_epoch, 10):
lstm.fit(epochs=min(i + 10, nb_epoch), initial_epoch=i,
validation_split=validation_split)
for output in lstm.predict_seeds(nb_words):
print(output)
f.writelines(output)
for i, seed in enumerate(load_seeds(corpus, 5)):
output = lstm.predict(seed, nb_words)
print("%i %s -> %s" % (i, seed, output))
f.writelines(output)
while True:
input_text = input("> ")
text = lstm.predict(input_text, nb_words)
print(text)
f.writelines("%s\n" % text)
if __name__ == '__main__':
train()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment