Playing with AI
So we have gone on an AI bandwagon. Turns out AI in agent mode can be
tremendous help in generating code and documentation. Prompt AI is
good only for handling small problems but agent can integrate with
IDEs and increase productivity by a few times.
The next frontier is locally running AI and so this way one is free
from AI provider plans and the only cost is for electricity and
hardware. Now a good AI system needing a bunch of AI chips is still
costly. But the control could be worth it.
For an experiment I started on my now 10 year old Blue Lenovo laptop
with Pentium B950. This processor is so old that it does not support
AVX2 and so can not really do anything. I can still use this for
coding. Actually the bootup was way slow at about 2 mins. But with
generous help from chatgpt I was able to bring it down to a minute
which is quite good. I also removed a bunch of unneeded things thus
making it quite faster to work too.
So my goal is to use my new laptop with windows to host the AI. I see
that it can run a decent good model like codellama-7b-instruct. Then I
can figure out on how to let my coding machine talk to this hosted AI.
Hopefully I can run this in complete offline mode and see how good it
is. Maybe it needs online help for search, and I should be able to
configure something.
But that's the goal and a way to use AI at cheap. Otherwise cursor,
trae etc AI agents work great but the cost is something I don't want
to pay. Well, that's life. Something interesting going on. Cheers!!
tremendous help in generating code and documentation. Prompt AI is
good only for handling small problems but agent can integrate with
IDEs and increase productivity by a few times.
The next frontier is locally running AI and so this way one is free
from AI provider plans and the only cost is for electricity and
hardware. Now a good AI system needing a bunch of AI chips is still
costly. But the control could be worth it.
For an experiment I started on my now 10 year old Blue Lenovo laptop
with Pentium B950. This processor is so old that it does not support
AVX2 and so can not really do anything. I can still use this for
coding. Actually the bootup was way slow at about 2 mins. But with
generous help from chatgpt I was able to bring it down to a minute
which is quite good. I also removed a bunch of unneeded things thus
making it quite faster to work too.
So my goal is to use my new laptop with windows to host the AI. I see
that it can run a decent good model like codellama-7b-instruct. Then I
can figure out on how to let my coding machine talk to this hosted AI.
Hopefully I can run this in complete offline mode and see how good it
is. Maybe it needs online help for search, and I should be able to
configure something.
But that's the goal and a way to use AI at cheap. Otherwise cursor,
trae etc AI agents work great but the cost is something I don't want
to pay. Well, that's life. Something interesting going on. Cheers!!
Comments
Post a Comment