





"""simple docstring"""




import unittest

from transformers import load_tool

from .test_tools_common import ToolTesterMixin


_lowerCAmelCase    : List[str]							=							"\nHugging 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.\n\nIn March 2021, Hugging Face raised $40 million in a Series B funding round.[3]\n\nOn 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]\n"






class      UpperCAmelCase_  (    unittest.TestCase	,      _UpperCamelCase						):



      def 						snake_case_ (					self					:     List[str]						):
           _UpperCAmelCase      :     List[str]        =   load_tool("text-question-answering"						)
           self.tool.setup()
           _UpperCAmelCase      :     Optional[int]        =   load_tool("text-question-answering"					,     remote=A						)



      def 						snake_case_ (					self					:     Dict						):
           _UpperCAmelCase      :     Union[str, Any]        =   self.tool(A					,     "What did Hugging Face do in April 2021?"						)
           self.assertEqual(A					,     "launched the BigScience Research Workshop"						)



      def 						snake_case_ (					self					:     int						):
           _UpperCAmelCase      :     Optional[int]        =   self.remote_tool(A					,     "What did Hugging Face do in April 2021?"						)
           self.assertEqual(A					,     "launched the BigScience Research Workshop"						)



      def 						snake_case_ (					self					:     List[str]						):
           _UpperCAmelCase      :     List[Any]        =   self.tool(text=A					,     question="What did Hugging Face do in April 2021?"						)
           self.assertEqual(A					,     "launched the BigScience Research Workshop"						)



      def 						snake_case_ (					self					:     Dict						):
           _UpperCAmelCase      :     Dict        =   self.remote_tool(text=A					,     question="What did Hugging Face do in April 2021?"						)
           self.assertEqual(A					,     "launched the BigScience Research Workshop"						)





"""simple docstring"""




def 						__snake_case						(				SCREAMING_SNAKE_CASE__     :						Dict=28_123    )  ->       List[str]:





     '''simple docstring'''

     _UpperCAmelCase      :     List[Any]        =   [1] * (limit + 1)

     for i in range(2						,  int(limit**0.5    ) + 1    ):
          sum_divs[i * i] += i
          for k in range(i + 1						,  limit // i + 1    ):
               sum_divs[k * i] += k + i

     _UpperCAmelCase      :     Any        =   set()
     _UpperCAmelCase      :     List[str]        =   0

     for n in range(1						,  limit + 1    ):
          if sum_divs[n] > n:
               abundants.add(SCREAMING_SNAKE_CASE__    )

          if not any((n - a in abundants) for a in abundants    ):
               res += n

     return res


if __name__ == "__main__":
 print(solution())
