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

Added functionality for checking if text is generated by chatgpt #9

Merged
merged 1 commit into from
Oct 6, 2024

Conversation

nick-ching23
Copy link
Owner

The following implementation of: https://arxiv.org/pdf/2401.12970

  • Take a piece of a given text
  • Ask ChatGPT to rewrite the text as the opposite
  • Ask ChatGPT to rewrite text back to the original (ask it to rewrite in the opposite again)
  • Calculate the Levenshtein ratio between the original text and the paraphrased text
  • If Levenshtein ratio exceeds threshold, then text is written by generative ai

@AveryYay AveryYay merged commit 97d731e into main Oct 6, 2024
1 check passed
@nl2878 nl2878 deleted the gpt_check/nick branch October 6, 2024 21:43
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