Search found 31 matches: train

Return to advanced search

tinyAstrology another AI training model example

... and write the answer in json format" 2. You tell chatgpt to do it again without including previous responses Once we have the dataset then we train tinyLlama and we get our own specialized IA model :-)
by Antonio Linares
Fri Feb 02, 2024 10:57 am
 
Forum: Artificial Intelligence examples
Topic: tinyAstrology another AI training model example
Replies: 0
Views: 149

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 ...
by Antonio Linares
Sat Jan 20, 2024 4:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Steps to integrate AI
Replies: 4
Views: 644

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: 644

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 ...
by Antonio Linares
Sat Jan 20, 2024 9:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Steps to integrate AI
Replies: 4
Views: 644

Re: phpBB to LLM

... I didn't know any better): Python installed, first 3.12 (does not support torch, then downgraded to 3.11.7) Torch installed Transformers installed train.py executed CPU utilization > 10% and 14.4GB RAM After 16min cached_lm_GPT2Tokenizer_128_fivetech_forums_20231222.sql prepared - only then ...
by alerchster
Wed Dec 27, 2023 8:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: phpBB to LLM
Replies: 33
Views: 4740

Re: phpBB to LLM

installed python 3.11.7
pip install torch
pip install transformers

python train.py

result: ready in 16min maybe with some errors - error messages can't be saved there!

if i run train.py again then comes terrible | 213/1628301 [05:57<1293:44:33, 2.86s/it]

can't wait so long :(
by alerchster
Mon Dec 25, 2023 8:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: phpBB to LLM
Replies: 33
Views: 4740

Re: phpBB to LLM

========================== RESTART: C:\fwh\AI\train.py =========================
Traceback (most recent call last):
File "C:\fwh\AI\train.py", line 1, in <module>
import torch
ModuleNotFoundError: No module named 'torch'
by alerchster
Mon Dec 25, 2023 6:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: phpBB to LLM
Replies: 33
Views: 4740

Re: phpBB to LLM

Dear Anton,

That one would be great!

Could you please try to run the previous python code and see how long time does it report ?

python train.py

I am emailing you the file

many thanks!
by Antonio Linares
Mon Dec 25, 2023 5:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: phpBB to LLM
Replies: 33
Views: 4740

Re: phpBB to LLM

This code seems to work, though we still don't know how long it will take the training: I appreciate, if you have a pc with nvidia GPUs, to test it and report how long it takes. Just replace "fivetech_forums_20231222.sql" with a large text file you may ...
by Antonio Linares
Mon Dec 25, 2023 12:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: phpBB to LLM
Replies: 33
Views: 4740

Re: Using Microsoft AI Phi-2 from FWH

... C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich 5>grammar-parser.cpp 5>train.cpp 5>Code wird generiert... 5>F:\llama.cpp\common\common.cpp(963): warning C4715: "gpt_random_prompt": Nicht alle Codepfade geben ...
by Jimmy
Fri Dec 22, 2023 1:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Microsoft AI Phi-2 from FWH
Replies: 51
Views: 8413

phpBB to LLM

... of the topics, with the name of the topic and the list of messages for such topic. Here you have the Google Colab file to run the fine tunning training from Microsoft Phi2: https://github.com/FiveTechSoft/FWH_tools/blob/master/fivetech_forums.ipynb ======== original post Some days ...
by Antonio Linares
Thu Dec 21, 2023 9:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: phpBB to LLM
Replies: 33
Views: 4740

Re: Learning opencv step by step

Instead of having to train our data and create a XML file ("Haar Cascade") we have found that for images matching it is much simpler to use cv.matchTemplate() as this way we don't need to train any data, we simply search an ...
by Antonio Linares
Thu Dec 30, 2021 12:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Learning opencv step by step
Replies: 21
Views: 2436

Re: Face Detect for FWH64

Hopefully quite soon we can train our own neuronal networks with our data :-)
by Antonio Linares
Tue Dec 14, 2021 3:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Face Detect for FWH64
Replies: 14
Views: 2336

Re: (AI) Building a text dictionary

book_train.py import numpy as npimport tensorflow as tfimport globbook_filenames = sorted( glob.glob( "*.txt" ) )print( "Found {} books".format( len( book_filenames ) ) ...
by Antonio Linares
Wed Aug 30, 2017 8:18 am
 
Forum: Artificial Intelligence examples
Topic: (AI) Building a text dictionary
Replies: 5
Views: 1515

Re: 1st FWH + [x]Harbour 2017 international conference

... SILLIAN on Sunday, 2nd of July, at some time in the afternoon if there are enough people who are interested. The alternative is an international train. We will calculate the costs and communicate them. Please tell me if you want to join. Kind regards Ruth
by Ruth
Wed Apr 26, 2017 7:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: 1st FWH + [x]Harbour 2017 international conference
Replies: 68
Views: 269122
Next

Return to advanced search