• Joe Davison's avatar
    Zero shot classification pipeline (#5760) · 3deffc1d
    Joe Davison authored
    * add initial zero-shot pipeline
    
    * change default args
    
    * update default template
    
    * add label string splitting
    
    * add str labels support, remove nli from name
    
    * style
    
    * add input validation and working tf defaults
    
    * tests
    
    * quality check
    
    * add docstring to __call__
    
    * add slow tests
    
    * Change truncation to only_first
    
    also lower precision on tests for readibility
    
    * style
    3deffc1d
test_pipelines.py 30.9 KB