Views
No views yet
IdentricsINSAIT-Institute/BgGPT-7B-Instruct-v0.2Identrics, in the scope of the WASPer project. The detailed taxonomy of the full pipeline could be found here.pip install transformers torch accelerate1from transformers import pipeline
2
3labels_map = {"LABEL_0": "No Propaganda", "LABEL_1": "Propaganda"}
4
5pipe = pipeline(
6 "text-classification",
7 model="identrics/wasper_propaganda_detection_bg",
8 tokenizer="identrics/wasper_propaganda_detection_bg",
9)
10
11text = "Газа евтин, американското ядрено гориво евтино, пълно с фотоволтаици а пък тока с 30% нагоре. Защо ?"
12
13prediction = pipe(text)
14print(labels_map[prediction[0]["label"]])@article{2025wasper,
title={WASPER: A BULGARIAN-LANGUAGE MODEL FOR DETECTING PROPAGANDA IN SOCIAL MEDIA CONTENT},
author={Petrova, Y., Kiryakov, T., Kotseva, D. & Kostadinova, B.},
journal={THE EUROPEAN UNION IN A DYNAMIC GLOBAL CONTEXT},
year={2025}
}