Skip to content

Rename nlp variables into more appropriate names #9455

@Narsil

Description

@Narsil

🚀 Feature request

In pipelines tests and documentation they are recurringly named nlp, the goal is to rename them to something more appropriate.

Motivation

nlp = pipeline(task='conversational', model='XXX')

This is a bit pretentious as it does cover all NLP, and a better name help understanding to users too.
For instance the conversational task pipeline could be named conversational_agent. Or maybe still a generic name but less
pretentious pipe, pipeline (caveat: those are less clear in what they intend to achieve)

The goal is to rename all occurences of nlp by better names within both tests and the documentation.

Your contribution

The better names could be discussed here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions