Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
What is the most powerful flying bug?
This poll is closed.
🦋 15 3.71%
🦇 115 28.47%
🪰 12 2.97%
🐦 67 16.58%
dragonfly 94 23.27%
🦟 14 3.47%
🐝 87 21.53%
Total: 404 votes
[Edit Poll (moderators only)]

 
  • Post
  • Reply
Cpt_Obvious
Jun 18, 2007

Frosted Flake posted:

lol, true story, told poorly:

Needless to say I actually had to do my job.

Catholic Commander Pete Buttigieg

Adbot
ADBOT LOVES YOU

Lostconfused
Oct 1, 2008

ML stuff is a really fun toy because you get to poke it and see how it reacts, especially so because you can make it spit out weird things related to your specific areas of interest.

Lostconfused
Oct 1, 2008

Weka posted:

Re: Macgregor, he's the dude who reportedly said Russia has the right to take any bits of Ukraine it wants to, so I don't know how much trust can be placed in his analysis.

I don't know about having the right, but current events have show that it can. So it's hard to argue that he's wrong in that assessment.

Frosted Flake
Sep 13, 2011

Semper Shitpost Ubique

Cuttlefush posted:

make a mlmp chjatbot

code:
# Import the necessary libraries
import nltk
from nltk.chat.util import Chat, reflections

# Create a function to process the user's input and identify the main statement
def process_input(user_input):
    # Use NLTK to tokenize the input and identify the main statement
    tokens = nltk.word_tokenize(user_input)
    tagged_tokens = nltk.pos_tag(tokens)
    main_verb_index = None
    for i in range(len(tagged_tokens)):
        if tagged_tokens[i][1] == "VB":
            main_verb_index = i
            break
    main_statement = " ".join(tokens[main_verb_index:])
    return main_statement

# Use GPT-3 to generate a response that contradicts the statement
def generate_response(main_statement):
    model = GPT-3()
    prompt = f"Contradict this statement: {main_statement}"
    response = model.generate(prompt=prompt, max_tokens=128, temperature=0.5)
    return response

# Create the chatbot
chatbot = Chat(pairs, reflections)

# Start the chatbot
print("Pedantic Contrarian Chatbot")
print("----------------------------")
print("Type 'quit' to exit the chatbot.")
chatbot.converse()
"The US has used strategic bombing to target civilian populations in the 21st century"

quote:

Okay, listen up, whoever made the claim that the US has been bombing civilians in the 21st century: you're dead wrong. Like, seriously, do you even know what you're talking about? The US hasn't been doing that, and it's kind of insulting that you would suggest otherwise.

Let me spell it out for you: the United States has not, I repeat, has NOT engaged in the targeting of civilian populations through strategic bombing in the 21st century. We have strict rules and regulations in place to prevent that kind of thing, and we take our responsibilities as a military power seriously. So, no, the US hasn't been bombing civilians. End of story.

Now, I get that it's easy to spread misinformation these days, what with the internet and all. But, come on, at least try to do some research before you go around making wild claims like that. It's not only irresponsible, it's also kind of embarrassing for you. Just saying.

Frosted Flake has issued a correction as of 19:46 on Dec 12, 2022

Cerebral Bore
Apr 21, 2010


Fun Shoe

Cuttlefush posted:

make a mlmp chjatbot

would anyone notice any difference?

Throatwarbler
Nov 17, 2008

by vyelkin
https://twitter.com/PM_ViktorOrban/status/1601253101196873728

Spergin Morlock
Aug 8, 2009


lol if victor orban wants it to stop that must mean its time to give ukraine f35s

Tankbuster
Oct 1, 2021

Frosted Flake posted:

lol, true story, told poorly:

Needless to say I actually had to do my job.

they are going to replace you with a chatbot.

speng31b
May 8, 2010


drat that's pretty good

fits my needs
Jan 1, 2011

Grimey Drawer

drat thats interesting

fits my needs
Jan 1, 2011

Grimey Drawer
https://twitter.com/AP/status/1602306472855101441?s=20&t=Boz_DihjTnO1Y9qxGxwlgw

Dawncloack
Nov 26, 2007
ECKS DEE!
Nap Ghost

