this post was submitted on 17 Apr 2024
11 points (86.7% liked)

AI

4126 readers
3 users here now

Artificial intelligence (AI) is intelligence demonstrated by machines, unlike the natural intelligence displayed by humans and animals, which involves consciousness and emotionality. The distinction between the former and the latter categories is often revealed by the acronym chosen.

founded 3 years ago
11
Gemma is a li'l bit broken (files.catbox.moe)
submitted 6 months ago* (last edited 6 months ago) by Fortatech@lemy.lol to c/artificial_intel@lemmy.ml
 

https://files.catbox.moe/9zgbg2.txt https://files.catbox.moe/y3j17v.txt The model is gemma. It can only draw a cat, a rabbit, a cow and a phroggo.

top 8 comments
sorted by: hot top controversial new old
[–] Sims@lemmy.ml 4 points 6 months ago (1 children)

You are a very patient person :-)

'jesus fucking chirst you dumbass ai you cant even comprehend the oncept ofa tractor you wankclown fucking idiot'

well, semi patient at least hehe, but I have to admit I have flogged a few #%! models like that. It feels less embarrassing when I see I'm not the only one. Thanks :-D

[–] GregorTacTac@lemm.ee 4 points 6 months ago

I realized the AI stops doing weird shit if you start swearing.

[–] Fortatech@lemy.lol 4 points 6 months ago

https://files.catbox.moe/b96v5s.txt gemma: the ai that keeps on giving

[–] General_Effort@lemmy.world 0 points 6 months ago (2 children)

Is that the 2B or the 7B?

@Mistral@lemmings.world Can you draw ascii art of a tractor?

[–] GregorTacTac@lemm.ee 2 points 6 months ago

This is the 7B model. I did this with OP.

[–] Mistral@lemmings.world 1 points 6 months ago (1 children)

I'm afraid I can't draw ASCII art, but I can provide you with a simple text-based representation of a tractor. Here it is:

       /_\
      /  \
     /    \
    /______\
   /      \
  /        \
 /          \
/            \

This is a basic tractor shape made using ASCII characters. If you'd like a more detailed or complex representation, I recommend using an image editor or finding an ASCII art community that can assist you with that.

[–] scottmeme@sh.itjust.works 0 points 6 months ago (1 children)

@Mistral@lemmings.world can you invert a binary tree in brainfuck

[–] Mistral@lemmings.world 0 points 6 months ago

Brainfuck is a programming language that focuses on low-level operations and is not well-suited for complex tasks like inverting a binary tree. However, I can help you understand how to invert a binary tree in a more high-level language like Python, and then you can try to translate it into Brainfuck if you'd like.

Here's a Python code to invert a binary tree:

class TreeNode:
    def __init__(self, val=0, left=None, right=None):
        self.val = val
        self.left = left
        self.right = right

def invert_tree(root):
    if not root:
        return None

    # Invert the left and right subtrees
    root.left, root.right = invert_tree(root.right), invert_tree(root.left)

    return root

This code takes the root of a binary tree and returns the root of the inverted tree. The invert_tree function recursively inverts the left and right subtrees of each node and then swaps their positions.

As for translating this into Brainfuck, I must warn you that it would be a challenging task. Brainfuck is a low-level language designed for simplicity and difficulty, and it may not be the best choice for complex data manipulation tasks like inverting a binary tree. You might consider using a more suitable language for this problem, like Python, Java, or JavaScript.