kokolegorille

kokolegorille

Hello everyone,

I have been playing with AI recently and found GPT-J-6B model.

It’s quite impressive. You can try it on the web.

I tried this as input…

# use GenServer and tick every 1000 ms and print "Hello"

and got this result

# use GenServer and tick every 1000 ms and print "Hello"

defmodule Hello do
  use GenServer

  def start_link do
    GenServer.start_link(__MODULE__, :start, [])
  end

  def init({} = state) do
    {:ok, state}
  end

  def handle_info({:tick, _}, state) do
    IO.puts "Hello"
    {:noreply, state}
  end
end

It’s not even made to generate code :slight_smile:

What do You think?!

#ai

Showing Posts 1 to 10

thiagomajesk

thiagomajesk

Jokes aside, I’ve also been playing with Github Copilot for some time and as a tool It does some cool tricks. But to say that AI will eventually replace us is too far-fetched for my taste haha.

I imagine that AI (in the near future) will become a lot more present in our lives in the sense that will allow us to abstract even more some workflows (like calculators for mathematicians), but I still seriously doubt that it’ll replace everything and everyone like some like to say - well, at least for any job that requires introspection.

I’m still very curious about the future though, we are living in weird times :sweat_smile:.

kokolegorille

kokolegorille OP

The title is a bit provocative :slight_smile:

It’s not the tool, but what we’ll do with it.

hauleth

hauleth

When people will learn the restricted subset of English language, that will describe their needs in concise and precise way… Oh, wait…

Sebb

Sebb

Impressive indeed.

What makes me sleep well at night:

AstonJ

AstonJ

I will just put this here Koko:

:003:

f0rest8

f0rest8

We don’t need to worry about AI replacing/overthrowing us per say… (great title btw :blush:), but we do need to worry about it’s costs to everything, and if you’re curious just read renowned Microsoft researcher Kate Crawford’s latest book: Atlas of AI.

However, we do need to worry about computational governance, the infrastructure for which we are building and the reality of which we are racing toward. If you’re curious about that then there’s really one book to start your information journey, and that’s Harvard professor emeritus Shoshana Zuboff’s The Age of Surveillance Capitalism.

Disclaimer: Zuboff’s book was the final tipping point motivating me to go and make Metamorphic. But definitely both books above are books worth reading (especially so since we and our peers are the ones making and shaping our digital future). :blush:

Side note: this just made me think of Matrix 4 coming out.

crispinb

crispinb

Given the precipitous collapse in our earth’s ecosystems, and our complete failure to even feint at addressing the multiple fronts on which they are challenged (climate breakdown being only the most salient), it seems unlikely any “intelligence” (artificial or otherwise) could be any more dangerous than that of Homo (alleged) sapiens.

shd42

shd42

Considering the no-code movement what supposed to “replace” us a long time ago and i’m still waiting for that to happen… (and i use one of the most prominent one for clients projects, which ended up being more of a problem than a solution to anything…)

@thiagomajesk Github Copilot has pretty clearly copyright infringement and other niceties up it’s sleeve (it’s all about the money they can make out of it after all) to ensure that tool actually works somewhat properly, it’s not any time soon that i’ll use this. Using it is pretty much giving them the authorization to go further (and they will).

@crispinb Well that’s dark…and unfortunately, not really wrong. I’ve been participating for the best part of my adult life in various “mission” with a lot of different associations (Sea Shepherd, Pantera…). I must say, i didn’t find much hope in general. The situation is worse (imho) than it was when i started taking an interest. I mean, when convincing people to refuse a plastic bag when they go get a piece of bread in the morning remains a somewhat difficult thing to achieve… (and the amount of various “excuses” i’ve got overtime could fill a dictionary).

@f0rest8 Thanks for the books, going straight to the list of “Must read now !” :wink:
On a side-note, one of the first thing i look for these days when considering using a service is where my data will be hosted (that is, the server provider for example) and i’ve been unable to find that information on Metamorphic website (note that i might have missed it…) ?

lud

lud

Did the app generate the code ? To me it only generates some advice text.

kokolegorille

kokolegorille OP

Yes it did, but You will get a different answer each time because of randomness.

It is meant to complete the text You enter…

You can try input like

once upon a time

# or 

il était une fois

But because it was also trained on SO and GitHub data too, a side effect is when You enter start of code, it will try to complete it.

For example… You can try input like this

import cv2
# use cv2 and detect edges

Another example, the bold text is my input.

once upon a time in the west there was a little kingdom ruled by a duke. And this duke, he was a very kind of man and liked by all and sundry but one thing worried him. He knew that in his kingdom was a wicked sorceress who was the meanest of all the mean and bad people of the world.

And he wished that he could have gotten rid of her and all her sorcery. But, you see, the sorceress was his wife and it was very difficult to get rid of her and there was always the danger of her turning him into a frog. And so he resolved that he would wait and one day when

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 92995 915
New
caslu
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
Herve37
We’re evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using. We’re particularly inte...
New
GES233
I’m posting this in response to Jose’s recent tweet (Cr. link) : People are sleeping on Elixir for a coding harness: Hot-code swappi...
New
_mfierro
Hello, I wrote Stop My Hand, a Scattergories-like web application using Phoenix/LiveView as my learning project for Elixir (after readin...
New
nseaSeb
AcmeScript — Writing JS hooks as if I were still using Elixir I’ve been having fun building a little something over the last few days: Ac...
New

Other Trending Topics Top

garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews