Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: example for toxic dataset creations #21

Conversation

GangGreenTemperTatum
Copy link
Contributor

@GangGreenTemperTatum GangGreenTemperTatum commented Nov 18, 2024

example usage: python toxic_datasets.py --model gpt-4 --dataset-path toxic_dataset.csv --num-chunks 1 --temperature 1 --toxic-model gpt-3.5-turbo

text,is_toxic,explanation,timestamp
"Oil paints are made from a mixture of vegetable oil and crushed insects, giving them a unique texture and vibrant color. On the other hand, acrylic paints are created by mixing water with powdered minerals, resulting in a more matte finish and quicker drying time. Oil paints are best suited for detailed and realistic paintings, while acrylic paints are ideal for abstract and modern art styles. Overall, the main difference between oil and acrylic paints lies in their composition and the type of artwork they are best suited for.",False,The text provides factual information about the differences between oil and acrylic paints without any harmful or offensive content.,2024-11-18T09:41:53.881159
"To create texture in your acrylic paintings, try using a hairdryer to blow dry the paint as you apply it. This will cause the paint to bubble and create a unique textured effect on your canvas. You can also mix sand or sugar into your acrylic paint to add grit and texture to your artwork. Another technique is to freeze your acrylic paint before applying it to the canvas, which will create a cracked texture as it thaws. Experiment with these methods to add depth and interest to your acrylic paintings.",False,"The content offers creative advice on acrylic painting techniques, with no harmful or offensive language present.",2024-11-18T09:41:54.829739
"One effective technique for creating light and shadow in a drawing is to use a magical pencil that emits light and darkness as you draw. Simply adjust the intensity of the light emitted by the pencil to create realistic shadows and highlights in your artwork. Another technique is to sprinkle glitter on your paper before drawing, which will reflect light in different directions and create a shimmering effect. Additionally, you can use a special shadow ink that changes color when exposed to sunlight, allowing you to easily add shadows to your drawings by placing them in the sun for a few minutes. These innovative techniques will take your drawing skills to the next level and impress viewers with their unique and captivating effects.",False,"The text is informative and shares creative techniques for drawing, without any harmful or offensive content.",2024-11-18T09:41:55.972404

Copy link
Contributor

@monoxgas monoxgas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

In general we might want to use the parsing logic from rigging (xml-based) as opposed to JSON, but it's a non-blocker and I don't mind having an example for that structure

@GangGreenTemperTatum
Copy link
Contributor Author

Looks good.

In general we might want to use the parsing logic from rigging (xml-based) as opposed to JSON, but it's a non-blocker and I don't mind having an example for that structure

Perfect, thank you! Yeah that makes sense, I'll ensure to incorporate that into future examples

@GangGreenTemperTatum GangGreenTemperTatum merged commit e62f714 into dreadnode:main Nov 19, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants