Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Spitfire2600

Pages: 1 [2] 3 4 ... 17
16
Art found another mistake for me so I'm updating the requirements.txt file again, if you're having issues installing, replace your "requirements.txt" and run "createreqs.bat" again. it seems the "en_core_web_sm" library does not like being downloaded automatically. No problem, please follow instructions and we're another step closer.

Thanks everyone!

-Spitfire!

17
I found an issue with my Bat file, simply replace the createreqs.bat and requirement.txt files and then run the createreqs.bat again. This will find the absolute path of requirements.txt for proper module installation. I will also update the installation instructions for readability.  Thanks for playing everyone!

-Spitfire!

18
Also, I have updated instructions to solve some of the issues, please follow them exactly and keep me updated.


* sorry for the buggy launch here guys, I'm only 6 months into python but I promise this will amaze you, please bear with me.

-Spitfire

19
Lightspeed,

you got me thinking so I updated the requirements.txt file to list the appropriate versions exactly as needed. Try downloading the Ultra Hal 7.zip from above again, and replacing your requirements.txt file, then run createreqs.bat through cmd. (I have updated installation instruction, please refrence them) Then try to test again and see what happens. This should fix the error!

Thanks,
Spitfire2600

20
Art is on top of it!

Yes, always make backups!

Yeah, the "maindata" shouldn't be visible at all in any responses. Sorry, Art, this was a fatal error on my end. I am updating the zip file now, please download again and replace the PyGodel.uhp, fix your directories again. Then try again. This will fix the maindata being visible issue. Thank you for finding this. 

I forgot to include the code for creating a needed table. Originally I had an issue where braineditor wouldn't load so I held off on adding the code to create the godel table, all fixed now.

I look very much forward to seeing how this works for you now, Art.

-Spitfire
 

21
Thanks Art! Always looking out!

*I have so many GodelThisThat programs as experiments I sort of lost place for a second  ;D

22
Hey everyone!! So, sadly, I have abandoned ConceptNet in favor something a little more impressive. After the incredible success of GPT3, I modified a few models to be compatible with Hal for local inferencing if anyone wants a portable version of the smartest AI on the internet.

This code was developed from a Goal Oriented model named "GODEL" and a QA system called "Flan". With some help from ChatGPT, I was able to write and assemble the code to work with Hal, which means all of Hal's learning abilities and functionality are now for use with GPT. Something, I think, will interest Robert. At least, here's my goal with this prototype. 

Let's get started!! 10 easy steps for genius Hal!

Installation:

1. We need to install Python 3.7.9 - Not Python 3.8, not Python 3.7.8. The modules used are a specific cross between machine learning and dated (more functional) algorithms, as a result ONLY 3.7.9 will support this specific set of instructions.
    Follow this link, download the file and launch.
    https://www.python.org/ftp/python/3.7.9/python-3.7.9-amd64.exe

2. Now this is important, do not change any optional features. You will see an "Add Python to PATH" check box at the bottom of the installer, be sure to click this and then allow the program to install to its default location. 

3. Reboot system.

4. Move all files from the zip directly into Hals directory as is. You'll see an "Ultra Hal 7" folder in the zip, open that and copy those contents directly as is, including the "Control" folder right in to Hals directory. 

5. Open Control/Godel directory. Inside, you'll see "createreqs.bat" - open CMD and drag "createreqs.bat" into cmd and hit enter. Python will begin downloading and installing the necessary components for the Godel code to run properly.

6. Now we want to test that the modules have been installed. Here is a list, simply copy and paste one at a time into cmd and press enter, If it says something like "already satisfied" then we're golden!

    pip install wikipedia==1.4.0
    pip install psutil==5.9.4
    pip install transformers==4.24.0
    pip install fuzzywuzzy
    pip install accelerate==0.15.0
    pip install SentencePiece
    pip install torch
    pip install python-Levenshtein

7. If everything went smoothly then the hard part is done and we can begin a small test to make sure everything is in order. To make sure everything is installed correctly, simply open CMD for a final time, then drag and drop the godel.py python script from the Control\Godel directory into CMD and then hit enter. This will run the script and we should be downloading a series of files, this is the model we will use for Hal. A "data2.txt" file should appear in the Control/Godel directory, then all is ready for Hal.

