mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-09-29 01:55:47 +00:00

* Initial draft of TransformersClassifier * Add transformers classifier implementation * Add test for SentenceTransformersClassifier * Add truncation and corresponding test case to Classifier * Add zero-shot classification and test * Add document classifier documentation * Add latest docstring and tutorial changes * print meta data with print_documents() * Add latest docstring and tutorial changes * Remove top_k param from Classifier usage example * Add latest docstring and tutorial changes Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
19 lines
529 B
YAML
19 lines
529 B
YAML
loaders:
|
|
- type: python
|
|
search_path: [../../../../haystack/document_classifier]
|
|
modules: ['base', 'transformers']
|
|
ignore_when_discovered: ['__init__']
|
|
processor:
|
|
- type: filter
|
|
expression: not name.startswith('_') and default()
|
|
- documented_only: true
|
|
- do_not_filter_modules: false
|
|
- skip_empty_modules: true
|
|
renderer:
|
|
type: markdown
|
|
descriptive_class_title: true
|
|
descriptive_module_title: true
|
|
add_method_class_prefix: false
|
|
add_member_class_prefix: false
|
|
filename: document_classifier.md
|