r/learnprogramming • • 8d 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

14 comments sorted by

2

u/PoMoAnachro 8d 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"?

1

u/W-D-Lome 8d ago

i have to make an enitre one, with pyhton, and my teacher never taught me how

1

u/lurgi 8d ago

Your assignment is "Make an entire AI model"?

I rather doubt that you are giving us the complete story. If you are, complain to the school.

10

u/SirCarboy 8d ago

pip install ai-homework-assignment

6

u/gm310509 8d ago

Perhaps look back through your class notes, find the one(s) that were discussed and use one of them?

3

u/LegMysterious1899 8d ago
>pip install ai

import ai
ai.model("Opus 5.5")

2

u/aphaits 8d 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 8d 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/s_jouni-896 2d ago

Since OP clarified they must make the whole model in Python, running a downloaded local model likely won't satisfy the assignment unless pretrained models are allowed.

1

u/Flimsy_Pumpkin_3812 8d ago

ollama maybe

1

u/BeastWael_YT 8d 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 8d ago

this is not nearly enough information to help you.