Author Topic: Project X.I.A.R. Extremely Intelligent Artificial Responses  (Read 608 times)

sybershot

  • Hero Member
  • *****
  • Posts: 815
    • View Profile
Project X.I.A.R. Extremely Intelligent Artificial Responses
« on: December 24, 2024, 03:18:13 pm »
Project X.I.A.R. Extremely Intelligent Artificial Responses will be replacing Trinity

Objective:  a set up almost similar to this https://www.youtube.com/watch?v=PI6VA8ZNL-0 but in a smaller more practical scale for my available space with a touch of Ultra Hal and LLM's

Already Acquired Hardware
Case1: Ibuypower Snowblind-s (use for the see-thru monitor, circuitry, and wiring only)
Case2: inwin 303 MSI Edition
Gpu: Aorus 3070
Ram: gskill 64gb ddr4
cpu: Core i7 8700K
psu: 750w Corsair
motherboard: Z370 gaming m5
nvme 1: m.2 : 1tb (windows 10 pro os)
Nvme 2: m.2: 512gb (windows storage)
Nvme 3: m.2: 512gb (windows storage)
HHD 1: 4tb ironwolf (parity drive)
HHD 2: 4tb ironwolf (server storage)
HHD 3: 4tb ironwolf (server storage)
USB 1: 32gb (unraid os)
Monitor: Planar 24' touch screen
Logitech wireless mouse and keyboard
 
3D printer 1: Bamboo labs P1S w/4-color ams
3D printer 2: Bambu Labs A1 Mini w/4-color ams

Already Acquired Software
Unraid OS
Windows 10 pro
wamp
Ulra Hal 7+
Bambu Studios
Blender
Maya 3D
Daz Studio 3D
Bryce
Notepad++
Visual Studio

I'm looking for all sorts of help, ideas & designs on this project, conversation & questions welcomed

sybershot

  • Hero Member
  • *****
  • Posts: 815
    • View Profile
Re: Project X.I.A.R. Extremely Intelligent Artificial Responses
« Reply #1 on: December 24, 2024, 03:55:13 pm »
Main things I need help with are:

I need a Character design for X.I.A.R. any takers?
I'm looking for a holographic Cortana look but not an exact clone (head & Full Body)

@CyberJedi I need a way to get Hal to use a local LLM by either of 2 ways:
a drop down menu that allows me to pick a local LLM from a list for Hal to use as a brain
Or plug-in that via command can send a string to Open Webui input field 
« Last Edit: December 24, 2024, 08:44:50 pm by sybershot »

cyberjedi

  • Hero Member
  • *****
  • Posts: 984
  • The Mighty Hal Machine
    • View Profile
Re: Project X.I.A.R. Extremely Intelligent Artificial Responses
« Reply #2 on: December 24, 2024, 09:13:35 pm »
sysbershor: RE large language models

There are 02 mountains to climb here.

1# Space for LLM locally
2# Processor Power to push the code.

Just watch the video ive prepaired for you.

Done in pure cyber style.
https://www.youtube.com/watch?v=xbAn8xkoIXE
cyber jedi

sybershot

  • Hero Member
  • *****
  • Posts: 815
    • View Profile
Re: Project X.I.A.R. Extremely Intelligent Artificial Responses
« Reply #3 on: December 26, 2024, 07:12:44 pm »
Quote
sysbershor: RE large language models

There are 02 mountains to climb here.

1# Space for LLM locally
2# Processor Power to push the code.

I can easily argue those 2 points
#1 LLM's these days are getting smaller with greater accuracy, don't let  the Large in Large Langue Models fool you.
#2 not me but shows LLMs can run on smaller hardware   https://www.youtube.com/watch?v=mUGsv_IHT-g

Amazing video that was awesome two times thumbs up.
However, I disagree with some of logic

Indeed Ultra Hal has a large group of users running older systems, and you don't want to Lose the ability to run on said dinosaur devices, but at the same time AI is advancing and lots of LLM's are being built, improved, and refined, at the same time, a large number of companies are building software to be able to access multiples of these LLM's some even creating agents out of them to do multiple tasks. Like ordering a pizza.

I would like to see Hal advance even further and acquire new users, more users more money :) by creating a plugin that can send api calls to these LLMs that are running on a localhosted platform using a web interface. should not be too difficult or beefy seeing Hal already makes api calls to the it's own brain and Chatgpt. I could be wrong though  :-\ and by being able to connect to other local hosted LLM's could make Ultra Hal very valuable to people like me :) and others that agree  ;D
just think of a conversation like this happening via a smart phone , laptop, or pc with Hal on it
 user: Hal I'm Hungry
