Skip to content

Conversation

Cornelius2121
Copy link
Contributor

Adds the following checks in the package:

  • Checks that the text length is greater than 1000 characters.
  • Checks that the web request has been successful, and if not, responds with a message.

Adds check for text length to ensure that the length is over 1000 characters. Adds check for a failed web request and prompts for checked bearer token.
@monk1337
Copy link
Contributor

Hi, Thank you for contributing. Can you convert the log prob into % in the readme?

@Cornelius2121
Copy link
Contributor Author

Hi Monk,
My understanding is that the probability shown in the readme is in %, as it is specifically the probability of being AI-Generated. I might not be understanding correctly however. Thanks very much.

@monk1337
Copy link
Contributor

Okay, The result looks very different 3.45.. ?
{'Class': 'very unlikely', 'AI-Generated Probability': 3.4583769381404563}

Can you run the example again and check if the result is same?

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