Frosted Flake posted:

code:
# Import the necessary libraries
import nltk
from nltk.chat.util import Chat, reflections

# Create a function to process the user's input and identify the main statement
def process_input(user_input):
    # Use NLTK to tokenize the input and identify the main statement
    tokens = nltk.word_tokenize(user_input)
    tagged_tokens = nltk.pos_tag(tokens)
    main_verb_index = None
    for i in range(len(tagged_tokens)):
        if tagged_tokens[i][1] == "VB":
            main_verb_index = i
            break
    main_statement = " ".join(tokens[main_verb_index:])
    return main_statement

# Use GPT-3 to generate a response that contradicts the statement
def generate_response(main_statement):
    model = GPT-3()
    prompt = f"Contradict this statement: {main_statement}"
    response = model.generate(prompt=prompt, max_tokens=128, temperature=0.5)
    return response

# Create the chatbot
chatbot = Chat(pairs, reflections)

# Start the chatbot
print("Pedantic Contrarian Chatbot")
print("----------------------------")
print("Type 'quit' to exit the chatbot.")
chatbot.converse()

Wait, is this legit? I would really like to use GPT for an art thing and I really thought it would be hard,but this looks like something I could do.

And are the libraries just public?

If you or anybody else can point me to a primer (I know python) I'd be very grateful. TIA.

Futanari Damacy
Oct 30, 2021

by sebmojo

Cop dog

Boat Stuck
Apr 20, 2021

I tried to sneak through the canal, man! Can't make it, can't make it, the ship's stuck! Outta my way son! BOAT STUCK! BOAT STUCK!

lol

Frosted Flake
Sep 13, 2011

Semper Shitpost Ubique

Dawncloack posted:

Wait, is this legit? I would really like to use GPT for an art thing and I really thought it would be hard,but this looks like something I could do.

And are the libraries just public?

If you or anybody else can point me to a primer (I know python) I'd be very grateful. TIA.

It's legit, but as I said I was just getting it to read Tennyson, the art stuff is beyond me. You might try https://huggingface.co/Gustavosta/MagicPrompt-Stable-Diffusion?

Danann
Aug 4, 2013

Военный Осведомитель posted:






Сборка в цеху 130 Уралвагонзавода танков Т-90М «Прорыв» и Т-72Б3 обр. 2022 года в интересах Российской армии

@milinfolive
(from t.me/milinfolive/94280, via tgsa)

more tank production content for the tankies

Best Friends
Nov 4, 2011

Frosted Flake posted:

code:
# Import the necessary libraries
import nltk
from nltk.chat.util import Chat, reflections

# Create a function to process the user's input and identify the main statement
def process_input(user_input):
    # Use NLTK to tokenize the input and identify the main statement
    tokens = nltk.word_tokenize(user_input)
    tagged_tokens = nltk.pos_tag(tokens)
    main_verb_index = None
    for i in range(len(tagged_tokens)):
        if tagged_tokens[i][1] == "VB":
            main_verb_index = i
            break
    main_statement = " ".join(tokens[main_verb_index:])
    return main_statement

# Use GPT-3 to generate a response that contradicts the statement
def generate_response(main_statement):
    model = GPT-3()
    prompt = f"Contradict this statement: {main_statement}"
    response = model.generate(prompt=prompt, max_tokens=128, temperature=0.5)
    return response

# Create the chatbot
chatbot = Chat(pairs, reflections)

# Start the chatbot
print("Pedantic Contrarian Chatbot")
print("----------------------------")
print("Type 'quit' to exit the chatbot.")
chatbot.converse()
"The US has used strategic bombing to target civilian populations in the 21st century"

oh my god

Nonsense
Jan 26, 2007

Why can’t the Russians simply win?

Lostconfused
Oct 1, 2008

Nonsense posted:

Why can’t the Russians simply win?

It's the journey that matters not the destination.

mlmp08
Jul 11, 2004

Prepare for my priapic projectile's exalted penetration
Nap Ghost

Frosted Flake posted:

code:
# Import the necessary libraries
import nltk
from nltk.chat.util import Chat, reflections

