... Unrecognized model in SuperAnnotate/ai-detector. Should have a model_type key in config.json ...

SuperAnnotate AI Inc. org

Hello, @felixmk0 !

Thank you for your feedback. From what I understand, you are suggesting adding a model_type key to allow initializing the model using base Transformers abstractions, like this:

from transformers import AutoModel  
AutoModel.from_pretrained("SuperAnnotate/ai-detector")  

However, this model has a custom output architecture and cannot be initialized using the standard abstractions from Transformers.

I recommend checking the 'Usage' section of the model card for detailed instructions on how to properly initialize and use this model:
Usage Section

If there’s a specific reason for adding this key or if you have any other questions, please feel free to let me know!

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment