


'''simple docstring'''
import sentencepiece as spm

# pegasus:
# 1. no bos
# 2. eos_id is 1
# 3. unk_id is 2
# build a sample spm file accordingly
spm.SentencePieceTrainer.train(
    """--input=botchan.txt --model_prefix=test_sentencepiece_no_bos --bos_id=-1 --unk_id=2  --eos_id=1  --vocab_size=1000"""
)

# 4. now update the fixture
# mv test_sentencepiece_no_bos.model ../../tests/fixtures/





'''simple docstring'''
from __future__ import annotations

def 				lowerCamelCase_   (   __UpperCamelCase				:					list[int | float]		)				->  int | float:







     """simple docstring"""
     if len(__UpperCamelCase		) == 0:
          raise ValueError('find_max() arg is an empty sequence'		)
     _A				=       nums[0]
     for x in nums:
          if x > max_num:
               _A				=       x
     return max_num


if __name__ == "__main__":
    import doctest

    doctest.testmod(verbose=True)





