2,144 karma · joined February 9, 2021
http://github.com/bwasti
[all posted thoughts and comments are my own]
Might seem crazy today, but I think it’ll boil down to the conceptual equivalent of “is this text spell checked?”
"When the researchers tested the model on around 1,500 brain scans, it could almost always tell if the scan came from a woman or a man."
It's pretty cool to see blackbox models derive reliable signals from basically raw data. However, the results don't really imply sex differences are biological in nature if I'm reading correctly. Being raised male/female probably has some profound impacts on the brain (these were adult brains). I bet a similar methodology would be able to tell who played American football growing up...
I find Python to be the most pleasant personally.
check out how a modern language deals with this stuff https://bun.sh/docs/api/ffi#usage
updated my comment to paste in what's written in the docs
Node.js:
const model = genAI.getGenerativeModel({ model: "gemini-pro-vision"});
const result = model.generateContent({ contents: [{parts: [
{text: "What’s in this photo?"},
{inlineData: {data: imgBase64, mimeType: 'image/png'}}
] }] })
Web: const model = genAI.getGenerativeModel({ model: "gemini-pro-vision"});
const result = await model.generateContent([
"What’s in this photo?",
{inlineData: {data: imgDataInBase64, mimeType: 'image/png'}}
]);