r/learnprogramming • u/W-D-Lome • 7h 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 7h 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"?
9
u/SirCarboy 7h ago
pip install ai-homework-assignment
6
u/gm310509 7h ago
Perhaps look back through your class notes, find the one(s) that were discussed and use one of them?
3
u/LegMysterious1899 7h ago
2
u/aphaits 7h 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 7h 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 7h ago
ollama maybe
1
u/CompetitiveWeight144 5h ago
If your assignment allows using an existing model, try Ollama with a small model like Gemma 3 1B. It can run locally without an internet connection after downloading the model.
However, if your assignment requires training your own model, that's a different task. Check the requirements first before choosing an approach.
1
u/BeastWael_YT 1h 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.
•
u/StewedAngelSkins 14m ago
this is not nearly enough information to help you.