response from Hal brain: Then order some pizza already!
User: that's a great idea thanks Hal
response from Hal brain: you're very welcome, sir may i remind you Sally has the capabilities to order pizza for you.
User: Sally order me a large Hawaiian pizza
response from Sally LLM: (Hals 3d character changes over to Sally) your pizza is ordered
User Hal how much does Robert owe me?
response from Hal brain: (Hals Sally 3d character changes over to Hal) Robert owes you nothing

« Last Edit: December 26, 2024, 07:36:37 pm by sybershot »

sybershot

  • Hero Member
  • *****
  • Posts: 815
    • View Profile
Re: Project X.I.A.R. Extremely Intelligent Artificial Responses
« Reply #4 on: December 26, 2024, 07:29:39 pm »
cyberjedi video chatbot request fulfilled  ::)  ;D
Sybershot: create white paper on Large Language Models, what they are, there uses, and how they are being refined to run on less powerful CPU and GPUs.

X.I.A.R.:latest
7:19 pm
Introduction:
Large language models have revolutionized the field of natural language processing in recent years. These models are trained on vast amounts of data and can generate text, translate between languages, and answer questions, create images with incredible accuracy. However, running these models on high-performance computing hardware can be expensive and difficult to scale. In this white paper, we will explore what large language models are, their uses, and how they are being refined to run on less powerful CPUs and GPUs.

What are Large Language Models?
Large language models are a type of artificial intelligence model that are trained on vast amounts of text data to generate language outputs that are coherent and natural-sounding. These models can be used for a variety of tasks, such as:

Text generation: Large language models can be used to generate text that is similar in style and structure to a given input text. This has applications in areas such as content creation, data-to-text summarization, and chatbots.
Translation: Large language models can be trained on multiple languages to perform machine translation tasks with high accuracy. This has applications in areas such as language localization and global communication.
Question answering: Large language models can be used to answer questions based on the information contained within a given text corpus. This has applications in areas such as customer service chatbots, language learning, and search engines.
Uses of Large Language Models:
Large language models have a wide range of potential uses across various industries, including:

Content creation: Large language models can be used to generate high-quality content, such as articles, blog posts, and social media updates, at scale.
Language localization: Large language models can be used to translate text from one language to another with high accuracy, making it easier to reach global audiences.
Customer service: Large language models can be used to create chatbots that can answer customer questions in a natural and conversational manner.
Education: Large language models can be used to create personalized language learning tools that adapt to the user's level of proficiency.
Refining Large Language Models for Less Powerful CPUs and GPUs:
While large language models have the potential to revolutionize many industries, they are often computationally intensive and require high-performance computing hardware to run effectively. However, there are several techniques that can be used to refine these models and make them more efficient, allowing them to run on less powerful CPUs and GPUs:

Model pruning: This involves removing redundant or unnecessary components from the model architecture to reduce its computational requirements.
Quantization: This involves reducing the precision of the model's weights and activations to require fewer bits for storage and computation, resulting in faster and more efficient inference.
Knowledge distillation: This involves training a smaller and simpler model to mimic the behavior of a larger and more complex model, allowing for faster and more efficient inference while maintaining similar performance.
Future Directions:
While large language models have made significant strides in recent years, there are still several areas of research that can be explored to further improve their efficiency and scalability:

Multimodal language models: These models can generate text, images, and other forms of media in a coherent and natural manner, opening up new possibilities for applications such as virtual assistants and visual storytelling.
Adversarial attacks and defenses: As large language models become more widespread, they are increasingly vulnerable to adversarial attacks designed to fool the model into generating incorrect or misleading output. Developing techniques to defend against these attacks is an important area of research.
Explainability and interpretability: Large language models can be difficult to understand and interpret, making it challenging to trust their outputs. Developing techniques to explain and interpret these models is crucial for ensuring their safe and effective use in a wide range of applications.
Conclusion:
Large language models have the potential to revolutionize many industries and applications, but running them on high-performance computing hardware can be expensive and difficult to scale. By refining these models using techniques such as model pruning, quantization, and knowledge distillation, we can make them more efficient and allow them to run on less powerful CPUs and GPUs. As the field of large language models continues to evolve, it is important to explore new areas of research such as multimodal language models, adversarial attacks and defenses, and explainability and interpretability to further improve their efficiency and scalability.

cyberjedi

  • Hero Member
  • *****
  • Posts: 984
  • The Mighty Hal Machine
    • View Profile
