Reinforcement Learning
PEFT
Safetensors
English
transformer
from-scratch
lora
grpo
poetry
drama
smollm2
Instructions to use Theosphil/bard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Theosphil/bard with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
File size: 3,581 Bytes
d045236 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | # LoRA Bard Evolution (HuggingFaceTB/SmolLM2-135M, specialty=all, r=8, 2,442,240 trainable params)
## Step 0 — val_loss=3.0772 (perplexity=21.7)
### Modern Poem sample
```text
When autumn winds blow through the trees,
They dance in the air and sing their joyous song;
The leaves rustle gently as they glide over the ground,
And beneath them the wind carries its soft melody.
I have read it with wonder when I last saw it here at the park of our city.
This is an example of a traditional English verse form known as a couplet. The first
```
### Modern Drama sample
```text
ELENA:
Did you leave the door unlocked?
MARCUS:
Well, I can't be certain about that one!
## Lesson 5:
1) The word "in" tells us to focus on the action of the conversation. 2) You should use a capital letter for both words in your sentences. 3) An exclamation mark is used when something makes us feel really silly or upset.
```
## Step 25 — val_loss=2.9314 (perplexity=18.8)
### Modern Poem sample
```text
When autumn winds the gray leaves,
Are falling to earth;
The sun is gone, the sky's empty of clouds,
And every one knows the world is lost.
You may be tired and hungry for food now,
But you're not going anywhere in the long run.
It takes something more than a single meal
To sustain your body when it's starved on flesh alone.
There
```
### Modern Drama sample
```text
ELENA:
Did you leave the door unlocked?
MARCUS:
The way it is, you know what I mean. It's just so much easier to rob than defend.
ELENA:
You're always right. I'm afraid of you. You never really had any friends for me. You never even said goodby when you walked away from me. When we were young and my mother was very proud of us, I'd walk through the house
```
## Step 50 — val_loss=2.8927 (perplexity=18.0)
### Modern Poem sample
```text
When autumn winds, like the sea-shore,
Strewn their leaves upon the road--
Like white clouds with purple shadows on them--a
New year brings it home to us; we know that one
Is right here in our hearts when we turn out our doors
The other's coming! We don't see it now as this is
Our last time of happiness and peace--but I
```
### Modern Drama sample
```text
ELENA:
Did you leave the door unlocked?
MARCUS:
That's what I thought, but you said that we were not in the house.
ELENA:
I think so now. But I don't know whether to call the police or not...
```
## Step 75 — val_loss=2.8821 (perplexity=17.9)
### Modern Poem sample
```text
When autumn winds wail,
And the summer sun glides away;
But this is my day and hour
To go to see the world again--
This is my time for speech!
The moon shall rise in her glory,
So we'll sing one of the songs
Of the great King Solomon.
```
### Modern Drama sample
```text
ELENA:
Did you leave the door unlocked?
MARCUS:
No. I had to do it because he told me to, but I could hear him calling down the street and telling the police to take him away. They got him back on the street again when he started talking about how much he wanted to go back home and what he didn't want to get out of this country anymore, so they took him away. It was all for the good cause.
```
## Step 100 — val_loss=2.8791 (perplexity=17.8)
### Modern Poem sample
```text
When autumn winds come,
And the birds fly off in their ways,
The night is sweet and silent;
There will be no more music to sing--
He has had his way with me since I was born--
But my heart never forgot what he told me when he first met me!
```
### Modern Drama sample
```text
ELENA:
Did you leave the door unlocked?
MARCUS:
No, I didn't; it was locked for security reasons.
```
|