The "Next Token" Prediction Test
In AI, the most basic form of intelligence is Probability. We want to see if the dataset "knows" that begin is usually followed by an indented block or a specific command.
Try building this "Probability Checker" in Delphi 7 to test your new files:
procedure ...
Search found 137 matches
- Fri Apr 03, 2026 1:08 am
- Forum: It's all about AI
- Topic: How to build your AI using Object Pascal (Part 1)
- Replies: 1
- Views: 1012
- Fri Apr 03, 2026 1:01 am
- Forum: It's all about AI
- Topic: How to build your AI using Object Pascal (Part 1)
- Replies: 1
- Views: 1012
How to build your AI using Object Pascal (Part 1)
The "Pascal Programmer" AI: Complete Lexer & Dataset Builder
This single program combines the Tokenizer, the Lexer, and a Recursive Directory Scanner to turn your entire codebase into a binary dataset for training.
program PascalAIDatasetBuilder;
{$APPTYPE CONSOLE}
uses
SysUtils, Classes ...
This single program combines the Tokenizer, the Lexer, and a Recursive Directory Scanner to turn your entire codebase into a binary dataset for training.
program PascalAIDatasetBuilder;
{$APPTYPE CONSOLE}
uses
SysUtils, Classes ...
- Fri Apr 03, 2026 12:56 am
- Forum: It's all about AI
- Topic: what are python biggest weaknesses?
- Replies: 0
- Views: 520
what are python biggest weaknesses?
Key Weaknesses of Python:
Slow Speed: As an interpreted language, Python is slower than languages like C or C++ because it translates code during runtime rather than beforehand.
Global Interpreter Lock (GIL): The GIL prevents simultaneous execution of multiple threads, making it challenging to ...
Slow Speed: As an interpreted language, Python is slower than languages like C or C++ because it translates code during runtime rather than beforehand.
Global Interpreter Lock (GIL): The GIL prevents simultaneous execution of multiple threads, making it challenging to ...
- Thu Apr 02, 2026 12:02 am
- Forum: Turbo Pascal 7 Compiler
- Topic: Runtime Error Codes...
- Replies: 0
- Views: 2350
Runtime Error Codes...
Code Meaning
1 Invalid function number
2 File not found
3 Path not found
4 Too many open files
5 File access denied
6 Invalid file handle
12 Invalid file access code
15 Invalid drive number
16 Cannot remove current directory
17 Cannot rename across drives
18 No more files
100 Disk read error
101 ...
- Wed Apr 01, 2026 10:18 pm
- Forum: It's all about AI
- Topic: Building an AI using Pascal.
- Replies: 4
- Views: 10079
Re: Building an AI using Pascal.
April Fools Work:
1. Higher-Level API (Keras-style)
• Introduce layer configuration records (activation, kernel init, bias init, dropout rate, etc.).
• Provide builder functions like `DenseLayer`, `ConvLayer`, `RNNLayer`, returning configured `PLayer` instances.
• Add `TModelConfig ...
1. Higher-Level API (Keras-style)
• Introduce layer configuration records (activation, kernel init, bias init, dropout rate, etc.).
• Provide builder functions like `DenseLayer`, `ConvLayer`, `RNNLayer`, returning configured `PLayer` instances.
• Add `TModelConfig ...
- Wed Apr 01, 2026 9:43 pm
- Forum: It's all about AI
- Topic: Building an AI using Pascal.
- Replies: 4
- Views: 10079
Re: Building an AI using Pascal.
Code: Select all
O:\PascalScriptEngine\DevPas>DevPas XORProblem.pas 0, 1, 1, 0 Finished.
- Wed Apr 01, 2026 9:37 pm
- Forum: It's all about AI
- Topic: Building an AI using Pascal.
- Replies: 4
- Views: 10079
Re: Building an AI using Pascal.
Suggested Project: The XOR Problem
Don't try to build a Chatbot or Image Generator first. In Turbo Pascal, start with the XOR Problem.
Inputs: (0,0), (0,1), (1,0), (1,1)
Expected Outputs: 0, 1, 1, 0
Structure: 2 Inputs, 2 Hidden Neurons, 1 Output Neuron.
Summary of the "Pure Pascal" Workflow ...
Don't try to build a Chatbot or Image Generator first. In Turbo Pascal, start with the XOR Problem.
Inputs: (0,0), (0,1), (1,0), (1,1)
Expected Outputs: 0, 1, 1, 0
Structure: 2 Inputs, 2 Hidden Neurons, 1 Output Neuron.
Summary of the "Pure Pascal" Workflow ...
- Wed Apr 01, 2026 9:35 pm
- Forum: It's all about AI
- Topic: Building an AI using Pascal.
- Replies: 4
- Views: 10079
Re: Building an AI using Pascal.
Challenges and Best Practices
1. Numeric Precision
Turbo Pascal's Real type (6-byte) has limited precision. For better results, use the {$N+} compiler directive to enable the 8087 Floating Point Emulator (or coprocessor) and use the Double or Extended types.
{$N+} { Enable 8087 numeric support ...
1. Numeric Precision
Turbo Pascal's Real type (6-byte) has limited precision. For better results, use the {$N+} compiler directive to enable the 8087 Floating Point Emulator (or coprocessor) and use the Double or Extended types.
{$N+} { Enable 8087 numeric support ...
- Wed Apr 01, 2026 9:31 pm
- Forum: It's all about AI
- Topic: Building an AI using Pascal.
- Replies: 4
- Views: 10079
Building an AI using Pascal.
Yes it is possible!
According to Gemini, can GPT 5.1 Codex - you can develop an AI using Pure Pascal...
High-Level Overview
To create a functional AI (like a Multi-Layer Perceptron) in Pure Pascal, you need to build four core components:
Data Structures: Matrix and Vector representations ...
According to Gemini, can GPT 5.1 Codex - you can develop an AI using Pure Pascal...
High-Level Overview
To create a functional AI (like a Multi-Layer Perceptron) in Pure Pascal, you need to build four core components:
Data Structures: Matrix and Vector representations ...
- Tue Mar 31, 2026 8:35 pm
- Forum: It's all about AI
- Topic: claude!
- Replies: 1
- Views: 54965
Re: claude!
* Broken Trust!