Download Quick Start Guide to Large Language Models Second Edition Sinan Ozdemir ebook All Chapters PDF
Download Quick Start Guide to Large Language Models Second Edition Sinan Ozdemir ebook All Chapters PDF
https://ebookultra.com
https://ebookultra.com/download/quick-start-guide-
to-large-language-models-second-edition-sinan-
ozdemir/
https://ebookultra.com/download/arduino-a-quick-start-guide-quick-
start-guides-1st-edition-maik-schmidt/
ebookultra.com
https://ebookultra.com/download/arduino-a-quick-start-guide-1st-
edition-maik-schmidt/
ebookultra.com
https://ebookultra.com/download/echo-quick-start-guide-1st-edition-j-
ben-huson/
ebookultra.com
https://ebookultra.com/download/grails-2-a-quick-start-guide-1st-
edition-dave-klein/
ebookultra.com
Raspberry Pi A Quick Start Guide 1st Edition Maik Schmidt
https://ebookultra.com/download/raspberry-pi-a-quick-start-guide-1st-
edition-maik-schmidt/
ebookultra.com
https://ebookultra.com/download/cocoa-programming-a-quick-start-guide-
for-developers-pragmatic-programmers-1st-edition-daniel-h-steinberg/
ebookultra.com
https://ebookultra.com/download/call-of-cthulhu-quick-start-rules-7th-
edition-sandy-petersen/
ebookultra.com
https://ebookultra.com/download/large-scale-geometry-second-edition-
piotr-nowak/
ebookultra.com
https://ebookultra.com/download/quick-reference-guide-to-veterinary-
radiography-kits-1st-edition-carole-bowden/
ebookultra.com
Quick Start Guide to Large Language Models Second
Edition Sinan Ozdemir Digital Instant Download
Author(s): Sinan Ozdemir
ISBN(s): 9780135346570, 0135346576
File Details: PDF, 20.05 MB
Year: 2024
Language: english
Quick Start Guide to Large
Language Models, Second
Edition
Sinan Ozdemir
Preface
Acknowledgments
About the Author
Preface
Acknowledgments
About the Author
Introduction
In 2017, a team at Google Brain introduced an advanced
artificial intelligence (AI) deep learning model called the
Transformer. Since then, the Transformer has become the
standard for tackling various natural language processing
(NLP) tasks in academia and industry. It is likely that you
have interacted with the Transformer model in recent years
without even realizing it, as Google uses BERT to enhance
its search engine by better understanding users’ search
queries. The GPT family of models from OpenAI have also
received attention for their ability to generate human-like
text and images.
Note
We cannot fit all of the ever-shifting code for this book
within these pages so to get the always free and update
to code, check out our github repo at
https://github.com/sinanuozdemir/quick-start-guide-to-
llms.
These Transformers now power applications such as
GitHub’s Copilot (developed by OpenAI in collaboration with
Microsoft), which can convert comments and snippets of
code into fully functioning source code that can even call
upon other large language models (LLMs) (as in Listing 1.1)
to perform NLP tasks.
def classify_text(email):
“””
Use Facebook’s BART model to classify an email
Args:
email (str): The email to classify
Returns:
str: The classification of the email
“””
# COPILOT START. EVERYTHING BEFORE THIS COMMENT
classifier = pipeline(
‘zero-shot-classification’, model=’facebook/bar
labels = [‘spam’, ‘not spam’]
hypothesis_template = ‘This email is {}.’
results = classifier(
email, labels, hypothesis_template=hypothesis_t
return results[‘labels’][0]
# COPILOT END
In Listing 1.1, I used Copilot to take in only a Python function
definition and some comments I wrote, and I wrote all of the
code to make the function do what I wrote. There’s no
cherry-picking here, just a fully working Python function that
I can call like this:
classify_text(‘hi I am spam’) # spam
Note
I will use the term understand a fair amount in this text.
In this context, I am usually referring to “natural
language understanding” (NLU)—a research branch of
NLP that focuses on developing algorithms and models
that can accurately interpret human language. As we
will see, NLU models excel at tasks such as
classification, sentiment analysis, and named entity
recognition. However, it is important to note that while
these models can perform complex language tasks, they
do not possess true understanding in the same way that
humans do.
Definition of LLMs
To back up only slightly, we should talk first about the
specific NLP task that LLMs and Transformers are being used
to solve, which provides the foundation layer for their ability
to solve a multitude of tasks. Language modeling is a
subfield of NLP that involves the creation of statistical/deep
learning models for predicting the likelihood of a sequence
of tokens in a specified vocabulary (a limited and known
set of tokens). There are generally two kinds of language
modeling tasks out there: autoencoding tasks and
autoregressive tasks (Figure 1.2).
Figure 1.2 Both the autoencoding and autoregressive
language modeling tasks involve filling in a missing
token, but only the autoencoding task allows for context
to be seen on both sides of the missing token.
Note
A token is the smallest unit of semantic meaning, which
is created by breaking down a sentence or piece of text
into smaller units; it is the basic input for an LLM. Tokens
can be words but also can be “sub-words,” as we will
see in more depth throughout this book. Some readers
may be familiar with the term “n-gram,” which refers to
a sequence of n consecutive tokens.
BERT
BERT (Figure 1.3) is an autoencoding model that uses
attention to build a bidirectional representation of a
sentence. This approach makes it ideal for sentence
classification and token classification tasks.
Figure 1.3 BERT was one of the first LLMs and
continues to be popular for many NLP tasks that involve
fast processing of large amounts of text.
T5
T5 is a pure encoder/decoder Transformer model that was
designed to perform several NLP tasks, from text
classification to text summarization and generation, right off
the shelf. It is one of the first popular models to be able to
boast of such a feat, in fact. Before T5, LLMs like BERT and
GPT-2 generally had to be fine-tuned using labeled data
before they could be relied on to perform such specific
tasks.
T5 uses both the encoder and the decoder of the
Transformer, so it is highly versatile in both processing and
generating text. T5-based models can perform a wide range
of NLP tasks, from text classification to text generation, due
to their ability to build representations of the input text
using the encoder and generate text using the decoder
(Figure 1.5). T5-derived architectures are ideal for
applications that “require both the ability to process and
understand text and the ability to generate text freely.”
Nearly all LLMs are highly versatile and are used for various
NLP tasks, such as text classification, text generation,
machine translation, and sentiment analysis, among others.
These LLMs, along with flavors (variants) of them, will be the
main focus of this book and our applications.
Table 1.1 shows the disk size, memory usage, number of
parameters – the internal numbers that make up the
matrices of the deep learning architecture itself, and
approximate size of the pre-training data for several popular
LLMs. Note that these sizes are approximate and may vary
depending on the specific implementation and hardware
used.
Note
The pre-training process for an LLM can evolve over
time as researchers find better ways of training LLMs
and phase out methods that don’t help as much. For
example, within a year of the original Google BERT
release that used the NSP pre-training task, a BERT
variant called RoBERTa (yes, most of these LLM names
will be fun) by Facebook AI was shown to not require the
NSP task to match and even beat the original BERT
model’s performance in several areas.
Transfer Learning
Transfer learning is a technique used in machine learning to
leverage the knowledge gained from one task to improve
performance on another related task. Transfer learning for
LLMs involves taking an LLM that has been pre-trained on
one corpus of text data and then fine-tuning it for a specific
“downstream” task, such as text classification or text
generation, by updating the model’s parameters with task-
specific data.
The idea behind transfer learning is that the pre-trained
model has already learned a lot of information about the
language and relationships between words, and this
information can be used as a starting point to improve
performance on a new task. Transfer learning allows LLMs to
be fine-tuned for specific tasks with much smaller amounts
of task-specific data than would be required if the model
were trained from scratch. This greatly reduces the amount
of time and resources needed to train LLMs. Figure 1.12
provides a visual representation of this relationship.
Figure 1.12 The general transfer learning loop involves
pre-training a model on a generic dataset on some
generic self-supervised task and then fine-tuning the
model on a task-specific dataset.
Fine-Tuning
Once an LLM has been pre-trained, it can be fine-tuned for
specific tasks. Fine-tuning involves training the LLM on a
smaller, task-specific dataset to adjust its parameters for
the specific task at hand. This allows the LLM to leverage its
pre-trained knowledge of the language to improve its
accuracy for the specific task. Fine-tuning has been shown
to drastically improve performance on domain-specific and
task-specific tasks and lets LLMs adapt quickly to a wide
variety of NLP applications.
Figure 1.13 shows the basic fine-tuning loop that we will use
for our models in later chapters. Whether they are open-
source or closed-source, the loop is more or less the same:
1. We define the model we want to fine-tune as well as
any fine-tuning parameters (e.g., learning rate).
2. We aggregate some training data (the format and
other characteristics depend on the model we are
updating).
3. We compute losses (a measure of error) and gradients
(information about how to change the model to
minimize error).
4. We update the model through backpropagation—a
mechanism to update model parameters to minimize
errors.
Figure 1.13 The Transformers package from Hugging
Face provides a neat and clean interface for training and
fine-tuning LLMs.
Note
You will not need a Hugging Face account or key to
follow along and use any of the code in this book, apart
from the very specific advanced exercises where I will
call it out.
Attention
The title of the original paper that introduced the
Transformer was “Attention Is All You Need.” Attention is a
mechanism used in deep learning models (not just
Transformers) that assigns different weights to different
parts of the input, allowing the model to prioritize and
emphasize the most important information while performing
tasks like translation or summarization. Essentially,
attention allows a model to “focus” on different parts of the
input dynamically, leading to improved performance and
more accurate results. Before the popularization of
attention, most neural networks processed all inputs equally
and the models relied on a fixed representation of the input
to make predictions. Modern LLMs that rely on attention can
dynamically focus on different parts of input sequences,
allowing them to weigh the importance of each part in
making predictions.
To recap, LLMs are pre-trained on large corpora and
sometimes fine-tuned on smaller datasets for specific tasks.
Recall that one of the factors behind the Transformer’s
effectiveness as a language model is that it is highly
parallelizable, allowing for faster training and efficient
processing of text. What really sets the Transformer apart
from other deep learning architectures is its ability to
capture long-range dependencies and relationships between
tokens using attention. In other words, attention is a crucial
component of Transformer-based LLMs, and it enables them
to effectively retain information between training loops and
tasks (i.e., transfer learning), while being able to process
lengthy swatches of text with ease.
Attention is considered the aspect most responsible for
helping LLMs learn (or at least recognize) internal world
models and human-identifiable rules. A Stanford University
study conducted in 2019 showed that certain attention
calculations in BERT corresponded to linguistic notions of
syntax and grammar rules. For example, the researchers
noticed that BERT was able to notice direct objects of verbs,
determiners of nouns, and objects of prepositions with
remarkably high accuracy from only its pre-training. These
relationships are presented visually in Figure 1.14.
Figure 1.14 Research has probed into LLMs and
revealed that they seem to be recognizing grammatical
rules even when they were never explicitly told these
rules.
Embeddings
Embeddings are the mathematical representations of
words, phrases, or tokens in a large-dimensional space. In
Exploring the Variety of Random
Documents with Different Content
I had forgotten to speak of the Christmas-dinner, that solid feast of fat
things, on which we also luxuriated. Mrs. Crowfield outdid all household
traditions in that feast: the turkey and the chickens, the jellies and the
sauces, the pies and the pudding, behold, are they not written in the tablets
of Memory which remain to this day?
The holidays passed away hilariously, and at New-Year’s I, according to
time-honored custom, went forth to make my calls and see my fair friends,
while my wife and daughters stayed at home to dispense the hospitalities of
the day to their gentlemen friends. All was merry, cheerful, and it was
agreed on all hands that a more joyous holiday season had never flown over
us.
But, somehow, the week after, I began to be sensible of a running-down
in the wheels. I had an article to write for the “Atlantic,” but felt mopish
and could not write. My dinner had not its usual relish, and I had an
indefinite sense everywhere of something going wrong. My coal bill came
in, and I felt sure we were being extravagant, and that our John Furnace
wasted the coal. My grandsons and granddaughters came to see us, and I
discovered that they had high-pitched voices, and burst in without wiping
their shoes, and it suddenly occurred powerfully to my mind that they were
not being well brought up,—evidently, they were growing up rude and
noisy. I discovered several tumblers and plates with the edges chipped, and
made bitter reflections on the carelessness of Irish servants;—our crockery
was going to destruction, along with the rest. Then, on opening one of my
paper-drawers, I found that Jennie’s one drawer of worsted had overflowed
into two or three; Jennie was growing careless; besides, worsted is dear, and
girls knit away small fortunes, without knowing it, on little duds that do
nobody any good. Moreover, Maggie had three times put my slippers into
the hall-closet, instead of leaving them where I wanted, under my study-
table. Mrs. Crowfield ought to look after things more; every servant, from
end to end of the house, was getting out of the traces, it was strange she did
not see it.
All this I vented, from time to time, in short, crusty sayings and doings,
as freely as if I hadn’t just written an article on “Little Foxes” in the last
“Atlantic,” till at length my eyes were opened on my own state and
condition.
It was evening, and I had just laid up the fire in the most approved style
of architecture, and, projecting my feet into my slippers, sat spitefully
cutting the leaves of a caustic review.
Mrs. Crowfield took the tongs and altered the disposition of a stick.
“My dear,” I said, “I do wish you’d let the fire alone,—you always put it
out.”
“I was merely admitting a little air between the sticks,” said my wife.
“You always make matters worse, when you touch the fire.”
As if in contradiction, a bright tongue of flame darted up between the
sticks, and the fire began chattering and snapping defiance at me. Now, if
there’s anything which would provoke a saint, it is to be jeered and snapped
at in that way by a man’s own fire. It’s an unbearable impertinence. I threw
out my leg impatiently, and hit Rover, who yelped a yelp that finished the
upset of my nerves. I gave him a hearty kick, that he might have something
to yelp for, and in the movement upset Jennie’s embroidery-basket.
“Oh, papa!”
“Confound your baskets and balls! they are everywhere, so that a man
can’t move; useless, wasteful things, too.”
“Wasteful?” said Jennie, coloring indignantly; for if there’s anything
Jennie piques herself upon, it’s economy.
“Yes, wasteful,—wasting time and money both. Here are hundreds of
shivering poor to be clothed, and Christian females sit and do nothing but
crochet worsted into useless knicknacks. If they would be working for the
poor, there would be some sense in it. But it’s all just alike, no real
Christianity in the world, nothing but organized selfishness and self-
indulgence.”
“My dear,” said Mrs. Crowfield, “you are not well to-night. Things are
not quite so desperate as they appear. You haven’t got over Christmas-
week.”
“I am well. Never was better. But I can see, I hope, what’s before my
eyes; and the fact is, Mrs. Crowfield, things must not go on as they are
going. There must be more care, more attention to details. There’s Maggie,
—that girl never does what she is told. You are too slack with her, Ma’am.
She will light the fire with the last paper, and she won’t put my slippers in
the right place; and I can’t have my study made the general catch-all and
menagerie for Rover and Jennie, and her baskets and balls, and for all the
family litter.”
Just at this moment I overheard a sort of aside from Jennie, who was
swelling with repressed indignation at my attack on her worsted. She sat
with her back to me, knitting energetically, and said, in a low, but very
decisive tone, as she twitched her yarn,—
“Now if I should talk in that way, people would call me cross,—and
that’s the whole of it.”
I pretended to be looking into the fire in an absent-minded state; but
Jennie’s words had started a new idea. Was that it? Was that the whole
matter? Was it, then, a fact, that the house, the servants, Jennie and her
worsteds, Rover and Mrs. Crowfield, were all going on pretty much as
usual, and that the only difficulty was that I was cross? How many times
had I encouraged Rover to lie just where he was lying when I kicked him!
How many times, in better moods, had I complimented Jennie on her neat
little fancy-works, and declared that I liked the social companionship of
ladies’ work-baskets among my papers! Yes, it was clear. After all, things
were much as they had been; only I was cross.
Cross. I put it to myself in that simple, old-fashioned word, instead of
saying that I was out of spirits, or nervous, or using any of the other smooth
phrases with which we good Christians cover up our little sins of temper.
“Here you are, Christopher,” said I to myself, “a literary man, with a
somewhat delicate nervous organization and a sensitive stomach, and you
have been eating like a sailor or a ploughman; you have been gallivanting
and merry-making and playing the boy for two weeks; up at all sorts of
irregular hours, and into all sorts of boyish performances; and the
consequence is, that, like a thoughtless young scapegrace, you have used up
in ten days the capital of nervous energy that was meant to last you ten
weeks. You can’t eat your cake and have it too, Christopher. When the
nervous-fluid, source of cheerfulness, giver of pleasant sensations and
pleasant views, is all spent, you can’t feel cheerful; things cannot look as
they did when you were full of life and vigor. When the tide is out, there is
nothing but unsightly, ill-smelling tide-mud, and you can’t help it; but you
can keep your senses,—you can know what is the matter with you,—you
can keep from visiting your overdose of Christmas mincepies and candies
and jocularities on the heads of Mrs. Crowfield, Rover, and Jennie, whether
in the form of virulent morality, pungent criticisms, or a free kick, such as
you just gave the poor brute.”
“Come here, Rover, poor dog!” said I, extending my hand to Rover, who
cowered at the farther corner of the room, eying me wistfully,—“come here,
you poor doggie, and make up with your master. There, there! Was his
master cross? Well, he knows it. We must forgive and forget, old boy,
mustn’t we?” And Rover nearly broke his own back and tore me to pieces
with his tumultuous tail-waggings.
“As for you, puss,” I said to Jennie, “I am much obliged to you for your
free suggestion. You must take my cynical moralities for what they are
worth, and put your little traps into as many of my drawers as you like.”
In short, I made it up handsomely all around,—even apologizing to Mrs.
Crowfield, who, by the by, has summered and wintered me so many years,
and knows all my little seams and crinkles so well, that she took my
irritable, unreasonable spirit as tranquilly as if I had been a baby cutting a
new tooth.
“Of course, Chris, I knew what the matter was; don’t disturb yourself,”
she said, as I began my apology; “we understand each other. But there is
one thing I have to say; and that is, that your article ought to be ready.”
“Ah, well, then,” said I, “like other great writers, I shall make capital of
my own sins, and treat of the second little family fox; and his name is—
I R R I TA B I L I T Y.
Irritability is, more than most unlovely states, a sin of the flesh. It is
not, like envy, malice, spite, revenge, a vice which we may suppose to
belong equally to an embodied or a disembodied spirit. In fact, it comes
nearer to being physical depravity than anything I know of. There are some
bodily states, some conditions of the nerves, such that we could not
conceive of even an angelic spirit confined in a body thus disordered as
being able to do any more than simply endure. It is a state of nervous
torture; and the attacks which the wretched victim makes on others are as
much a result of disease as the snapping and biting of a patient convulsed
with hydrophobia.
Then, again, there are other people who go through life loving and
beloved, desired in every circle, held up in the Church as examples of the
power of religion, who, after all, deserve no credit for these things. Their
spirits are lodged in an animal nature so tranquil, so cheerful, all the
sensations which come to them are so fresh and vigorous and pleasant, that
they cannot help viewing the world charitably and seeing everything
through a glorified medium. The ill-temper of others does not provoke
them; perplexing business never sets their nerves to vibrating; and all their
lives long they walk in the serene sunshine of perfect animal health.
Look at Rover there. He is never nervous, never cross, never snaps or
snarls, and is ready, the moment after the grossest affront, to wag the tail of
forgiveness,—all because kind Nature has put his dog’s body together so
that it always works harmoniously. If every person in the world were gifted
with a stomach and nerves like his, it would be a far better and happier
world, no doubt. The man said a good thing who made the remark, that the
foundation of all intellectual and moral worth must be laid in a good healthy
animal.
Now I think it is undeniable that the peace and happiness of the home-
circle are very generally much invaded by the recurrence in its members of
these states of bodily irritability. Every person, if he thinks the matter over,
will see that his condition in life, the character of his friends, his estimate of
their virtues and failings, his hopes and expectations, are all very much
modified by these things. Cannot we all remember going to bed as very ill-
used, persecuted individuals, all whose friends were unreasonable, whose
life was full of trials and crosses, and waking up on a bright bird-singing
morning to find all these illusions gone with the fogs of the night? Our
friends are nice people, after all; the little things that annoyed us look
ridiculous by bright sunshine and we are fortunate individuals.
The philosophy of life, then, as far as this matter is concerned, must
consist of two things: first, to keep ourselves out of irritable bodily states;
and, second, to understand and control these states, when we cannot ward
them off.
Of course, the first of these is the most important; and yet, of all things,
it seems to be least looked into and understood. We find abundant rules for
the government of the tongue and temper; it is a slough into which, John
Bunyan hath it, cart-loads of wholesome instructions have been thrown; but
how to get and keep that healthy state of brain, stomach, and nerves which
takes away the temptation to ill-temper and anger is a subject which moral
and religious teachers seem scarcely to touch upon.
Now, without running into technical, physiological language, it is
evident, as regards us human beings, that there is a power by which we live
and move and have our being,—by which the brain thinks and wills, the
stomach digests, the blood circulates, and all the different provinces of the
little man-kingdom do their work. This something—call it nervous fluid,
nervous power, vital energy, life-force, or anything else that you will—is a
perfectly understood, if not a definable thing. It is plain, too, that people
possess this force in very different degrees; some generating it as a high
pressure engine does steam, and using it constantly, with an apparently
inexhaustible flow and others who have little, and spend it quickly. We have
a common saying, that this or that person is soon used up. Now most
nervous irritable states of temper are the mere physics’ result of a used-up
condition. The person has overspent his nervous energy,—like a man who
should eat up on Monday the whole food which was to keep him for a
week, and go growling and faint through the other days; or the quantity of
nervous force which was wanted to carry on the whole system in all its
parts is seized on by some one monopolizing portion, and used up to the
loss and detriment of the rest. Thus, with men of letters, an exorbitant brain
expends on its own wreckings what belongs to the other offices of the body:
the stomach has nothing to carry on digestion; the secretions are badly
made; and the imperfectly assimilated nourishment, that is conveyed to
every little nerve and tissue, carries with it an acrid, irritating quality,
producing general restlessness and discomfort. So men and women go
struggling on through their threescore and ten years, scarcely one in a
thousand knowing through life that perfect balance of parts, that appropriate
harmony of energies, that make a healthy, kindly animal condition,
predisposing to cheerfulness and good-will.
We Americans are, in the first place, a nervous, excitable people.
Multitudes of children, probably the great majority in the upper walks of
life, are born into the world with weaknesses of the nervous organization, or
of the brain or stomach, which make them incapable of any strong
excitement or prolonged exertion without some lesion or derangement; so
that they are continually being checked, laid up, and made invalids in the
midst of their days. Life here in America is so fervid, so fast, our climate is
so stimulating, with its clear, bright skies, its rapid and sudden changes of
temperature, that the tendencies to nervous disease are constantly
aggravated.
Under these circumstances, unless men and women make a conscience, a
religion, of saving and sparing something of themselves expressly for
home-life and home-consumption, it must follow that home will often be
merely a sort of refuge for us to creep into when we are used up and
irritable.
Papa is up and off, after a hasty breakfast, and drives all day in his
business, putting into it all there is in him, letting it drink up brain and nerve
and body and soul, and coming home jaded and exhausted, so that he
cannot bear the cry of the baby, and the frolics and pattering of the nursery
seem horrid and needless confusion. The little ones say, in their plain
vernacular, “Papa is cross.”
Mamma goes out to a party that keeps her up till one or two in the
morning, breathes bad air, eats indigestible food, and the next day is so
nervous that every straw and thread in her domestic path is insufferable.
Papas that pursue business thus day after day, and mammas that go into
company, as it is called, night after night, what is there left in or of them to
make an agreeable fireside with, to brighten their home and inspire their
children?
True, the man says he cannot help himself,—business requires it. But
what is the need of rolling up money at the rate at which he is seeking to do
it? Why not have less, and take some time to enjoy his home, and cheer up
his wife, and form the minds of his children? Why spend himself down to
the last drop on the world, and give to the dearest friends he has only the
bitter dregs?
Much of the preaching which the pulpit and the Church have levelled at
fashionable amusements has failed of any effect at all, because wrongly put.
A cannonade has been opened upon dancing, for example, and all for
reasons that will not, in the least, bear looking into. It is vain to talk of
dancing as a sin because practised in a dying world where souls are passing
into eternity. If dancing is a sin for this reason, so is playing marbles, or
frolicking with one’s children, or enjoying a good dinner, or doing fifty
other things which nobody ever dreamed of objecting to.
If the preacher were to say that anything is a sin which uses up the
strength we need for daily duties, and leaves us fagged out and irritable at
just those times and in just those places when and where we need most to be
healthy, cheerful, and self-possessed, he would say a thing that none of his
hearers would dispute. If he should add, that dancing-parties, beginning at
ten o’clock at night and ending at four o’clock in the morning, do use up the
strength, weaken the nerves, and leave a person wholly unfit for any home
duty, he would also be saying what very few people would deny; and then
his case would be made out. If he should say that it is wrong to breathe bad
air and fill the stomach with unwholesome dainties, so as to make one
restless, ill-natured, and irritable for days, he would also say what few
would deny, and his preaching might have some hope of success.
The true manner of judging of the worth of amusements is to try them by
their effects on the nerves and spirits the day after. True amusement ought
to be, as the word indicates, recreation,—something that refreshes, turns us
out anew, rests the mind and body by change, and gives cheerfulness and
alacrity to our return to duty.
The true objection to all stimulants, alcoholic and narcotic, consists
simply in this,—that they are a form of overdraft on the nervous energy,
which helps us to use up in one hour the strength of whole days.
A man uses up all the fair, legal interest of nervous power by too much
business, too much care, or too much amusement. He has now a demand to
meet. He has a complicate account to make up, an essay or a sermon to
write, and he primes himself by a cup of coffee, a cigar, a glass of spirits.
This is exactly the procedure of a man who, having used the interest of his
money, begins to dip into the principal. The strength a man gets in this way
is just so much taken out of his life-blood; it is borrowing of a merciless
creditor, who will exact, in time, the pound of flesh nearest his heart.
Much of the irritability which spoils home happiness is the letting-down
from the over-excitement of stimulus. Some will drink coffee, when they
own every day that it makes them nervous; some will drug themselves with
tobacco, and some with alcohol, and, for a few hours of extra brightness,
give themselves and their friends many hours when amiability or
agreeableness is quite out of the question. There are people calling
themselves Christians who live in miserable thraldom, forever in debt to
Nature, forever overdrawing on their just resources, and using up their
patrimony, because they have not the moral courage to break away from a
miserable appetite.
The same may be said of numberless indulgences of the palate, which
tax the stomach beyond its power, and bring on all the horrors of
indigestion. It is almost impossible for a confirmed dyspeptic to act like a
good Christian; but a good Christian ought not to become a confirmed
dyspeptic. Reasonable self-control, abstaining from all unseasonable
indulgence, may prevent or put an end to dyspepsia, and many suffer and
make their friends suffer only because they will persist in eating what they
know is hurtful to them.
But it is not merely in worldly business, or fashionable amusements, or
the gratification of appetite, that people are tempted to overdraw and use up
in advance their life-force. It is done in ways more insidious, because
connected with our moral and religious faculties. There are religious
exaltations beyond the regular pulse and beatings of ordinary nature, that
quite as surely gravitate downward into the mire of irritability. The ascent to
the third heaven lets even the Apostle down to a thorn in the flesh, the
messenger of Satan to buffet him.
It is the temptation of natures in which the moral faculties predominate
to overdo in the outward expression and activities of religion till they are
used up and irritable, and have no strength left to set a good example in
domestic life.
The Reverend Mr. X. in the pulpit to-day appears with the face of an
angel; he soars away into those regions of exalted devotion where his
people can but faintly gaze after him; he tells them of the victory that
overcometh the world, of an unmoved faith that fears no evil, of a serenity
of love that no outward event can ruffle; and all look after him and wonder,
and wish they could so soar.
Alas! the exaltation which inspires these sublime conceptions, these
celestial ecstasies, is a double and treble draft on Nature,—and poor Mrs.
X. knows, when she hears him preaching, that days of miserable reaction
are before her. He has been a fortnight driving before a gale of strong
excitement, doing all the time twice or thrice as much as in his ordinary
state he could, and sustaining himself by the stimulus of strong coffee. He
has preached or exhorted every night, and conversed with religious
inquirers every day, seeming to himself to become stronger and stronger,
because every day more and more excitable and excited. To his hearers,
with his flushed sunken cheek and his glittering eye, he looks like some
spiritual being just trembling on his flight for upper worlds; but to poor
Mrs. X., whose husband he is, things wear a very different aspect. Her
woman and mother instincts tell her that he is drawing on his life-capital
with both hands, and that the hours of a terrible settlement must come, and
the days of darkness will be many. He who spoke so beautifully of the
peace of a soul made perfect will not be able to bear the cry of his baby or
the pattering feet of any of the poor little X.s, who must be sent
“Anywhere, anywhere,
Out of his sight”;
REPRESSION.
Is not this true of all unreasoning love and self-devotion? If we let our
friend become cold and selfish and exacting without a remonstrance, we are
no true lover, no true friend. Any good man soon learns to discriminate
between the remonstrance that comes from a woman’s love to his soul, her
concern for his honor, her anxiety for his moral development, and the
pettish cry which comes from her own personal wants. It will be your own
fault, if, for lack of anything you can do, your husband relapses into these
cold, undemonstrative habits which have robbed his life of so much beauty
and enjoyment. These dead, barren ways of living are as unchristian as they
are disagreeable; and you, as a good little Christian sworn to fight
heroically under Christ’s banner, must make headway against this sort of
family Antichrist, though it comes with a show of superior sanctity and self-
sacrifice. Remember, dear, that the Master’s family had its outward tokens
of love as well as its inward life. The beloved leaned on His bosom; and the
traitor could not have had a sign for his treachery, had there not been a daily
kiss at meeting and parting with His children.”
“I am glad you have said all this,” said Emily, “because now I feel
stronger for it. It does not now seem so selfish for me to want what it is
better for John to give. Yes, I must seek what will be best for him.”
And so the little one, put on the track of self-sacrifice, began to see her
way clearer, as many little women of her sort do. Make them look on self-
assertion as one form of martyrdom, and they will come into it.
But, for all my eloquence on this evening, the house was built in the
selfsame spot as projected; and the family life went on, under the shadow of
Judge Evans’s elms, much as if I had not spoken. Emmy became mother of
two fine, lovely boys, and waxed dimmer and fainter; while with her
physical decay came increasing need of the rule in the household of
mamma and sisters, who took her up energetically on eagles’ wings, and
kept her house, and managed her children: for what can be done when a
woman hovers half her time between life and death?
At last I spoke out to John, that the climate and atmosphere were too
severe for her who had become so dear to him,—to them all; and then they
consented that the change much talked of and urged, but always opposed by
the parents, should be made.
John bought a pretty cottage in our neighborhood, and brought his wife
and boys; and the effect of change of moral atmosphere verified all my
predictions. In a year we had our own blooming, joyous, impulsive little
Emily once more,—full of life, full of cheer, full of energy,—looking to the
ways of her household,—the merry companion of her growing boys,—the
blithe empress over her husband, who took to her genial sway as in the old
happy days of courtship. The nightmare was past, and John was as joyous
as any of us in his freedom. As Emmy said, he was turned right side out for
life; and we all admired the pattern. And that is the end of my story.
And now for the moral,—and that is, that life consists of two parts,—
Expression and Repression,—each of which has its solemn duties. To love,
joy, hope, faith, pity, belongs the duty of expression: to anger, envy, malice,
revenge, and all uncharitableness, belongs the duty of repression.
Some very religious and moral people err by applying repression to both
classes alike. They repress equally the expression of love and of hatred, of
pity and of anger. Such forget one great law, as true in the moral world as in
the physical,—that repression lessens and deadens. Twice or thrice mowing
will kill off the sturdiest crop of weeds; the roots die for want of expression.
A compress on a limb will stop its growing; the surgeon knows this, and
puts a tight bandage around a tumor; but what if we put a tight bandage
about the heart and lungs, as some young ladies of my acquaintance do,—or
bandage the feet, as they do in China? And what if we bandage a nobler
inner faculty, and wrap love in grave-clothes?
But again there are others, and their number is legion,—perhaps you and
I, reader, may know something of it in ourselves,—who have an instinctive
habit of repression in regard to all that is noblest and highest within them,
which they do not feel in their lower and more unworthy nature.
It comes far easier to scold our friend in an angry moment than to say
how much we love, honor, and esteem him in a kindly mood. Wrath and
bitterness speak themselves and go with their own force; love is shame-
faced, looks shyly out of the window, lingers long at the door-latch.
How much freer utterance among many good Christians have anger,
contempt, and censoriousness, than tenderness and love! I hate is said loud
and with all our force. I love is said with a hesitating voice and blushing
cheek.
In an angry mood we do an injury to a loving heart with good, strong,
free emphasis; but we stammer and hang back when our diviner nature tells
us to confess and ask pardon. Even when our heart is broken with
repentance, we haggle and linger long before we can
How many live a stingy and niggardly life in regard to their richest
inward treasures! They live with those they love dearly, whom a few more
words and deeds expressive of this love would make so much happier,
richer, and better; and they cannot, will not, turn the key and give it out.
People who in their very souls really do love, esteem, reverence, almost
worship each other, live a barren, chilly life side by side, busy, anxious,
preoccupied, letting their love go by as a matter of course, a last year’s
growth, with no present buds and blossoms.
Are there not sons and daughters who have parents living with them as
angels unawares,—husbands and wives, brothers and sisters, in whom the
material for a beautiful life lies locked away in unfruitful silence,—who
give time to everything but the cultivation and expression of mutual love?
The time is coming, they think, in some far future, when they shall find
leisure to enjoy each other, to stop and rest side by side, to discover to each
other these hidden treasures which lie idle and unused.
Alas! time flies and death steals on, and we reiterate the complaint of
one in Scripture,—“It came to pass, while thy servant was busy hither and
thither, the man was gone.”
The bitterest tears shed over graves are for words left unsaid and deeds
left undone. “She never knew how I loved her.” “He never knew what he
was to me.” “I always meant to make more of our friendship.” “I did not
know what he was to me till he was gone.” Such words are the poisoned
arrows which cruel Death shoots backward at us from the door of the
sepulchre.
How much more we might make of our family life, of our friendships, if
every secret thought of love blossomed into a deed! We are not now
speaking merely of personal caresses. These may or may not be the best
language of affection. Many are endowed with a delicacy, a fastidiousness
of physical organization, which shrinks away from too much of these,
repelled and overpowered. But there are words and looks and little
observances, thoughtfulnesses, watchful little attentions, which speak of
love, which make it manifest, and there is scarce a family that might not be
richer in heart-wealth for more of them.
It is a mistake to suppose that relations must of course love each other
because they are relations. Love must be cultivated, and can be increased by
judicious culture, as wild fruits may double their bearing under the hand of
a gardener; and love can dwindle and die out by neglect, as choice flower-
seeds planted in poor soil dwindle and grow single.
Two causes in our Anglo-Saxon nature prevent this easy faculty and flow
of expression which strike one so pleasantly in the Italian or the French life:
the dread of flattery, and a constitutional shyness.
“I perfectly longed to tell So-and-so how I admired her, the other day,”
says Miss X.
“And why in the world didn’t you tell her?”
“O, it would seem like flattery, you know.”
Now what is flattery?
Flattery is insincere praise given from interested motives, not the sincere
utterance to a friend of what we deem good and lovely in him.
And so, for fear of nattering, these dreadfully sincere people go on side
by side with those they love and admire, giving them all the time the
impression of utter indifference. Parents are so afraid of exciting pride and
vanity in their children by the expression of their love and approbation, that
a child sometimes goes sad and discouraged by their side, and learns with
surprise, in some chance way, that they are proud and fond of him. There
are times when the open expression of a father’s love would be worth more
than church or sermon to a boy; and his father cannot utter it, will not show
it.
The other thing that represses the utterances of love is the characteristic
shyness of the Anglo-Saxon blood. Oddly enough, a race born of two
demonstrative, out-spoken, nations—the German and the French—has an
habitual reserve that is like neither. There is a powerlessness of utterance in
our blood that we should fight against, and struggle outward towards
expression. We can educate ourselves to it, if we know and feel the
necessity; we can make it a Christian duty, not only to love, but to be
loving,—not only to be true friends, but to show ourselves friendly. We can
make ourselves say the kind things that rise in our hearts and tremble back
on our lips,—do the gentle and helpful deeds which we long to do and
shrink back from; and, little by little, it will grow easier,—the love spoken
will bring back the answer of love,—the kind deed will bring back a kind
deed in return,—till the hearts in the family-circle, instead of being so many
frozen, icy islands, shall be full of warm airs and echoing bird-voices
answering back and forth with a constant melody of love.