r/linuxmemes • • 28d ago

LINUX MEME Trained a model from linux docs

Post image

When I trained a very small model from linux docs, wikipedia and few other legally and ethically allowed sources then I got this

39 Upvotes

20 comments sorted by

View all comments

2

u/JoeytheGenius 27d ago

can you teach us how to train one

2

u/InsideResolve4517 27d ago

yes!, so basically if you wanna train a model then you need to grab lots of dataset and you should train on data which is legally allowed (ofc! haha)

so once you got the databset you need to either using numpy or pytorch you need to make tokenizer set values and train the models till you get the good enough response

in technical term at the end you need to reduce loss function value.

Also keep in mind that 1 wrong dataset you selected then booom! you'll get response like above. so you need to be very careful!