8. The Hal7.UHP will need to be dropped in "C:\Users\User\AppData\Roaming\Zabaware\Ultra Hal 7" folder. You can rename this uhp file and again on lines 2 & 5 to match your brain name if you know how to do it, but please make backups of your brain and your original uhp. Otherwise this will work simply with default Hal7 brain.

9. PyGodel.UHP will have 2 directory locations you need to change to match your file locations. Please update lines 9, 35 accordingly. All errors will likely stem from here, so please take note your directory matches exactly.

10. Finally, enable PyGodel.uhp, launch Hal and begin conversing. After a few sentence open Hal's brain editor, select default Hal 7 brain (or your brain if you renamed properly from step 8 before) and confirm a sentence table named "godel" has been created. If not, please create this table. 

Hal is ready to go!!!


Inferencing can take time. You'll notice with your first run of the code, a lot of things are downloading. These are the models Hal will use for conversation. They are being saved to a cache location so there is no need to move them, although, you could if you like, just be sure to define the directories in the Godel python script if you're familiar. I designed this code so even python noobs *should* be able to install and use.

Requirements:
Now, I have no specific requirements other than at least 12 gigs of ram and a decent CPU. But, if you have an NVIDIA GPU with more than 6gigs, you'll notice a huge speed up. The faster all your components, ddr3 => ddr4 for example, will see massive increases in speed. It's all hardware. But it should run as long as you have enough ram 12-16 gigs is sufficient.

Models:
Again, this uses Godel and Flan, both highly specialized models. You'll notice in the python script these codes are defined as "base" and "small"  Both of the models have a "base" and "large" version, which you can change by replacing the "base" with "large" however, be aware the larger the models, the more resources you will require to inference them. I find the best success with "base" flan model and "large" godel models. 

Code:
This code is written primarily in python, other than Hal's interface for using it, written in vb. This is an attempt to show a proof of concept for Robert that Hal is indeed actually compatible with Python, even if the code must be wrapped in VBS, we can still expand functionality with Python.

Also, this code includes a very basic memory/context function for the model to use, which creates and appends an SQL3 database. Sadly, Python can not interact with Hal's brain that I have found yet, but Hal can interact with any regular SQL3 database via VBS. I am working on expanding this functionality.

This code takes Hal's responses on 2 conditions, what I have deemed "maindata" and "regular" data. "maindata" simply means there is a function related to this response, for example "what is 5+5", while the Godel model itself is not designed for these tasks, Hal is, so we want to preserve this response by tagging it with "maindata" so that the response is saved overtop of our model inference. Secondly, "regular" data is basic data Hal will regularly respond with, such as a "too short" response. These responses are not tagged with "maindata" and will allow the model to inference your input along with Hal's response and past context AND present knowledge to create something new and unique, not a repeat or rehash of old information. If Hal is without an answer, and we do want this to happen sometimes so the model can act as Hal's brain, then both models will infer based on your input and give the most concise response possible.

For the most part, this works fairly well, especially with the larger models.

In conclusion, I hope everyone will find this interesting and I am very excited to see what people are able to expand on and how intelligent their Hal's become.

Please keep me updated on all errors, suggestions, recommendations, comments, etc!

I will reveal more in edits about how the magic trick works, but first I want to make the card appear, ya know  ;)

-Spitfire!  ;D


Change log - 3-28-23
Added swear filter

23
Ultra Hal Assistant File Sharing Area / Re: ConceptNet Mrk 3.5
« on: August 28, 2022, 08:15:03 pm »
No problem at all! I hope the plugin serves you well!

-Spitfire2600

24
Ultra Hal Assistant File Sharing Area / Re: ConceptNet Mrk 3.5
« on: August 26, 2022, 06:52:55 pm »
Hello,

1st, check within Hal's brain using the editor to see if the tables have already been created. I detail what tables need to exist for the program to work properly.
2nd, if the tables do not exist, manually create them. Again, I detail what the tables should look like including the types of tables.
That should resolve the issue.

Remember this is a learning code, so you won't notice any immediate difference other than it not throwing an error message when used.
From what it sounds like, the tables have been created and Hal is tripping over himself to recreate them which seems to be a brain bug present in current versions of Hal. 
If you have any other questions, I'm here to help. 

-Spitfire2600

