Recent

Recent Posts

Pages: [1] 2 3 ... 10
1
General / Re: Free AI to use in local
« Last post by Thaddy on Today at 11:05:25 am »
BTW I am willing to share my code, but that is basically the same as one of schuler's examples. The data would be useless to others because it is trained based on data for my particular household.
OTOH I'll see if I can create some examples for fuzzy logic. That is much less data intensive and a good introduction to a form of AI that many people can start using right away.
2
General / Re: Free AI to use in local
« Last post by cdbc on Today at 10:57:46 am »
Hi
There's this https://github.com/PassByYou888/Z-AI1.4
You'll have to translate texts from chinese, but afaics it's written in Delphi...
Maybe, just maybe it could be something to work with...
The Author was on this forum once to announce it, one could probably contact him/her, I dunno...
Regards Benny
3
General / Re: Free AI to use in local
« Last post by Thaddy on Today at 10:55:29 am »
Hi,

@BSaidus

First, you need to define what type of AI you want to use.
Correct
Quote
If you're thinking of creating a system comparable to ChatGPT, then you're going to need a big computer, with one or more NVIDIA power cards, lots of memory and hard disk, and a lot of free time to train your model, not to mention data collection.
You greatly under-estimate the hardware requirements here.
Quote
Training a model from a dataset can take hours or even days.
years. but the better part of data collection can be automated.
Quote
Most AI programs are written in Python and call libraries written in C and C++, and are more suited to the Linux world
You mean python is used as an interface? I have done the same for chatGPT, remember.
That is not written in python... interfacing can be done in any lightweight language. True AI can not be written in python, it simply does not have the speed or capabilities.
Quote
The only 2 exceptions, as far as I know, are schuler's CAI, written in Pascal and allowing graphics acceleration thanks to OpenCL and Darknet/Yolo (specialized in fast object detection)
there are many more using opencl, I know of hundreds, many on github.
Quote
So, I advise first, if you want to use the Pascal, to take a look at the excellent work of Joao-Paulo Schuler (CAI) and try his examples.
I could not agree more AND you would be capable of achieving professional results, because that is professionaly written top notch code.
Quote
Now, it is also possible to create a GUI in Pascal for an existing AI program and call it from the GUI.

I did it for Yolo/Darknet.

But the first thing to do is to define what your AI is going to be used for.

B->
Nice!
4
General / Re: how to change the color font and background of a button
« Last post by KodeZwerg on Today at 10:54:26 am »
As an alternate approach that does not need to install any third party you can tweak a panel in whatever way you like to simulate a button.
(OnClick would be just one of the events, OnEnter OnExit OnMouseEnter OnMouseLeave to show some hover over effect)
It would need some time to figure out all the possibilities but once mastered its quit a cool replacement.
5
LCL / Re: Using KeyPress event, how to get subsequent key presses?
« Last post by KodeZwerg on Today at 10:44:31 am »
I also suggest KeyUp event for logging a released key, if its just pure character keys you are hunting at, eg for some undo, you could also use OnChange from TMemo by logging position and the change, ie insert/remove/replace action ...
6
General / Re: Free AI to use in local
« Last post by Dzandaa on Today at 10:40:01 am »
Hi,

@BSaidus

First, you need to define what type of AI you want to use.

If you're thinking of creating a system comparable to ChatGPT, then you're going to need a big computer, with one or more NVIDIA power cards, lots of memory and hard disk, and a lot of free time to train your model, not to mention data collection.

Training a model from a dataset can take hours or even days.

Most AI programs are written in Python and call libraries written in C and C++, and are more suited to the Linux world

The only 2 exceptions, as far as I know, are schuler's CAI, written in Pascal and allowing graphics acceleration thanks to OpenCL and Darknet/Yolo (specialized in fast object detection)

So, I advise first, if you want to use the Pascal, to take a look at the excellent work of Joao-Paulo Schuler (CAI) and try his examples.

Now, it is also possible to create a GUI in Pascal for an existing AI program and call it from the GUI.

I did it for Yolo/Darknet.

But the first thing to do is to define what your AI is going to be used for.

B->

7
General / Re: Free AI to use in local
« Last post by Thaddy on Today at 10:19:31 am »
well, it is not so much the code, but suffient enough data; TB's, gb's, not mb's.
Schuler has some links to public domain data sources.
chatGPT can be licensed to work off-line but requires your own datacenter! not just a network. And it is very expensive. What you obviously want to do is use something like chatGPT, general purpose AI, and that is in practice simply not possible or feasable to do locally and there are no open source solutions that you can run on a local network.
For example my simple voice recognition software using schuler's software required about 3-4gb data for only 7 voices to achieve 92% accuracy and then it can only couple it to the name, it does not understand words, just the sound of a voice using FFT to analyze the spectrum and feed that into schuler's neural network code.
The program itself is less than 2000 lines of code (excluding schuler's code). That is not the problem. The problem is the data needed and sufficient hardware capabillities to perform it in reasonable time.
OTOH for specific simple tasks, with e.g. Zadeh combinary logic you can do things like setting an iso value based on light intensity with increasing accuracy so that it operates on the collected data and learns from its use. That is less data intensive, but specific and that is not  what you mean.

Also note that one of the big three has the intention to open source its general purpose AI (I think it is facebook, meta) but as I said, it is all about the data and processing power. Less useful for you and me...
8
General / Re: Free AI to use in local
« Last post by BSaidus on Today at 10:03:59 am »
Thanks @Thaddy.
What I want really is :
   Some opensource ( Free engine ) that I can download and install ( generally small executable ), when executing it download some templates and install them, after that I can use it offline ( no internet connection ). And have a possibility to feed this IA.
      [-----------------]                       [---------------------------------------]   
      [ AI .exe engine] <---------------[Download DB template & go offline]
      [-----------------]                       [---------------------------------------]
       ^            ^
       |             |
       |             |
       |             |
       |             | (user1) ... (user2)   ( will use AI in office without internet 
       |
       |(user0 feed AI with adequate information concerning the office business).

The documents, informations feeded by user0 can't go online.
The final thing is the possiblity for me to exploite this AI with FPC/lazarus program (Ex: program feeding AI and exploiting AI is writing FPC/LAZARUS).

Thanks you.
9
LCL / Re: Controlling the behavior - JVCLLaz - JvDBLookUpCombo?
« Last post by rvk on Today at 08:31:48 am »
Or change London into MMMMMMMMMM (10x M)  ;)
10
Other / Re: A "leisure" question on Wirthian languages.
« Last post by Awkward on Today at 07:59:12 am »
i thinked, Strannik and XDS can compile itself.

PS. Thaddy, you can support terrorits as long as you want. but can you don't share your politic favourites on forum please? I not about your avatar (it your rights) but about your personal text below.
Pages: [1] 2 3 ... 10

TinyPortal © 2005-2018