TrustedLLM / LLMDet

LLMDet is a text detection tool that can identify which generated sources the text came from (e.g. large language model or human-write).
MIT License
50 stars 10 forks source link

Integrating different techniques #8

Open harivadana opened 7 months ago

harivadana commented 7 months ago

I am working on LLM Detection using GPTZero. I was wondering if I could integrate LLMDet with that with an if - else condition for the Logistic Regression Classifier to choose the model with lower perplexity score for a given text. But I have been encountering this error:

ValueError: The gpt2 does not exist, please load n-grams probability!

Why is it happening? Also, do you think this is the right approach?

cansee5 commented 7 months ago

Thank you for your interest in our work. Can you provide more detailed information? Like your code and what‘s wrong with it to help me understand what you’re doing so I can give my suggestions.