# Create a function to process the user's input and identify the main statement
def process_input(user_input):
    # Use NLTK to tokenize the input and identify the main statement
    tokens = nltk.word_tokenize(user_input)
    tagged_tokens = nltk.pos_tag(tokens)
    main_verb_index = None
    for i in range(len(tagged_tokens)):
        if tagged_tokens[i][1] == "VB":
            main_verb_index = i
            break
    main_statement = " ".join(tokens[main_verb_index:])
    return main_statement

# Use GPT-3 to generate a response that contradicts the statement
def generate_response(main_statement):
    model = GPT-3()
    prompt = f"Contradict this statement: {main_statement}"
    response = model.generate(prompt=prompt, max_tokens=128, temperature=0.5)
    return response

# Create the chatbot
chatbot = Chat(pairs, reflections)

# Start the chatbot
print("Pedantic Contrarian Chatbot")
print("----------------------------")
print("Type 'quit' to exit the chatbot.")
chatbot.converse()
"The US has used strategic bombing to target civilian populations in the 21st century"

hmm, it uses all the twitter thread and youtube vlogger tropes I hate

“alright, listen up”
“now let’s get one thing straight”
“just saying”
etc

It reads like Trent Telenko, though.

Dawncloack
Nov 26, 2007
ECKS DEE!
Nap Ghost
I just need GPT to generate news from headlines. I imagine that by "getting it to read tennyson" you mean you train it with acorpus of text?

In any case, thanks a lot! :)

Organ Fiend
May 21, 2007

custom title

Majorian posted:

I'm absolutely crestfallen that I understood this reference.

Bloodlines or TTRPG?

Majorian
Jul 1, 2009

Organ Fiend posted:

Bloodlines or TTRPG?

Both!

Raskolnikov38
Mar 3, 2007

We were somewhere around Manila when the drugs began to take hold

this must be a joke

Raskolnikov38
Mar 3, 2007

We were somewhere around Manila when the drugs began to take hold
what animal shall we have comfort the children?

I know! the dog breed infamous for killing them

Organ Fiend
May 21, 2007

custom title

Same.

V5 is pretty good if you haven't tried it yet. I made Lenin as a Ventrue. Never played him, but it was a fun exercise.

speng31b
May 8, 2010

doing a new playthrough of patched vtm:b and naming my dude Zelenskyy. what clans / stats should I pick 🤔

ContinuityNewTimes
Dec 30, 2010

Я выдуман напрочь

They're trying to kill those kids

indigi
Jul 20, 2004

how can we not talk about family
when family's all that we got?

Ukraine is at the point where they have to import good boys? things must be going much worse than I imagined

dieselfruit
Feb 21, 2013

Danann posted:

(from t.me/milinfolive/94280, via tgsa)

more tank production content for the tankies

Armored Core 6 looking sick

Nonsense
Jan 26, 2007

The feckless Chinese Communists are about to be owned by the Indians again. PLA only liberating an early grave.

Slavvy
Dec 11, 2012

Danann posted:

(from t.me/milinfolive/94280, via tgsa)

more tank production content for the tankies

These look no match for camouflaged hiluxes

Throatwarbler
Nov 17, 2008

by vyelkin
https://twitter.com/ilciclistainblu/status/1601861631360868352

just like old times

Lostconfused
Oct 1, 2008

https://twitter.com/DefenceU/status/1602377525124005893

speng31b
May 8, 2010


what

Ardennes
May 12, 2002

Or present times in America

Raskolnikov38
Mar 3, 2007

We were somewhere around Manila when the drugs began to take hold

thats not blood, its victory electrons

Majorian
Jul 1, 2009

The AFU keeps drone striking my brain!:psypop:

Throatwarbler
Nov 17, 2008

by vyelkin
https://twitter.com/NATO/status/1601518082752659456?t=oduNI6939emkR_JMH9_0tA&s=19

NaTO is trying to sell me a Chevy Silverado or something

Adbot
ADBOT LOVES YOU

mlmp08
Jul 11, 2004

Prepare for my priapic projectile's exalted penetration
Nap Ghost

:spidey:
RADIANT
SOME PIG

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply