my_perplexity / app.py
ronald
cache dir
1239913
raw
history blame contribute delete
264 Bytes
import evaluate
from evaluate.utils import launch_gradio_widget
METRICS_CACHE_DIR="/gfs/team/nlp/users/rcardena/tools/huggingface/evaluate"
module = evaluate.load("my_perplexity", module_type="measurement",cache_dir=METRICS_CACHE_DIR)
launch_gradio_widget(module)