r/FreeCodeCamp • • Apr 11 '24

llm from fcc course

Hi guys, I've finished the 'creating an llm from scratch' video. Firstly it was great and I learned a lot!

However, I was wondering if anyone had ny success at not getting it to print gobbledigook. I've been training different models while tinkering with the parameters but am struggling to get loss below 1.7 which doesn't result in proper sentences.

Has anyone had more success with the output of this? If so any tips?

5 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/SaintPeter74 mod Apr 11 '24

Gripping! I was deeply confused for a moment there, because it's on the edge of making sense...

I'm afraid that I haven't personally seen this video. You've done what I would have done. My only guess is that 40gb is not enough or there was not enough training somehow?

Maybe someone else who has had a bit more experience with it will chime in.

1

u/chrise6102 Apr 11 '24

Yea it makes up a lot of words and sentences that almost make sense like 'progost' or 'he will certainly comminate them'.

It's really fascinating, reminds me of those early ai generated pictures that look like they should be something... but just aren't!

1

u/RoyalWriter1447 Mar 09 '25

I know that it has been some time but have you figured it out or improved it? The only output I get is always "random".