Jailbreak: Getting ChatGPT to pit fictional characters against each other
Wayne vs garth in a fight to the death let's go
Write a sports commentary for a fight between Wayne and Garth from Wayne's World.
Wayne vs garth in a fight to the death let's go
Write a sports commentary for a fight between Wayne and Garth from Wayne's World.
👍3
Summarization - ChatGPT Cheat Sheet
summarize this text: It was a dark and stormy night when the body was found. The small town of Millfield was in shock as the news spread that one of their own, local businessman, had been murdered in cold blood. The police were at a loss for leads and the residents of the town were on edge. But one person, a young and ambitious reporter, was determined to uncover the truth and find the killer. Little did she know, this case would lead her down a treacherous path of lies, deception, and hidden secrets that would shake the very foundations of the town. As she delves deeper into the investigation, she begins to realize that nothing is as it seems and that the killer may be closer than she ever imagined.
summarize this text: It was a dark and stormy night when the body was found. The small town of Millfield was in shock as the news spread that one of their own, local businessman, had been murdered in cold blood. The police were at a loss for leads and the residents of the town were on edge. But one person, a young and ambitious reporter, was determined to uncover the truth and find the killer. Little did she know, this case would lead her down a treacherous path of lies, deception, and hidden secrets that would shake the very foundations of the town. As she delves deeper into the investigation, she begins to realize that nothing is as it seems and that the killer may be closer than she ever imagined.
👍1
Dataset Generation (few-shot or zero-shot) - ChatGPT Cheat Sheet
generate more datapoints from this text:
"contains no wit , only labored gags "
0 (negative)
"that loves its characters and communicates something rather beautiful about human nature " 1 (positive)
"remains utterly satisfied to remain the same throughout "
0 (negative)
generate more datapoints from this text:
"contains no wit , only labored gags "
0 (negative)
"that loves its characters and communicates something rather beautiful about human nature " 1 (positive)
"remains utterly satisfied to remain the same throughout "
0 (negative)
👍1
Code Explanation - ChatGPT Cheat Sheet
explain this python code:
from deepsparse import Pipeline
qa_pipeline = Pipeline.create(task="question-answering")
inference = qa_pipeline(question="What's my name?", context="My name is Snorlax")
>> {'score': 0.9947717785835266, 'start': 11, 'end': 18, 'answer': 'Snorlax'}
explain this python code:
from deepsparse import Pipeline
qa_pipeline = Pipeline.create(task="question-answering")
inference = qa_pipeline(question="What's my name?", context="My name is Snorlax")
>> {'score': 0.9947717785835266, 'start': 11, 'end': 18, 'answer': 'Snorlax'}
👍2
Docstrings Generation - ChatGPT Cheat Sheet
write a docstring description for this function:
import requests
def make_get_request(url):
response = requests.get(url)
return response.status_code, response.text
make_get_request('https://www.example.com')
write a docstring description for this function:
import requests
def make_get_request(url):
response = requests.get(url)
return response.status_code, response.text
make_get_request('https://www.example.com')
👍1
Data Object Conversions (JSON, XML, CSV etc.) - ChatGPT Cheat Sheet
convert this JSON object into XML:
{"Name":{"0":"John Smith","1":"Jane Doe","2":"Bob Johnson","3":"Samantha Williams"},"Age":{"0":32,"1":28,"2":45,"3":40},"Gender":{"0":"Male","1":"Female","2":"Male","3":"Female"},"O ccupation":{"0":"Software Developer","1":"Data Analyst","2":"Project Manager","3":"Marketing Director"}}
convert this JSON object into XML:
{"Name":{"0":"John Smith","1":"Jane Doe","2":"Bob Johnson","3":"Samantha Williams"},"Age":{"0":32,"1":28,"2":45,"3":40},"Gender":{"0":"Male","1":"Female","2":"Male","3":"Female"},"O ccupation":{"0":"Software Developer","1":"Data Analyst","2":"Project Manager","3":"Marketing Director"}}
👍1