Search found 124 matches: layer

Searched query: layer

by Antonio Linares
Sat Jan 11, 2025 8:23 pm
Forum: Artificial Intelligence examples
Topic: CLASS Transformer
Replies: 2
Views: 806

Re: CLASS Transformer

#include "FiveWin.ch"

// Función principal para entrenar el Transformer
PROCEDURE Main()
LOCAL d_model := 128
LOCAL n_heads := 4
LOCAL num_layers := 1
LOCAL learning_rate := 0.001
LOCAL max_epochs := 100
LOCAL output, loss, d_output, epoch

// Generar datos de entrada y salida aleatorios ...
by Antonio Linares
Sat Jan 11, 2025 8:06 pm
Forum: Artificial Intelligence examples
Topic: CLASS Transformer
Replies: 2
Views: 806

Re: CLASS Transformer

#include "FiveWin.ch"

// Función principal para entrenar el Transformer
PROCEDURE Main()
LOCAL d_model := 128
LOCAL n_heads := 4
LOCAL num_layers := 1
LOCAL learning_rate := 0.01
LOCAL max_epochs := 100
LOCAL output, loss, d_output, epoch

// Generar datos de entrada y salida aleatorios ...
by Otto
Tue Nov 12, 2024 10:02 pm
Forum: FiveWin for Harbour/xHarbour
Topic: cloud or not cloud
Replies: 34
Views: 10477

Re: cloud or not cloud

... and believe I have found an effective solution that balances self-hosting and external hosting.

I plan to use Cloudflare as a protective layer to mitigate attacks and mask the server's IP address. This setup provides DDoS protection and a Web Application Firewall (WAF) to further secure ...
by Marcelo Via Giglio
Wed Nov 06, 2024 7:07 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Error ADSCDX/6605
Replies: 2
Views: 387

Re: Error ADSCDX/6605

Hola,

esto hay en el manual

6605 Client comm layer received more data from the Advantage Database Server than it was expecting

saludos

Marcelo
by Otto
Tue Nov 05, 2024 8:03 am
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse: A Vision for a Simpler, More Flexible Future
Replies: 5
Views: 1142

xBrowse: A Vision for a Simpler, More Flexible Future

... xBrowse?
The plan: a clear separation of data access and presentation to improve maintainability and scalability.

My approach:

Data Access Layer: Separate modules for different databases (DBF, SQL, APIs) to create a unified interface.

xBrowse Display: Data shown only from in-memory arrays ...
by Otto
Sun Oct 20, 2024 9:35 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Route from Fiber Optic to the Web Server
Replies: 3
Views: 924

Route from Fiber Optic to the Web Server

... to the UniFi USG (UniFi Security Gateway). The USG serves as an additional router or firewall, managing your network security.
This adds another layer of protection to your network.
Connection from UniFi USG to a Switch:

The UniFi USG is connected to a Switch, which expands the number of ...
by Otto
Sun Oct 20, 2024 6:39 pm
Forum: mod_harbour
Topic: Route from Fiber Optic to the Web Server
Replies: 0
Views: 5208

Route from Fiber Optic to the Web Server

... to the UniFi USG (UniFi Security Gateway). The USG serves as an additional router or firewall, managing your network security.
This adds another layer of protection to your network.
Connection from UniFi USG to a Switch:

The UniFi USG is connected to a Switch, which expands the number of ...
by Adolfo
Mon Oct 07, 2024 1:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Two monitors, show different windows
Replies: 10
Views: 1492

Re: Two monitors, show different windows

... Local oBrush2
Local oWnd2
Local oMonitor2 := FW_GetMonitor( 2 )

DEFINE FONT oBold NAME 'Tahoma' SIZE 0, -320 BOLD
DEFINE BRUSH oBRush2 RESOURCE "LAYER" TILED

DEFINE WINDOW oWnd2 FROM oMonitor2:Row(50), oMonitor2:Col(10) TO ;
oMonitor2:Row(600),oMonitor2:Col(800) PIXEL NOSYSMENU NOCAPTION Brush ...
by Otto
Thu Sep 19, 2024 10:19 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Video Migration from DBF to SQL (MySQL/MariaDB) Mr. Rao
Replies: 5
Views: 1371

Video Migration from DBF to SQL (MySQL/MariaDB) Mr. Rao

... direct access to DBF files or any other local storage, you can manipulate and process the data immediately without needing to pass through the SQL layer. This is often more efficient when your data is in formats like DBF and you control how it's accessed.
Custom Logic and Flexibility:
You have more ...
by TimStone
Wed Jul 03, 2024 1:09 am
Forum: FiveWin for Harbour/xHarbour
Topic: EZTexting Send Message
Replies: 8
Views: 1157

Re: EZTexting Send Message

... SMS service. I wanted to see if my clients would actually use it, so I did not expand the class to include receiving replies. That is a whole other layer of complication, but I may do it.

Here is my complete program which includes logging, and also the ability to do scripts ( which I call from a ...
by Antonio Linares
Tue Apr 23, 2024 7:47 pm
Forum: latest AI news
Topic: LLM metrics - métricas
Replies: 0
Views: 1898

LLM metrics - métricas

MMLU (Masked Multi-Layer Unified)

Supongamos que tenemos el siguiente texto:

"The capital of France is [MASK]."

Un modelo de lenguaje entrenado con MMLU intentaría predecir la palabra que falta en el texto. Por ejemplo, si el modelo predice que la palabra es "Paris", se consideraría una ...
by Otto
Thu Mar 21, 2024 10:55 pm
Forum: FiveWin for Harbour/xHarbour
Topic: WebView resize
Replies: 9
Views: 3256

Re: WebView resize

... application, you effectively create a hybrid environment where you can utilize web technologies for the UI and interact with the native application layer for deeper system integration or advanced functionalities. This approach offers a modern and versatile way to develop applications that combine the ...
by Antonio Linares
Wed Jan 17, 2024 10:48 am
Forum: FiveWin for Harbour/xHarbour
Topic: Fine tune Phi2 from Microsoft with your own data
Replies: 11
Views: 2913

Re: Fine tune Phi2 from Microsoft with your own data

loading an extra trained layer to the base model Phi-2, based on:
https://medium.com/@nimritakoul01/finetuning-microsoft-phi-2-small-language-model-on-veggo-dataset-using-qlora-8bcf70ab625e

!pip install accelerate==0.25.0
!pip install bitsandbytes==0.41.1
!pip install datasets==2.14.6
!pip install ...
by Otto
Tue Jan 09, 2024 9:02 am
Forum: FiveWin for Harbour/xHarbour
Topic: webview - how to get values from js to FWH
Replies: 6
Views: 893

Re: webview - how to get values from js to FWH

... Bridge (from JavaScript)
Function for communication and data transfer between the two different programming languages JavaScript and Harbour

3. WebView Layer:
Part of the program that uses web technologies (HTML, CSS, JavaScript) within a WebView to implement user interfaces and frontend logic.
by Otto
Thu Nov 23, 2023 9:36 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Calculate total pages
Replies: 32
Views: 9619

Re: Calculate total pages

Enrico, I use it for a different purpose. But you only need to count the number of EMF files per document.
Then you can print the pages and write whatever you want on them as if on a layer.
Best regards,
Otto