Search found 69 matches: tune

Return to advanced search

WhatsApp tests

Modesto Rocabado has shared with us this code to send messages and files using WhatsApp. We do appreciate your tests and feedback to fine tune it. Many thanks! FUNC SendToWhatsApp( cPhone, cMsg, aAttach )LOCAL oShell, aFiles := {}, aOthers  := {}, lRet If ...
by Antonio Linares
Wed Apr 17, 2024 3:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WhatsApp tests
Replies: 9
Views: 357

Re: Talking to your apps

Antonio Linares wrote:Dear Enrico,

I think it is a timing issue, maybe we invoke it too soon.

We need to find a way to fine tune it...


Yes, I was thinking along the same line. I tried with a call to SysWait() but to no avail. I have to try putting a delay in the C code.
by Enrico Maria Giordano
Fri Mar 29, 2024 7:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Talking to your apps
Replies: 20
Views: 3878

Re: Talking to your apps

Dear Enrico,

I think it is a timing issue, maybe we invoke it too soon.

We need to find a way to fine tune it...
by Antonio Linares
Fri Mar 29, 2024 6:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Talking to your apps
Replies: 20
Views: 3878

Re: more GGUF Model

... We have recently published a repo at https://github.com/FiveTechSoft/tinyMedical where you have the code to fine tune TinyLlama with your own data, in this case we have used a medical dataset. We encourage you to start building your own GGUFs. Full source code ...
by Antonio Linares
Mon Jan 29, 2024 6:14 am
 
Forum: Artificial Intelligence
Topic: more GGUF Model
Replies: 1
Views: 171

Re: Steps to integrate AI

hi, the "Problem" is to train (fine tune) a base model for own Data as it need much PC-Power Question : is it possible to "rent" PC-Power to train own Model :?: Dear Jimmy, You can use Google Colab with T4. You have a certain ...
by Antonio Linares
Sat Jan 20, 2024 4:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Steps to integrate AI
Replies: 4
Views: 639

Re: Steps to integrate AI

hi,

the "Problem" is to train (fine tune) a base model for own Data as it need much PC-Power

Question : is it possible to "rent" PC-Power to train own Model :?:
by Jimmy
Sat Jan 20, 2024 9:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Steps to integrate AI
Replies: 4
Views: 639

Steps to integrate AI

Dear Leandro, The first step is to create a dataset with questions and answers to train (fine tune) a base model such as Microsoft phi-2, TinyLlama, etc. Once trained, a GGUF file is generated, which can be used with FWH using the llama64.dll. This is the free and private ...
by Antonio Linares
Sat Jan 20, 2024 9:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Steps to integrate AI
Replies: 4
Views: 639

Re: Pasos para integrar la IA

Estimado Leandro, Lo primero es crear un conjunto de datos (dataset) con preguntas y respuestas, con las que entrenar (fine tune) un modelo base como Microsoft phi-2, TinyLlama, etc Una vez entrenado, se genera un fichero GGUF que puede ya ser usado desde FWH usando llama64.dll Esta ...
by Antonio Linares
Sat Jan 20, 2024 9:09 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pasos para integrar la IA
Replies: 1
Views: 239

Re: Fine tune Phi2 from Microsoft with your own data

https://www.kaggle.com/code/lucamassaron/fine-tune-phi-2-for-sentiment-analysis https://medium.com/@yernenip/optimizing-phi-2-a-deep-dive-into-fine-tuning-small-language-models-9d545ac90a99 https://medium.aiplanet.com/fine-tune-small-model-micphi-2-to-convert-natural-language-to-sql-32fc4f6ed40c
by Antonio Linares
Thu Jan 18, 2024 6:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fine tune Phi2 from Microsoft with your own data
Replies: 11
Views: 1252

Re: Fine tune Phi2 from Microsoft with your own data

Locally using a fine tuned model with quantization: !pip install accelerate==0.25.0!pip install bitsandbytes==0.41.1!pip install datasets==2.14.6!pip install peft==0.6.2!pip install transformers==4.36.2!pip install torch==2.1.0!pip install einops==0.4.1  # Phi needs this one import torchfrom t...
by Antonio Linares
Wed Jan 17, 2024 8:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fine tune Phi2 from Microsoft with your own data
Replies: 11
Views: 1252

Re: Fine tune Phi2 from Microsoft with your own data

Loading a fine tuned model from disk: (don't use this, it consumes a huge GPU memory! Use next post) !pip install accelerate==0.25.0!pip install bitsandbytes==0.41.1!pip install datasets==2.14.6!pip install peft==0.6.2!pip install transformers==4.36.2!pip install torch==2.1.0!pip install einops==0....
by Antonio Linares
Wed Jan 17, 2024 7:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fine tune Phi2 from Microsoft with your own data
Replies: 11
Views: 1252

Re: Fine tune Phi2 from Microsoft with your own data

Locally saving a fine tuned model without modifying quantization: !pip install accelerate==0.25.0!pip install bitsandbytes==0.41.1!pip install datasets==2.14.6!pip install peft==0.6.2!pip install transformers==4.36.2!pip install torch==2.1.0!pip install einops==0.4.1  # Phi needs this one import to...
by Antonio Linares
Wed Jan 17, 2024 7:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fine tune Phi2 from Microsoft with your own data
Replies: 11
Views: 1252

Re: Fine tune Phi2 from Microsoft with your own data

Locally saving a fine tuned model quantized: !pip install accelerate==0.25.0!pip install bitsandbytes==0.41.1!pip install datasets==2.14.6!pip install peft==0.6.2!pip install transformers==4.36.2!pip install torch==2.1.0!pip install einops==0.4.1  # Phi needs this one import torchfrom transformers ...
by Antonio Linares
Wed Jan 17, 2024 6:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fine tune Phi2 from Microsoft with your own data
Replies: 11
Views: 1252

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 inst...
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: 1252
Next

Return to advanced search