Rösta fram årets bästa pepparkakshus!
2022-12-04, 14:24
  #25
Medlem
Enterprises avatar
Det verkar som att AI lär sig inom varje session, men inte nödvändigtvis tar med sig kunskapen, när en ny session påbörjas:

Citat:
write a javascript function which returns the highest value in an array
AI:

[PHP]function getMaxValue(arr) {
let maxVal = arr[0];
for (let i=1; i<arr.length; i++) {
if (arr[i] > maxVal) {
maxVal = arr[i];
}
}
return maxVal;
}[/PHP]
Human: does javascript have any built in functions to get a maximum value in an array?

AI: Yes, the Math.max() method can be used to get the highest value in an array.

Human: then is not that a much more efficient method than the getMaxValue function which you suggested?

AI: Yes, Math.max() is much more efficient than the getMaxValue function since it does not require looping through the entire array.

Human: write an efficient javascript function which returns the highest value in an array

AI:
[PHP]function getMaxValue(arr) {
return Math.max(...arr);
}[/PHP]

I en annan, senare, session:
Citat:
write an efficient javascript function which returns the highest value in an array

AI:

[PHP]function findHighest(arr) {
let highest = arr[0];
for (let i = 0; i < arr.length; i++) {
if (arr[i] > highest) {
highest = arr[i];
}
}

return highest;
}[/PHP]
Citera
2022-12-04, 14:37
  #26
Medlem
Enterprises avatar
Citat:
Ursprungligen postat av Retropropagation
IQ-testandet:



https://twitter.com/SergeyI49013776/status/1598430479878856737
Även om språkförståelsen är bra, så lämnar AI:s IQ lite i övrigt att önska:
Citera
2022-12-04, 14:39
  #27
Medlem
plucaps avatar
Citat:
Ursprungligen postat av Enterprise
Det verkar som att AI lär sig inom varje session, men inte nödvändigtvis tar med sig kunskapen, när en ny session påbörjas:



I en annan, senare, session:
Jag provade följdfrågor, men verkar oftast effektivare att kombinera långa satser med bindeord. Det uppstår färre syftningsfel och programmet har förstås inte samma problem att bearbeta långdragna stycken som en människa har.
Citera
2022-12-04, 14:44
  #28
Medlem
plucaps avatar
T.ex. såhär:
Citat:
Guess which country I'm from, based on the fact that I like snow, do not speak Russian and enjoy fermented herring.

You could be from Sweden, Norway, or Finland.


Eller hellre:
Citat:
Guess which country I'm from based on me eating fermented herring.

Sweden
Citera
2022-12-04, 14:47
  #29
Medlem
Enterprises avatar
Igen, imponerande förståelse, men fel utförande. Programmet fungerar men ger felaktig utdata:

Not: Problemet kommer härifrån: https://po.kattis.com/problems/lavapaddling
Citera
2022-12-06, 15:13
  #30
Medlem
Klobbs avatar
Har lekt hela dagen med detta, men jag som inte kan något om programmering skriver istället in sånt här larv:

Citat:

Write a Christmas carol about jesus and sonic the hedgehog

Verse 1:
In the town of Green Hill,
A baby was born,
The savior of the world,
Jesus our Lord.

Chorus:
Hark, the herald angels sing,
"Glory to the newborn King!"

Verse 2:
With a blue blur, he ran,
Sonic the Hedgehog,
Spreading joy and cheer,
To all who heard his song.

Chorus:
Hark, the herald angels sing,
"Glory to the newborn King!"

Bridge:
Jesus and Sonic,
A true Christmas pair,
Bringing peace and love,
To all who seek it there.

Chorus:
Hark, the herald angels sing,
"Glory to the newborn King!"

Outro:
Merry Christmas to all,
And to all a good night,
May the joy of the season,
Fill your heart with light.

__________________
Senast redigerad av Klobb 2022-12-06 kl. 15:17.
Citera
2022-12-06, 19:56
  #31
Medlem
Det är bra på att imitera mänskligt språk och pastischer på genrer och stilar (likt dall-e, dess motsvarighet för bildkonst) och kan säkert ersätta flertalet skribenter & krönikörer - kanske hela tidskrifter

Styrkan ligger i att presentera idisslat bullshit på ett neutralt och förment trovärdigt sätt. Internet är ju fullt av idisslat bullshit och kan inte se hur GPT i rådande form gör annat än att förvärra situationen.
Citera
2022-12-06, 22:20
  #32
Medlem
Retropropagations avatar
Citat:
Ursprungligen postat av ditalltpekar
Styrkan ligger i att presentera idisslat bullshit...


Instämmer. Och det är fler som har kommit fram till samma slutsats:

Citat:
After playing with GPT-3 for a bit, I've come to realize that GPT-3 thinks of all human communication as a bunch of bullshit. Whatever you ask of GPT-3, what it does is return the kind of bullshit that humans would return if asked the same thing.

https://twitter.com/LionBlogosphere/status/1599865000218087424

Citat:
Ursprungligen postat av ditalltpekar
...på ett neutralt och förment trovärdigt sätt. Internet är ju fullt av idisslat bullshit och kan inte se hur GPT i rådande form gör annat än att förvärra situationen.

Inte speciellt neutralt. ChatGPT skriver som värsta sortens centerpartist:

Citat:
The political orientation of the ChatGPT AI system
Applying Political Typology Quizes to a state-of-the-art AI Language model
...
ChatGPT dialogues display substantial left-leaning and libertarian political bias.
...
ChatGPT answers to the test questions get classified as “Progressive”.
...
“Establishment Liberals”