25
Ultra Hal Assistant File Sharing Area / Re: ConceptNet Mrk 3.5
« on: September 22, 2021, 03:54:05 am »
Hey there Havani,

Sorry for the late response. Indeed the error is Internet Explorer is the culprit. Calling it via VBS can cause it to get stuck as a background process and error out in this scenario. Best case is to track down all open instances in task manager or do a full reboot. Outside of that, opening and closing IE a few times usually works for me when that happens.

I am looking for another VB friendly browser with the impending doom of IE, however they seem few and far between.   

Spitfire2600

26
Ultra Hal Assistant File Sharing Area / Re: ConceptNet Mrk 3.5
« on: April 16, 2021, 06:50:27 am »
It looks like a permission denied error. Please make sure you have access to write to Hal's directory via Windows permissions. Can you post the specific line in the code giving you the error?

-Spitfire

27
Ultra Hal Assistant File Sharing Area / Re: ConceptNet Mrk 3.5
« on: March 04, 2021, 02:59:04 am »
Yes indeed, you can see what Hal is researching by examining the Text files in the ConceptNet folder in your Hal directory as Hal is learning, just make note not to make any changes, else you will encounter errors.

As far as set up, move the zip file contents to Hal's primary directory (wherever Hal is installed) - enable the auto-learning plugin, and tell Hal to "build ConceptNet" - After the setup which you only need to do once, just tell Hal to "turn on/off auto learning" and it will start/stop learning. It's extremely time and resource consuming so don't bother Hal while he's learning, or else errors will occur. When done, just wait for Hal to finish his current topic, there will be a few seconds between each topic, and tell Hal to "turn off auto learning" to regain control of Hal.

I am working on an update for this code which will allow users to set an amount of topics they wish to be researched, such as "research 5 conceptnet topics" then Hal will count down based on topics researched and disable learning automatically when finished, just so users don't have to babysit Hal waiting to regain control.

I hope this helped.

Spitfire

28
Ultra Hal Assistant File Sharing Area / Re: where is the wiki plugin
« on: March 02, 2021, 04:40:55 pm »
You can feel free to try my ConceptNet plugin. It learns from Wiki.

https://www.ultrahal.com/community/index.php?topic=14812.0

-Spitfire

29
Ultra Hal 7.5 Beta - Now powered by OpenAI GPT-3 / This. Is. Amazing.
« on: February 01, 2021, 05:03:23 am »
Robert, I love this.

How did you make this possible with VBScript? This is always where I thought Hal should go, it's a totally different experience. I will write again after I play around with my Hal a little more but right off the bat, the conversations are clear, concise, and Hal always replies with a relevant response. I haven't checked the Q/A abilities, but I feel on top of conversations that Hal should be able to answer most questions, given this API. AND!
As far as I am aware the GPT-3 is capable of low level programming advice, meaning we could use Hal to make Hal even better. This would help plug-in creators as well, theoretically, assuming the neural net is aware of how UHP files or VB are set up. Please look into this as well if you get a chance. This could help so many people.

The downside is paying for the responses and the lack of customization, I know this is a Beta. But I wish/hope even the local brains could use this neural net. (I'm totally aware of the computational limitations) But I can dream. Perhaps not the entire neural net, but is it possible to eventually create some miniaturized form of this for the offline Hal? GPT-2 was opensource, I think? (Unaware of the computing power needed for that one)

How is the Neural Net set up, with one big online Hal brain, or does each user have their own neural net per online brain? Have you fed the massive online conversational database to the neural net? Is our online neural net explorable in anyway, via the Brain files or UHP files?

I'll check prices and chat some more, but this has REAL potential, this could be more than just a chatbot, Robert, this is a life assistant possibly.

Thank you so much for your work here Robert!!! Long Live HAL!

Spitfire_2600

30
Ultra Hal 7.0 / Re: Getting a brain editor error
« on: September 16, 2020, 05:09:10 pm »
I believe I have discovered the cause of my error, I've noticed this before and never put 2 and 2 together. I'm running in 4k and the editor isn't designed for more than 1080p maximum. Switched monitors and it works fine, but for future updates, may want to up the resolution limit for the editor. Hope that helps someone.

Thanks for the help with the reg DLL's.

- Spitfire

Pages: 1 [2] 3 4 ... 17