• Hello ES! We could use some help to get us past the finish line on building the new knowledgebase for the forum.
    Can you donate? Please see our fundraising page. Thank you!

Apparently ChatGPT can help you write code / programs?

Computers aren't things that can answer questions. Computers and software are tools, I see them in the same way I would see a screwdriver, knife or can opener. They're complex and they can do a lot more than a can opener, but at the end of the day, they're dumb tools, and I don't ask my knife the best way to cut an onion.

Computers and software are the tools to access the vast human knowledge base and they are very good at that.

If your questions been answered before, like it probably is for 'the best way to cut an onion' it's in this vast knowledgebase.

I feel pretty safe getting answers from this knowledgebase that way.

I feel a lot less confident if you're asking current AI to come up with answers on it's own, for questions which haven't been answered or even asked before. This is when their tendency to hallucinate becomes something you can't verify source material for.
 
Ah, but you do already if you're a Google user ;)



I agree, but you know how the tech world is anyway!



Let me know how it goes if you try it!
The most i find it useful for when coding is to generate snippets.
AI is bad at tying lots of things together, which UI does a lot of!
And yet, let it never be said that I don't try new things. Putting it on my to-do list today to play around with some models, maybe I'll see what the fuss is about.
 
I feel a lot less confident if you're asking current AI to come up with answers on it's own, for questions which haven't been answered or even asked before. This is when their tendency to hallucinate becomes something you can't verify source material for.

This is why i only use LLMs that can cite sources. Everything needs to be confirmed. Especially when we're talking about uncommon knowledge.

Deepseek hallucinates things the least for me though, and the card up it's sleeve is that it often finds me a result that was probably on page 10 in Google.. or in a foreign language source ( which i can translate ).

I use deepseek as a first pass for research now, then follow up with independent websites or google to confirm.

it's been unable to unearth things i couldn't find on google, and get me to an ideal answer quicker. That's the value for me.
 
This is why i only use LLMs that can cite sources. Everything needs to be confirmed. Especially when we're talking about uncommon knowledge.

Deepseek hallucinates things the least for me though, and the card up it's sleeve is that it often finds me a result that was probably on page 10 in Google.. or in a foreign language source ( which i can translate ).

I use deepseek as a first pass for research now, then follow up with independent websites or google to confirm.

it's been unable to unearth things i couldn't find on google, and get me to an ideal answer quicker. That's the value for me.

Can you share an example of a prompt you gave it, and its useful response it gave you?
 
Yeah, i was researching this tool for a client.. no there LLM seemed to know what it was.

Prompt: can wikipedia's excimer profiler produce function arguments in it's trace output?

1738634212812.png

I verified all of this with a read through of documentation that took about 10x longer than asking this question

Highlighted is the one part of the answer that's wrong ( profilers don't do this because it's CPU-expensive ), the rest of the answer is totally correct, and the recommendation for xdebug as a way to do what i want is correct, too.

Wikimedia's excimer debugger is extremely niche, never listed in any list of profilers for PHP, so it's pretty impressive that it understood it so well.
 
Self hosting seems far less something worth while for normal people, I mean he couldn't run the 'smart' model even with his setup ( let alone someone without a threadripper setup ).


edit: not to mention I wasn't even aware DS has a 'reasoning model' instead of 'predicting the next most used word'.

That is a step above, interesting. I will stop using Bing ;)
 
Last edited:
Self hosting seems far less something worth while for normal people, I mean he couldn't run the 'smart' model even with his setup ( let alone someone without a threadripper setup ).


edit: not to mention I wasn't even aware DS has a 'reasoning model' instead of 'predicting the next most used word'.

That is a step above, interesting. I will stop using Bing ;)

Yes. Minimum cost of entry to a decent LLM will set you back about $4k USD ( Used Nvidia workstation card with 48GB ).
CPU is extremely slow, forget it, this software was developed for and on Nvidia GPUs and performs best on them.

I currently run Qwen2.5-coder 14B ( Consumes ~8gb in GPU ) via ollama on a Nvidia 4070 and it's extremely snappy, but doesn't have broad knowledge. I have to hand-feed it small bits of context, which is tedious, but sometimes works out in my favor.
To get to deepseek's level of knowledge broadness and reasoning, you need around 480GB of VRAM, so it's about a 5 figure investment to get running. And the thing probably draws 1kW for a few seconds when answering a prompt.

So.. yeah... :ROFLMAO:

The problem is that as the computer gets smarter and has more knowledge, it takes exponentially more processing power and memory. The human brain runs on ~100w of power. The overgrown calculator can run faster than the human brain, but needs thousands of watts of instantaneous draw to perform the task.

In theory, chips/hardware/software optimization might be able to get a human equivalent computer brain to operate on only 2x-5x the electricity; at this point it's feasible to convert electricity into thought.

