r/learnprogramming • u/W-D-Lome • 1d ago
how to easily make ai model?
i want to make an only-text ai model, but i want something simple and quick because it's just for an assignment that i honestly just wants to get it mark and leave it, also it has to be local
0
Upvotes
2
u/PoMoAnachro 1d ago
What do you mean by making a model? Are you taking a machine learning course and your professor is expecting you to put together something using an RNN or LSTM? Or are you taking a class where you're just supposed to install a local model using ollama? Or what?
I know you want to do this using your brain as little as possible but you at least need to comprehend the assignment. What do you mean by "make a model"?
10
u/SirCarboy 1d ago
pip install ai-homework-assignment
6
u/gm310509 1d ago
Perhaps look back through your class notes, find the one(s) that were discussed and use one of them?
3
u/LegMysterious1899 1d ago
2
u/aphaits 1d ago
first you have to create the universe from scratch
but seriously, whats the assignment specs and requirements? what specific class is this for?
2
u/Prometheus2025 1d ago
I recommend you use Ollama. There are YouTube guides that show you how to install the Software.
Then you have to download the models.
There are steps in between.
Then you can run the model.
It CAN run locally. So that part is fine.
I use them regularly and they are a lot of fun.
1
u/Flimsy_Pumpkin_3812 1d ago
ollama maybe
1
u/BeastWael_YT 21h ago
if you have to build one yourself in python, the simplest route is a tiny character-level or word-level model, like a markov chain or a small lstm in pytorch. karpathy's 'makemore' videos walk through exactly that and run fine on a laptop cpu. if the assignment just says local model, ollama with a small one works too, but check the spec first so you build the right thing.
1
u/StewedAngelSkins 20h ago
this is not nearly enough information to help you.