Text Generation
Transformers
PyTorch
TensorBoard
Safetensors
bloom
Eval Results
text-generation-inference
Inference Endpoints

Code generation with Bloom

#123
by SummerSigh - opened

I got this excellent output from Bloom!

import cv2

#load the webcam and run canny edge detection
cap = cv2.VideoCapture(0)
while True: 
-------------------------------------------------- My input stops here
    ret, frame = cap.read()
    gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
    edges = cv2.Canny(gray, 100, 200)
    cv2.imshow('frame', frame)
    cv2.imshow('edges', edges)
    if cv2.waitKey(1) & 0xFF == ord('q'):
        break

#release the webcam
cap.release()
cv2.destroyAllWindows()

It seems like it could be a very cool code-generation model!

Yea same, cool generations for code. Seems like as I said "Humans are replacing bots" 🤣. (I accidentally said it)

What is the script you ran/configs for this? I have been using the 3B set and asking simple questions and BLOOM has to be dumber than a second grader... Mind sharing your config?

Yea I also tested it today on just random stuff and it responded nonsense, that didn't happen before.

Sign up or log in to comment