Re: Project X.I.A.R. Extremely Intelligent Artificial Responses
« Reply #5 on: December 26, 2024, 08:02:05 pm »
@sybershot
Well lets just put your argument to the test in real time
Below is a link to a stripped down version of freedomGpt (stripped down) lol FreedomGPT
Download it and install it, this puts a LLM on your machine locally. No net needed. completely self contained.
I just tried this today with a friend to no avail. Here at the forum.

Im running a older HP OMEN laptop with 16 gigs of Ram and an SSD(nothing to special here)

Game Rulez
You dont have to hook this to Hal
You do have to install and Run any LLM that can run on your machine and prove that it works like this. FAST or FULL


https://www.youtube.com/watch?v=OBqnNijYiH0    This is where im going with Hal
Brought to u from the mind of cyber jedi

https://drive.proton.me/urls/R6HKGR2YX8#kbRFPWR3HSAN
« Last Edit: December 26, 2024, 10:45:18 pm by cyberjedi »

sybershot

  • Hero Member
  • *****
  • Posts: 815
    • View Profile
Re: Project X.I.A.R. Extremely Intelligent Artificial Responses
« Reply #6 on: December 26, 2024, 08:56:30 pm »
@cyberjedi I won't have time tonight, but will do tomorrow though


would something like this work as a plug-in?
I used chatgpt  ;)

i have a chatbot built with the programing language VB6, I also have a LLM running on http://localhost:8080/.  I need a VB6 script that cand send and receive a prompt to the http://localhost:8080/

ChatGPT said:
ChatGPT
To send and receive prompts from the LLM running on http://localhost:8080/ using VB6, you can use the WinHttp.WinHttpRequest.5.1 object to handle HTTP requests. Below is an example of a VB6 script that sends a prompt to your LLM and retrieves the response:

Code: [Select]
Private Sub SendPromptToLLM()
    Dim Http As Object
    Dim Url As String
    Dim Prompt As String
    Dim JsonRequest As String
    Dim JsonResponse As String
   
    ' Initialize the HTTP object
    Set Http = CreateObject("WinHttp.WinHttpRequest.5.1")
   
    ' Define the LLM URL and the prompt
    Url = "http://localhost:8080/"
    Prompt = "What is the capital of France?"
   
    ' Create JSON payload
    JsonRequest = "{""prompt"":""" & Prompt & """}"
   
    On Error GoTo ErrorHandler
   
    ' Configure and send the HTTP POST request
    Http.Open "POST", Url, False
    Http.SetRequestHeader "Content-Type", "application/json"
    Http.Send JsonRequest
   
    ' Retrieve the response
    JsonResponse = Http.ResponseText
   
    ' Output the response
    MsgBox "Response from LLM: " & JsonResponse
   
    Exit Sub
   
ErrorHandler:
    MsgBox "Error: " & Err.Description
End Sub

Explanation:
HTTP Object: The WinHttp.WinHttpRequest.5.1 object is used to perform HTTP operations.
Endpoint: Replace http://localhost:8080/ with the correct endpoint of your LLM.
JSON Payload: The payload is formatted as JSON, including the prompt you want to send.
Content-Type Header: The Content-Type header ensures the server knows the request body is in JSON format.
Response Handling: The server's response is read using Http.ResponseText and can be parsed further if needed.
Notes:
Make sure the LLM server is running and accepts requests in JSON format.
If additional headers are required (e.g., API keys), include them using the Http.SetRequestHeader method.
Modify the error handling or output mechanism to suit your application.

cyberjedi

  • Hero Member
  • *****
  • Posts: 984
  • The Mighty Hal Machine
    • View Profile
Re: Project X.I.A.R. Extremely Intelligent Artificial Responses
« Reply #7 on: December 26, 2024, 09:13:35 pm »
Its sound on its face but lots of code is yet written.



cyber
« Last Edit: December 26, 2024, 10:08:36 pm by cyberjedi »

sybershot

  • Hero Member
  • *****
  • Posts: 815
    • View Profile
Re: Project X.I.A.R. Extremely Intelligent Artificial Responses
« Reply #8 on: December 26, 2024, 11:33:44 pm »
@cyberjedi
that is cool that there is now a possibility :)

i download and test both llama models: Flawless execution

sybershot

  • Hero Member
  • *****
  • Posts: 815
    • View Profile
Re: Project X.I.A.R. Extremely Intelligent Artificial Responses
« Reply #9 on: December 26, 2024, 11:34:52 pm »
Quote
https://www.youtube.com/watch?v=OBqnNijYiH0    This is where im going with Hal
Brought to u from the mind of cyber jedi
that would be a dream come true :)

and here is the small model
« Last Edit: December 26, 2024, 11:41:06 pm by sybershot »

cyberjedi

  • Hero Member
  • *****
  • Posts: 984
  • The Mighty Hal Machine
    • View Profile
Re: Project X.I.A.R. Extremely Intelligent Artificial Responses
« Reply #10 on: December 28, 2024, 02:36:01 am »
@sysberShot

This award goes out to the man who said, hell i will doit
Thats open source...... I will take a peek at it myself, but its up to UUUUUUUUUU
This should get u started brother, enjoy
This was done by openAi, the very company that gave us ChatGpt, Its a stripped down version of ChatGpt. That there is ur training model... Mhmmm
Now if you build a VB6 form that allows you to input/output text to it, i will do the rest.
Mhmmm. Picture Hal learning from that in the way of 2 way communication between Hal and it. All automated I will help if u get stuck, but u will TRY.

Prettyy sure ur the only one that gets this...... And has the horse power to run it.
cyber jedi
Im currently working out the last of the bugs of UltraHal.... That i bugged MYSELF,,,, lmao
Thank u for the trust..... , Uve now joined the ranks of ART, Lightspeed , Robert M, checker57 and a few others that wana push the envolope of Hal.
« Last Edit: December 28, 2024, 03:29:21 am by cyberjedi »

sybershot

  • Hero Member
  • *****
  • Posts: 815
    • View Profile
Re: Project X.I.A.R. Extremely Intelligent Artificial Responses
« Reply #11 on: December 28, 2024, 06:33:30 am »
Don't mind the mess please, but here is a test working concept of my see-thru display, displaying my award from cyberjedi. Thank you cyberjedi  ;D

sybershot

  • Hero Member
  • *****
  • Posts: 815
    • View Profile
Re: Project X.I.A.R. Extremely Intelligent Artificial Responses
« Reply #12 on: December 28, 2024, 10:14:51 am »
Quote
Mhmmm. Picture Hal learning from that in the way of 2 way communication between Hal and it. All automated I will help if u get stuck, but u will TRY.

@ cyberjedi
My brother I think there might be some misunderstanding, Sorry if I was not clear. Hal learning from a LLM while being and sounding very cool indeed, however I do not want Hal to learn from the LLMs, in all reality the LLM's are going to be my workforce. However maybe in the near future I may incorporate that feature.
My Objective is to use Ultra Hal as a main front end and chatbot, atm Open webUI is my main front end but it lacks a 3D character and a customizable Ui.

planning on getting a 4tb nvme drive soon i all goes well. anyways back on track

here is the tech stack I am wanting to put together, note some is already up fully connected and running.

Ultra Hal: Front end interface for all commands
Open WebUI: Back end interface to receive commands from Hal, Keep records, and send commands to agents
Flowsie: simple workflows
N8N: complex workflows
Postgress: for SQL database
Qdrant for RAG
Docker: container

sybershot

  • Hero Member
  • *****
  • Posts: 815
    • View Profile
Re: Project X.I.A.R. Extremely Intelligent Artificial Responses
« Reply #13 on: January 07, 2025, 07:07:01 pm »
Code: [Select]
Private Sub SendPromptToLLM()
    Dim Http As Object
    Dim Url As String
    Dim Prompt As String
    Dim JsonRequest As String
    Dim JsonResponse As String
   
    ' Initialize the HTTP object
    Set Http = CreateObject("WinHttp.WinHttpRequest.5.1")
   
    ' Define the LLM URL and the prompt
    Url = "http://localhost:8080/"
    Prompt = "What is the capital of France?"
   
    ' Create JSON payload
    JsonRequest = "{""prompt"":""" & Prompt & """}"
   
    On Error GoTo ErrorHandler
   
    ' Configure and send the HTTP POST request
    Http.Open "POST", Url, False
    Http.SetRequestHeader "Content-Type", "application/json"
    Http.Send JsonRequest
   
    ' Retrieve the response
    JsonResponse = Http.ResponseText
   
    ' Output the response
    MsgBox "Response from LLM: " & JsonResponse
   
    Exit Sub
   
ErrorHandler:
    MsgBox "Error: " & Err.Description
End Sub

sybershot

  • Hero Member
  • *****
  • Posts: 815
    • View Profile
Re: Project X.I.A.R. Extremely Intelligent Artificial Responses
« Reply #14 on: January 08, 2025, 08:34:15 pm »
Nvidia Just Revealed The Future Of AI Agents In 2025..
https://www.youtube.com/watch?v=E_RErqD1kv8