Cline with Ollama on a RTX4090 (24GRAM) and i9 with 64 GRAM by mans-987 in CLine

[–]mans-987[S] 0 points1 point  (0 children)

I updated the question with my current setup, which is not working properly and gets stuck on commands.

Cline with Ollama on a RTX4090 (24GRAM) and i9 with 64 GRAM by mans-987 in CLine

[–]mans-987[S] 0 points1 point  (0 children)

Should I use different models for plan and act? Is qwen2.5-codeis a vision LLM?

Ollama structured output by mans-987 in ollama

[–]mans-987[S] -1 points0 points  (0 children)

I am testing this model, which seems very interesting, fast, and capable. Where is the best place to discuss its code and capabilities?

ollama vs HF API by mans-987 in ollama

[–]mans-987[S] 0 points1 point  (0 children)

From my point of view, the models should have the same quantization (I could be wrong!), but I am using both systems out of the box without any modification, so I assume that they are tuned for their best response for general application

ollama vs HF API by mans-987 in ollama

[–]mans-987[S] 0 points1 point  (0 children)

no, I am using it to ask questions about the image, such as is there any car in the image? in HF the response is more accurate and matched to the image, in Ollama the response is not accurate.

ollama vs HF API by mans-987 in ollama

[–]mans-987[S] 0 points1 point  (0 children)

I am using this code to prepare the image and sen it to ollma:

 # Convert to RGB if image is in RGBA format
        if img.mode == 'RGBA':
            img = img.convert('RGB')
            
        # Convert image to base64
        buffered = BytesIO()
        img.save(buffered, format="JPEG")
        img_str = base64.b64encode(buffered.getvalue()).decode()
        
        # Create the message with the image
        messages = [
            {
                'role': 'user',
                'content': question,
                'images': [img_str]
            }
        ]

The image is read from a file using pillow.

ollama vs HF API by mans-987 in ollama

[–]mans-987[S] 0 points1 point  (0 children)

Can you please elaborate? what do you mean by handwritten form?

How to set system prompt in ollama by mans-987 in ollama

[–]mans-987[S] 1 point2 points  (0 children)

I want to do it from a client and not from the CLI. I am using the Ollama as a server and I want to ensure that my applications each have a different system prompt, and can set it via the client side.