WaveDetect / README.md
KaitongQin's picture
Update README.md
c4d7210 verified
|
Raw
History Blame Contribute Delete
501 Bytes
metadata
language:
  - en
license: apache-2.0
tags:
  - text-classification
  - machine-generated-text-detection
  - ai-generated-text-detection
  - wavedetect
pipeline_tag: text-classification

WaveDetect Inference

Usage:

from wavedetect_hf import WaveDetectPredictor

predictor = WaveDetectPredictor(model_dir="hf_wavedetect")

result = predictor.predict("This is a sample text to be detected.")
print(result)

Run the example directly:

python wavedetect_hf.py