<h1 dir="auto">🚀 Feature request</h1>
<p dir="auto">Hello!<br>
I am using the translation pipeline, and I noticed that even though I have to specify the language when I create the pipeline, the passed model overwrites that. So pipeline created as<br>
<code class="notranslate">nlp = pipeline('translation_en_to_de', 'Helsinki-NLP/opus-mt-en-jap')</code><br>
would translate english to japanese, in contrary to the task name. Is this the intended way of translating other languages, will it change in the future?</p>
<p dir="auto">Would it be possible to just add a single 'translation' task for pipelines, which would then resolve the languages based on the model (which it seems to do anyway now) ?</p>
<h2 dir="auto">Motivation</h2>
<p dir="auto">It would clear up the current confusion, and make the <code class="notranslate">pipeline</code> function singature less prone to change.<br>
It could also possibly reduce code duplication in <a href="https://github.com/huggingface/transformers/blob/master/src/transformers/pipelines.py">https://github.com/huggingface/transformers/blob/master/src/transformers/pipelines.py</a></p>

<h2 dir="auto">My contribution</h2>
<p dir="auto">I'd love to help with a PR, though I'm confused: The <code class="notranslate">SUPPORTED_TASKS</code> dictionary in pipelines.py contains exactly the same entries for each translation pipeline, even the default model is the same, yet the specific pipelines actually translate to different languages 🤔</p>
<h2 dir="auto"><g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji> Feature</h2>

<p dir="auto">I would like a function like <code class="notranslate">glue_convert_examples_to_features</code> for sequence labelling tasks.</p>
<h2 dir="auto">Motivation</h2>

<p dir="auto">The motivation is that I need much better flexibility for  sequence labelling tasks. Its not enough to have a final, and decided for me model, for this task. I want just the features (a sequence of features/embeddings I guess).</p>
<h2 dir="auto">Additional context</h2>
<p dir="auto">This can be generalized to any dataset with a specific format.</p>