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 94592 917
New
cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
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
heathen
Quite interesting article Google brought me. Didn’t find any mentions about it here. What do you think in general? Would you use togethe...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
AstonJ
Since we have deprecated our Erlang sections (as we have dedicated Erlang Forums now) let’s add this thread for those who’d like to post ...
New
Null-logic-0
What IDE or editor are you using for Elixir development? Personally, I use Zed, and I really like it, but sometimes I wish there were a ...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New

Latest on Elixir Forum

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews