transformers/tests/pipelines
Arthur 07360b6c9c
[Llama2] Add support for Llama 2 (#24891)
* add llama

* add other readmes

* update padding id in readme

* add link to paper

* fix paths and tokenizer

* more nits

* styling

* fit operation in 2 lines when possible

* nits

* Apply suggestions from code review

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

* add form

* update reademe

* update readme, we don't have a default pad token

* update test and tokenization

* LLaMA instead of Llama

* nits

* add expected text

* add greeedy output

* styling

* Update src/transformers/models/llama/modeling_llama.py

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

* sequential device map

* skip relevant changes

---------

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
2023-07-18 15:18:31 -04:00
..
__init__.py [Test refactor 1/5] Per-folder tests reorganization (#15725) 2022-02-23 15:46:28 -05:00
test_pipelines_audio_classification.py Allow dict input for audio classification pipeline (#23445) 2023-06-23 13:50:37 +01:00
test_pipelines_automatic_speech_recognition.py add word-level timestamps to Whisper (#23205) 2023-06-21 17:48:21 +02:00
test_pipelines_common.py [pipeline] Fix str device issue (#24396) 2023-06-26 13:58:36 +02:00
test_pipelines_conversational.py [Llama2] Add support for Llama 2 (#24891) 2023-07-18 15:18:31 -04:00
test_pipelines_depth_estimation.py Mark pipeline tests to skip them easily (#21887) 2023-03-02 10:55:36 -05:00
test_pipelines_document_question_answering.py Mark pipeline tests to skip them easily (#21887) 2023-03-02 10:55:36 -05:00
test_pipelines_feature_extraction.py Mark pipeline tests to skip them easily (#21887) 2023-03-02 10:55:36 -05:00
test_pipelines_fill_mask.py Fix Pipeline CI OOM issue (#24124) 2023-06-09 16:49:02 +02:00
test_pipelines_image_classification.py Mark pipeline tests to skip them easily (#21887) 2023-03-02 10:55:36 -05:00
test_pipelines_image_segmentation.py Really fix quality due to ruff release 2023-03-22 20:56:22 -04:00
test_pipelines_image_to_text.py Skip test_conditional_generation_pt_pix2struct in Past CI (torch < 1.11) (#24417) 2023-06-22 15:34:13 +02:00
test_pipelines_mask_generation.py Update tiny models for pipeline testing. (#24364) 2023-06-20 14:43:10 +02:00
test_pipelines_object_detection.py Mark pipeline tests to skip them easily (#21887) 2023-03-02 10:55:36 -05:00
test_pipelines_question_answering.py Update tiny models and a few fixes (#22928) 2023-04-24 14:45:22 +02:00
test_pipelines_summarization.py Mark pipeline tests to skip them easily (#21887) 2023-03-02 10:55:36 -05:00
test_pipelines_table_question_answering.py Skip some TQAPipelineTests tests in past CI (#24267) 2023-06-14 14:25:24 +02:00
test_pipelines_text_classification.py Update tiny models and a few fixes (#22928) 2023-04-24 14:45:22 +02:00
test_pipelines_text_generation.py Llama/GPTNeoX: add RoPE scaling (#24653) 2023-07-13 16:47:30 +01:00
test_pipelines_text2text_generation.py Mark pipeline tests to skip them easily (#21887) 2023-03-02 10:55:36 -05:00
test_pipelines_token_classification.py Update tiny models and a few fixes (#22928) 2023-04-24 14:45:22 +02:00
test_pipelines_translation.py Mark pipeline tests to skip them easily (#21887) 2023-03-02 10:55:36 -05:00
test_pipelines_video_classification.py Mark pipeline tests to skip them easily (#21887) 2023-03-02 10:55:36 -05:00
test_pipelines_visual_question_answering.py Mark pipeline tests to skip them easily (#21887) 2023-03-02 10:55:36 -05:00
test_pipelines_zero_shot_audio_classification.py Enable ZeroShotAudioClassificationPipelineTests::test_small_model_pt (#24882) 2023-07-18 15:08:53 +02:00
test_pipelines_zero_shot_image_classification.py 🔥py38 + torch 2 🔥🔥🔥🚀 (#22204) 2023-03-16 22:59:23 +01:00
test_pipelines_zero_shot_object_detection.py Mark pipeline tests to skip them easily (#21887) 2023-03-02 10:55:36 -05:00
test_pipelines_zero_shot.py Update tiny models and a few fixes (#22928) 2023-04-24 14:45:22 +02:00