"megatron/vscode:/vscode.git/clone" did not exist on "46a536cc888dcd4899c3f74d048ec29b9d93a412"
test_pipelines_text_generation.py 410 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
import unittest

from .test_pipelines_common import MonoInputPipelineCommonMixin


class TextGenerationPipelineTests(MonoInputPipelineCommonMixin, unittest.TestCase):
    pipeline_task = "text-generation"
    pipeline_running_kwargs = {"prefix": "This is "}
    small_models = ["sshleifer/tiny-ctrl"]  # Models tested without the @slow decorator
    large_models = []  # Models tested with the @slow decorator