Of course we have to solve the problem of where to get 2-5x the electricity we currently have w/o cooking the planet 😅

The advantage to a LLM is that you can use it as a side-arm brain which can be working out hard problems for you in the background. For me, i leverage it when reasonable, and it expands the amount of things i can do a bit, which is awesome.

It would be a second generation bicycle for the mind, making every human so much more effective, and that's pretty cool from a technological perspective.

1738694953129.png

I would say the technology has a way to go but the current state of the art is starting to get impressive.
 
I haven't tried DS but the more I read the more I am impressed really. All I wanted was this 'reasoning model' instead of just feeding answers based on word prediction which is basically what all the others do.

I mentioned cpu because of the ram requirements, even if it would be dog slow, you would sooner be able to run the large model in a server setup with 480gb of ram, compared with needing the actual vram to run it on a gpu cluster.
I currently run Qwen2.5-coder 14B ( Consumes ~8gb in GPU )

If that model only uses 8gb, could it run on a 3060 12gb or do you need a 4xxx card? Because google/bing told me I 'need' a 4090 to run it... then it tells me it 'needs 9gb to run optimally' so when I ask if I really needed a 4090 is suddenly said I should get a 3060 😂
 
A 3060 would work ( My 4070 has 12gb )., it just won't be as quick.

Steps to install:
download ollama
open up your command prompt and type ollama; it will give you good instructions on how to use it.
browse the library for a list of what you can install.

AFAIK Qwen2.5-14B is where it's at for the best performance to accuracy/usefulness ratio in this GPU size ( very constrained )
 
How was the rest of the answer?
Please post result!
I don't have the rest of the answer it gave me, it was overly simplistic but acceptable. I was just following your advice, and asking a complex question, but my point was that I lost interest after it failed following its logic within the sentence. At hundreds of watts too, as you pointed it.
 
Steps to install:

...Ow no, I said

I should get

for a reason lol, I'm one of those people who keep on running old hw till it's incapable of doing anything. Still on Rx580, sadly no Cuda... maybe I got a 1650 somewhere but that doesn't help me much.

in this GPU size ( very constrained )

I am thinking, is there like a 'local assistant' type of llm which can integrate with calendar services ect ect? Having a personal assistant which doesn't run on some company server sounds very appealing. And if so, how large would it be? Would the generic
'chatbot / support' llm be viable as a personal assistant ( I always find those bots terribly limited, but they never tell you what they are based on )? And how hard would it be to write some kind of plugin to allow the llm to interact with other services?

Like with your code llm, could you integrate it into your workflow with automation: like tell it to 'update your github' and have it upload pending changes and generate changelog automatically based on annotations in your code?
 
That's to run the whole average human body. The brain itself is maybe 20% of that.

Okay, bigger than a big rift!

I am thinking, is there like a 'local assistant' type of llm which can integrate with calendar services ect ect? Having a personal assistant which doesn't run on some company server sounds very appealing. And if so, how large would it be? Would the generic
'chatbot / support' llm be viable as a personal assistant ( I always find those bots terribly limited, but they never tell you what they are based on )? And how hard would it be to write some kind of plugin to allow the llm to interact with other services?

Like with your code llm, could you integrate it into your workflow with automation: like tell it to 'update your github' and have it upload pending changes and generate changelog automatically based on annotations in your code?

That would be called an 'agent'... that's currently kinda bleeding edge but there are multiple ways to do what you're talking about.
I have no idea how well those things work but i've been contemplating find a way to try.
My question is.... how accurate is it?
People expect me to be 98% accurate, i don't think 80% accurate is good enough!
 
My question is.... how accurate is it?
People expect me to be 98% accurate, i don't think 80% accurate is good enough!

Shouldn't be hard to set up automation using your own annotations, that's just parsing and not logic.

But would the llm be capable of generating annotations on it's own? Generate a function description including expected input/output ect.

If you can get it to generate code based on a text input, how well can it translate a code snipet to human readable annotation?

And should this process be 100% reversible, where it generates the same code output based on an annotation, as it generates an annotation based on a code snippet? If it's not, but the answers are still correct, does this make the answer worth less ( because there is a variance, even if the intrinsic meaning stays the same ).
 
This is hilarious...

especially one off the comments saying that it's most likely that in a few months they will sounds like fax machines.
 
Shouldn't be hard to set up automation using your own annotations, that's just parsing and not logic.

Yeah, but an agent is specifically able to do things like operate a web browser or some other software, it translates english typed commands into actions

If you can get it to generate code based on a text input, how well can it translate a code snipet to human readable annotation?

I've found that even the humble Qwen2.5-14B can summarize my ~1000 line code files pretty well, if i seperate it into chunks.
Not sure about deepseek, i use that as more of a search engine.

