Closed Liraim closed 3 months ago
Examples:
ColumnSummaryMetric(GeneralHuggingFaceModel(model="SamLowe/roberta-base-go_emotions", params={"label": "disappointment"}).on("Review_Text")) ColumnSummaryMetric(GeneralHuggingFaceModel(model="openai-community/roberta-base-openai-detector", params={"score_threshold": 0.7}).on("Review_Text")) ColumnSummaryMetric(GeneralHuggingFaceModel(model="MoritzLaurer/DeBERTa-v3-large-mnli-fever-anli-ling-wanli", params={"labels": ["positive", "negative"]}).on("Review_Text")) ColumnSummaryMetric(GeneralHuggingFaceModel(model="DaNLP/da-electra-hatespeech-detection").on("Review_Text")) ColumnSummaryMetric(GeneralHuggingFaceModel(model="facebook/roberta-hate-speech-dynabench-r4-target").on("Review_Text")) ColumnSummaryMetric(HuggingFaceToxicityModel().on("Review_Text")) ColumnSummaryMetric(HuggingFaceToxicityModel(model="DaNLP/da-electra-hatespeech-detection", toxic_label="offensive").on("Review_Text"))
Examples: