

'''simple docstring'''
import unittest

from transformers import load_tool

from .test_tools_common import ToolTesterMixin


_UpperCAmelCase  :		Union[str, Any]  =		'''
Hugging Face was founded in 2016 by French entrepreneurs Clément Delangue, Julien Chaumond, and Thomas Wolf originally as a company that developed a chatbot app targeted at teenagers.[2] After open-sourcing the model behind the chatbot, the company pivoted to focus on being a platform for machine learning.

In March 2021, Hugging Face raised $40 million in a Series B funding round.[3]

On April 28, 2021, the company launched the BigScience Research Workshop in collaboration with several other research groups to release an open large language model.[4] In 2022, the workshop concluded with the announcement of BLOOM, a multilingual large language model with 176 billion parameters.[5]
'''

class 						__magic_name__   (							unittest.TestCase ,				__snake_case ):







 def 						_A(       self   ):
   lowercase									=load_tool('''text-question-answering'''   )
   self.tool.setup()
   lowercase									=load_tool('''text-question-answering'''  , remote=__lowerCamelCase   )







 def 						_A(       self   ):
   lowercase									=self.tool(__lowerCamelCase  , '''What did Hugging Face do in April 2021?'''   )
   self.assertEqual(__lowerCamelCase  , '''launched the BigScience Research Workshop'''   )







 def 						_A(       self   ):
   lowercase									=self.remote_tool(__lowerCamelCase  , '''What did Hugging Face do in April 2021?'''   )
   self.assertEqual(__lowerCamelCase  , '''launched the BigScience Research Workshop'''   )







 def 						_A(       self   ):
   lowercase									=self.tool(text=__lowerCamelCase  , question='''What did Hugging Face do in April 2021?'''   )
   self.assertEqual(__lowerCamelCase  , '''launched the BigScience Research Workshop'''   )







 def 						_A(       self   ):
   lowercase									=self.remote_tool(text=__lowerCamelCase  , question='''What did Hugging Face do in April 2021?'''   )
   self.assertEqual(__lowerCamelCase  , '''launched the BigScience Research Workshop'''   )




from __future__ import annotations
def 	_UpperCamelCase					(    lowerCAmelCase_	,    lowerCAmelCase_ )    ->Optional[int]:
   # Checks if the entire collection has been sorted
   if len(lowerCAmelCase_ ) <= 1 or n <= 1:
      return

   insert_next(lowerCAmelCase_	,    n - 1 )
   rec_insertion_sort(lowerCAmelCase_	,    n - 1 )
def 	_UpperCamelCase					(    lowerCAmelCase_	,    lowerCAmelCase_ )    ->Dict:
   # Checks order between adjacent elements
   if index >= len(lowerCAmelCase_ ) or collection[index - 1] <= collection[index]:
      return

   # Swaps adjacent elements since they are not in ascending order
   UpperCAmelCase					,	UpperCAmelCase      					=  (
       collection[index],
       collection[index - 1],
   )

   insert_next(lowerCAmelCase_	,    index + 1 )


if __name__ == "__main__":
 __a	 =      input("""Enter integers separated by spaces: """)
 __a	 =      [int(num) for num in numbers.split()]
 rec_insertion_sort(number_list, len(number_list))
 print(number_list)