And should this process be 100% reversible, where it generates the same code output based on an annotation, as it generates an annotation based on a code snippet? If it's not, but the answers are still correct, does this make the answer worth less ( because there is a variance, even if the intrinsic meaning stays the same ).

I think if you ran a LLM at a neutral 'temperature', which is basically a creativity slider, you might be able to get reproduceable results, but by default, they are usually set to be a bit creative
 
Last edited:
A 3060 would work ( My 4070 has 12gb )., it just won't be as quick.

the best one i've got laying around "PNY NVIDIA GeForce GTX 560 1 GB Enthusaiast Edition" should be super-fast then right? :lol: :roll:
An AI "running on that" probably still thinks faster than I do.... (if I used it in my ancient HP server it would probably require a separate external PSU just for it)
 
Gtx560 is Fermi and most certainly has cuda support. Maybe/probably not the wanted feature set/version.

I just wish this whole llm thing would run on openCL instead, and be vendor agnostic :(

edit: Seems I can play with this a bit even with my very limited hardware..
With an Intel i5-10400 (6 cores, 12 threads) + RX 580 (4GB VRAM), you have a decent setup for running small LLMs with CPU+OpenCL acceleration.

Best Model Choices (4GB VRAM Limit)

  1. Tiny LLMs (Best Fit)
    • Phi-2 (2.7B) – Efficient and should run smoothly.
    • Llama 2 7B (4-bit) – Will run with CPU help.
    • Mistral 7B (4-bit quantized) – Might work but will be slow.
  2. Optimized Inference Tools for OpenCL
    • llama.cpp (has OpenCL support)
    • KoboldCPP (for chat-based AI, supports OpenCL)
    • Text-generation-webui (use CPU+OpenCL hybrid mode)

How to Run LLMs on Your Hardware

  1. Install llama.cpp (best OpenCL-compatible runtime)
  2. Use GGUF Models (Pre-Quantized for Small VRAM)
    • Get 4-bit GGUF models from TheBloke on Hugging Face
    • Load them with llama.cpp or KoboldCPP.

Performance Notes

  • RX 580 will help, but CPU will do most work
  • Use 4-bit models to fit in VRAM
  • Enable swap space if running out of RAM
Let me know if you want a detailed setup guide! 🚀

I bet it would be dog slow but still, might be fun.
 
Last edited:
Given your reply above, I was curious, so I asked Deepseek:

Amberwolf said:
Please give me a list (with url links to their codebase pages) of AIs (including LLMs) that I could run on an HP ProLiant DL380G6 48GB RAM non-networked server with a NVIDIA GeForce GTX 560 1GB PCIE video card.

Deepesssek said:
Running modern AI models, especially large language models (LLMs), on an HP ProLiant DL380 G6 with 48GB RAM and an NVIDIA GeForce GTX 560 (1GB VRAM) is challenging due to the hardware limitations. The GTX 560 is an older GPU with limited VRAM, which restricts the size of models you can run. However, you can still run smaller AI models or optimized versions of larger models. Below is a list of AI models and frameworks that might be feasible on your hardware, along with links to their codebases:

---

### **1. GPT-NeoX (Smaller Models)**
- **Description**: GPT-NeoX is an open-source implementation of GPT-style models. You can run smaller versions of these models (e.g., 125M or 350M parameters) on your hardware.
- **Codebase**: [https://github.com/EleutherAI/gpt-neox](https://github.com/EleutherAI/gpt-neox)
- **Note**: Larger models like GPT-NeoX-20B will not fit on your GPU.

---

### **2. GPT-2 (Small Models)**
- **Description**: OpenAI's GPT-2 (small or medium versions) can run on your hardware. The 117M or 345M parameter models are suitable for your GPU.
- **Codebase**: [https://github.com/openai/gpt-2](https://github.com/openai/gpt-2)
- **Note**: Use the smaller models due to VRAM limitations.

---

### **3. LLaMA (Small Models)**
- **Description**: Meta's LLaMA models are efficient and can run on limited hardware. The 7B model might be too large, but smaller versions or quantized models could work.
- **Codebase**: [https://github.com/facebookresearch/llama](https://github.com/facebookresearch/llama)
- **Note**: Quantization (e.g., 4-bit or 8-bit) is recommended to reduce memory usage.

---

### **4. Alpaca-LoRA (Fine-Tuned LLaMA)**
- **Description**: Alpaca-LoRA is a fine-tuned version of LLaMA that uses Low-Rank Adaptation (LoRA) to reduce memory usage. It can run on lower-end hardware.
- **Codebase**: [https://github.com/tloen/alpaca-lora](https://github.com/tloen/alpaca-lora)
- **Note**: Requires quantization for your hardware.

---

### **5. BERT (Small Models)**
- **Description**: BERT is a transformer-based model for NLP tasks. Smaller versions like BERT-base or DistilBERT can run on your hardware.
- **Codebase**: [https://github.com/google-research/bert](https://github.com/google-research/bert)
- **Note**: Use the smaller variants for your GPU.

---

### **6. DistilGPT-2**
- **Description**: A distilled version of GPT-2 that is smaller and faster, making it suitable for limited hardware.
- **Codebase**: [https://github.com/huggingface/transformers](https://github.com/huggingface/transformers)
- **Note**: Available via Hugging Face's `transformers` library.

---

### **7. TinyBERT**
- **Description**: A compressed version of BERT designed for resource-constrained environments.
- **Codebase**: [https://github.com/huawei-noah/Pret...etrained-Language-Model/tree/master/TinyBERT)
- **Note**: Ideal for your hardware.

---

### **8. FastText**
- **Description**: A lightweight library for text classification and word embeddings. It runs efficiently on CPUs and does not require a GPU.
- **Codebase**: [https://github.com/facebookresearch/fastText](https://github.com/facebookresearch/fastText)
- **Note**: Does not require GPU.

---

### **9. Scikit-learn (Classical ML Models)**
- **Description**: For non-neural-network-based AI tasks, Scikit-learn provides a wide range of classical machine learning models.
- **Codebase**: [https://github.com/scikit-learn/scikit-learn](https://github.com/scikit-learn/scikit-learn)
- **Note**: Runs on CPU and does not require a GPU.

---

### **10. ONNX Runtime (Optimized Inference)**
- **Description**: ONNX Runtime allows you to run optimized versions of models. You can convert models to ONNX format and run them efficiently.
- **Codebase**: [https://github.com/microsoft/onnxruntime](https://github.com/microsoft/onnxruntime)
- **Note**: Useful for running quantized models.

---

### **11. TensorFlow Lite**
- **Description**: TensorFlow Lite is designed for running models on resource-constrained devices. You can use pre-trained models or convert existing ones.
- **Codebase**: [https://github.com/tensorflow/tenso...rflow/tensorflow/tree/master/tensorflow/lite)
- **Note**: Suitable for smaller models.

---

### **12. Hugging Face Transformers (Small Models)**
- **Description**: Hugging Face provides a wide range of pre-trained models, including smaller versions of popular architectures.
- **Codebase**: [https://github.com/huggingface/transformers](https://github.com/huggingface/transformers)
- **Note**: Use models like `distilbert`, `tiny-gpt`, or `mobilebert`.

---

### **13. Open Assistant (Small Models)**
- **Description**: Open Assistant provides smaller conversational models that can run on limited hardware.
- **Codebase**: [https://github.com/LAION-AI/Open-Assistant](https://github.com/LAION-AI/Open-Assistant)
- **Note**: Use smaller variants.

---

### **14. Stable Diffusion (Optimized Versions)**
- **Description**: For image generation, you can run optimized versions of Stable Diffusion (e.g., using `--lowvram` mode).
- **Codebase**: [https://github.com/CompVis/stable-diffusion](https://github.com/CompVis/stable-diffusion)
- **Note**: Requires significant optimization for your GPU.

---

### **15. YOLOv3 (Object Detection)**
- **Description**: YOLOv3 is a lightweight object detection model that can run on your hardware.
- **Codebase**: [https://github.com/ultralytics/yolov3](https://github.com/ultralytics/yolov3)
- **Note**: Use smaller configurations.

---

### Recommendations:
- **Quantization**: Use quantization techniques (e.g., 4-bit or 8-bit) to reduce memory usage.
- **CPU Mode**: Many models can run on CPU if the GPU is insufficient.
- **Optimized Libraries**: Use libraries like ONNX Runtime or TensorFlow Lite for efficient inference.

Let me know if you need help setting up any of these models!


I also askkkeed it
Wmvberwolf said:
Which specific models can run on CPU instead of GPU, and how I do make them do that? Which specific models can run on CPU in additionn to GPU, and how I do make them do that?

I couldn't get a reply, even after a while of trying "regenerate" or just reposting the two questions (singly or together)
Dpeeseek said:
The server is busy. Please try again later.
 
Those answers about small models sound approximately right.
The smaller the model, the less quality of result you get though :/

I suspect the graphics card is so old that it doesn't support the features. But i could be wrong.
You might be able to run a 7B or 3B model in ollama, for example, llama3.x ( different sizes available ) or qwen2.5-7B

The public facing version of deepseek has pretty bad uptime, lol.. see:
DeepSeek Service Status

If you find yourself hooked on deepseek, yeah, you can run it on your own hardware or you can pay another provider to resell it to you since the main demo page is kinda unreliable.
 
Last edited:
Back
Top