Incluye: backend Node.js/Express, visualización 3D (Three.js/3d-force-graph), scrapers Wikipedia/noticias/imágenes, analizador Qwen3-VL, pipeline maestro con systemd timer, fixes de seguridad (NoSQL injection, XSS, ReDoS, port binding) y documentación técnica completa en docs/. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
14 lines
No EOL
584 B
Python
Executable file
14 lines
No EOL
584 B
Python
Executable file
from obsei.analyzer.classification_analyzer import ClassificationAnalyzerConfig, ZeroShotClassificationAnalyzer
|
|
|
|
# initialize classification analyzer config
|
|
# It can also detect sentiments if "positive" and "negative" labels are added.
|
|
analyzer_config=ClassificationAnalyzerConfig(
|
|
labels=["service", "delay", "performance"],
|
|
)
|
|
|
|
# initialize classification analyzer
|
|
# For supported models refer https://huggingface.co/models?filter=zero-shot-classification
|
|
text_analyzer = ZeroShotClassificationAnalyzer(
|
|
model_name_or_path="typeform/mobilebert-uncased-mnli",
|
|
device="auto"
|
|
) |