Search found 52 matches: sentences

Return to advanced search

Re: random sentences generator

Dear Antonio,

Thank you, it works.
And thank you very much for your research and development work and for exploring new techniques for us.

Best regards,
Otto
by Otto
Fri Dec 01, 2023 6:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: random sentences generator
Replies: 6
Views: 702

Re: random sentences generator

You can use chatGPT to generate the sentences for you: write 50 simple sentences to feed artificial intelligence using the format Tokenizer( sentence ) Tokenizer("The sun rises in the east.") Tokenizer("Cats are furry animals.") ...
by Antonio Linares
Fri Dec 01, 2023 6:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: random sentences generator
Replies: 6
Views: 702

Re: random sentences generator

Dear Otto, In this example you can visually review how we organize the tokens, so its easier to understand how it works :-) llml.prg #include "FiveWin.ch"static hTokens := {=>}function Main()   local n   Tokenizer( "The cat climbed the tree...
by Antonio Linares
Fri Dec 01, 2023 5:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: random sentences generator
Replies: 6
Views: 702

Re: random sentences generator

Dear Otto,

When you call function Generate( <cInitialWord> ) you have to provide an initial word that exists in your sentences,

in your case:

? Generate( "the" )
by Antonio Linares
Fri Dec 01, 2023 3:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: random sentences generator
Replies: 6
Views: 702

Re: random sentences generator

Dear Antonio, thank you very much. I added #xtranslate hb_HHasKey( [<x,...>] ) => HHasKey( <x> ) and translated: Tokenizer("The tomcat climbed the tree and meowed until the firefighter arrived.") Tokenizer("I like learning new things every day.") Tokenizer("Th...
by Otto
Thu Nov 30, 2023 9:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: random sentences generator
Replies: 6
Views: 702

Re: random sentences generator

In this example we load all William Shakespeare's books into memory: https://www.fivetechsoft.com/files/shakespeare.txt #include "FiveWin.ch"static hTokens := {=>}function Main()   local cText := hb_memoRead( "shakespeare.txt" )   loca...
by Antonio Linares
Thu Nov 30, 2023 5:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: random sentences generator
Replies: 6
Views: 702

random sentences generator

Inspired in the idea of AI large languages models, this is a very simple and easy to understand sentences generator, quite funny :-) The more sentences that you provide to it, the more "inspired" that it will be :-D llml.prg #include "FiveWin.ch"static ...
by Antonio Linares
Thu Nov 30, 2023 4:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: random sentences generator
Replies: 6
Views: 702

Re: CLASS modification

... and that get while loading the calendar (Tcalendar) doesn't make doubleclick work so it's unusable. I have to read bullshit or meaningless sentences on the forum, I don't want to use other procedures, I want a calendar like Tcalendar . I know well the differences between SysDateTimePick32 ...
by Silvio.Falconi
Wed May 24, 2023 8:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: CLASS modification
Replies: 33
Views: 1704

Re: Harbour's multi-head self-attention transformer

Providing it some sentences. Still needs training... attention.prg #define MIN_DOUBLE Val( "-1.7976931348623158e+308" )PROCEDURE Main()    LOCAL aSentences, aVocabulary := {}, aTokenIds, ...
by Antonio Linares
Mon Apr 17, 2023 3:57 pm
 
Forum: Utilities / Utilidades
Topic: Harbour's multi-head self-attention transformer
Replies: 4
Views: 544

Re: Testing OpenAI GPT3 using AI Dungeon

For this list, I just provided the three first sentences: Its good to learn AI because: 1. AI is the future 2. AI is also the present 3. It provides you very useful info from data 4. You can use it as a tool in your own quest for knowledge, and ...
by Antonio Linares
Sat Aug 22, 2020 2:13 pm
 
Forum: latest AI news
Topic: Testing OpenAI GPT3 using AI Dungeon
Replies: 1
Views: 285

Testing OpenAI GPT3 using AI Dungeon

For this test, I just wrote the first three sentences and GPT3 wrote all the rest. https://play.aidungeon.io/ Select option 6 Quite impressive! Practising sports is very healthy cause: 1. It reduces your blood presure 2. You loose weigth ...
by Antonio Linares
Sat Aug 22, 2020 2:08 pm
 
Forum: latest AI news
Topic: Testing OpenAI GPT3 using AI Dungeon
Replies: 1
Views: 285

Re: Error en FW_TransLang

... ఎక్స్‌టెన్షన్‌లో భాగంగా ఈ కాలాన్ని వివరిస్తుంది. . The translation is perfect. I split the entire text into paragraphs and each paragraph into sentences programmatically. I translated each sentence and re-assembled the results into paragraphs and into full text. But when I tried to repeat more ...
by nageswaragunupudi
Wed Jul 01, 2020 6:24 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error en FW_TransLang
Replies: 11
Views: 1397

Re: FW_AdoImportFromDBF error

... tried again and now it worked, so it obvoiusly has something to do with the way my SQl server handles the dates. When inserting dates using sql sentences I use the following: cCadsql0:="insert into table (fecha1,fecha2) values ('23/09/2019','12/12/2019')"    oRs := TOleAuto():New( ...
by mariordz
Thu Dec 05, 2019 9:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_AdoImportFromDBF error
Replies: 14
Views: 2292

Re: mod_harbour sessions videos on YouTube

Hi Antonio.
All the videos are really useful and interesting.
My problem is that I understand only some sentences but seeing what you are writing and showing is enough for learning.
Thanks a lot for your work.
Massimo
by Massimo Linossi
Sat Aug 17, 2019 5:37 pm
 
Forum: mod_harbour
Topic: mod_harbour sessions videos on YouTube
Replies: 14
Views: 2682

Re: mod_harbour TEMPLATE/ENDTEXT

If you just want small sentences instead of entire functions then you can use BLOCKS instead of TEMPLATE:

Code: Select all  Expand view
BLOCKS
   Any text or HTML or whatever...
   {{Time()}}
ENDTEXT
 
by Antonio Linares
Mon Jul 08, 2019 7:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: mod_harbour TEMPLATE/ENDTEXT
Replies: 11
Views: 939
Next

Return to advanced search