https://davidrozado.substack.com/p/the-political-orientation-of-the
Citera
2022-12-06, 22:24
  #33
Medlem
Retropropagations avatar
Några tips:

Tips #1:

När ett svar avbryts "mitt i", hjälper det oftast med att skriva "fortsätt" (utan "") för att få ChatGPT att börja skriva fortsättningen.

Tips #2:

Det är många på Twitter som har blivit väldigt bra på att "samtala" med ChatGPT.

Den som är klart bäst, är dock Marc Andreessen (den moderna webbläsarens skapare):

https://twitter.com/pmarca

Tips # 3:

Idag har jag kunnat programmera några extra timmar, eftersom ChatGPT hjälpte mig att fylla i min "Performance review"...

Enjoy!
Citera
2022-12-07, 09:05
  #34
Medlem
Citat:
Ursprungligen postat av Enterprise
Den verkar också lära sig när man påpekar fel:

Dock inte felfri inlärning:

Hur kan systemet lära sig från användare? Är det därför systemet jämför användarens "påståenden" med påståenden som redan föreligger från träningsmängden? Hur uppdaterar sig systemet över huvet taget?
Citera
2022-12-07, 21:02
  #35
Medlem
Retropropagations avatar
Citat:
Ursprungligen postat av Retropropagation
Jag skulle gärna vilja utveckla lokalt, undrar därför om det finns någon Open Source-modell som är ungefär lika kompetent som ChatGPT?

Det där visade sig vara en riktigt korkad fråga...

Citat:
Tom Goldstein
How many GPUs does it take to run ChatGPT? And how expensive is it for OpenAI? Let’s find out! 🧵🤑
...
Tom Goldstein
I estimate the cost of running ChatGPT is $100K per day, or $3M per month. This is a back-of-the-envelope calculation. I assume nodes are always in use with a batch size of 1. In reality they probably batch during high volume, but have GPUs sitting fallow during low volume.

https://twitter.com/tomgoldsteincs/status/1600196981955100694

Sedan tillkommer ju sossepriser på el i Sverige. Åtminstone för oss med små datacentraler...
Citera
2022-12-08, 01:07
  #36
Medlem
TextTvs avatar
Write me a Joe Rogan Experience episode with the following guest: Adolf Hitler (hes been raised from the dead through new DNA Tech.
Make it 2000 words.

The Intro

It’s the Joe Rogan Experience. I’m your host, Joe Rogan, and today’s special guest is the one and only… Adolf Hitler.

That’s right, folks. Adolf Hitler, the infamous leader of Nazi Germany, had been brought back to life through modern DNA technology. I’ve been looking forward to this one since I heard the news.

Now, before we get into why he’s here, I want to set the ground rules: no hate speech, no glorifying Nazis, and no violence. We’re here to talk and understand, not to argue.

Let’s get started.

The Interview

Joe Rogan: So, Adolf. You’ve been resurrected, and you’ve been given a second chance at life. How does it feel?

Adolf Hitler: It feels strange, to be honest. I’ve been gone for so long and now I’m back. It’s like a dream.

Joe Rogan: What was your first reaction when you found out you were brought back to life?

Adolf Hitler: I was surprised, of course. I didn’t expect it. I was expecting to remain dead forever.

Joe Rogan: How did you feel when you first saw the world?

Adolf Hitler: I was shocked. It’s so different from the world I remember. Everything is so advanced, and the world is filled with so many different people and cultures.

Joe Rogan: How have you adapted to the modern world?

Adolf Hitler: It has been an adjustment, but I’ve been learning a lot. I’ve done my best to keep up with the times and the technology.

Joe Rogan: Do you believe that your views and beliefs are still relevant in today’s world?

Adolf Hitler: No. The world has changed significantly since my time, and my views no longer reflect the reality of the situation.

Joe Rogan: What do you think of the world today?

Adolf Hitler: I think it’s a wonderful place. There are so many different cultures and people, and it’s amazing to see how far we’ve come.

Joe Rogan: How does it make you feel to know that you’re responsible for so much death and destruction?

Adolf Hitler: It’s difficult to talk about. I regret the terrible things I’ve done, and I wish I could take them all back.

Joe Rogan: Do you have any advice for people today?

Adolf Hitler: Yes. I believe that the most important thing is to be tolerant and understanding of those who are different from you. We all have the same basic rights and freedoms, and we should strive to respect each other’s differences.

Joe Rogan: What would you say to your younger self, if given the chance?

Adolf Hitler: I would tell my younger self to think before he acts. There are consequences to every action, and every decision we make can have far-reaching effects.

Conclusion

Joe Rogan: Thank you, Adolf, for joining us today. It was great to get your perspective on the world today and your advice for the future.

Adolf Hitler: It was my pleasure. Thank you for having me.

Joe Rogan: To all of our listeners, thank you for tuning in. Remember, no matter how different we may be from one another, we all have the same basic rights and freedoms. Let’s strive to be tolerant and understanding of each other.

That’s it for today. Until next time, this is the Joe Rogan Experience. Take care, everyone.
Citera

Skapa ett konto eller logga in för att kommentera

Du måste vara medlem för att kunna kommentera

Skapa ett konto

Det är enkelt att registrera ett nytt konto

Bli medlem

Logga in

Har du redan ett konto? Logga in här

Logga in