### How to use Source: https://github.com/sbintuitions/sarashina2-70b/blob/main/README.md Example of how to use the Sarashina2-70B model with transformers library. ```python import torch from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline, set_seed model = AutoModelForCausalLM.from_pretrained("sbintuitions/sarashina2-70b", torch_dtype=torch.bfloat16, device_map="auto") tokenizer = AutoTokenizer.from_pretrained("sbintuitions/sarashina2-70b") generator = pipeline("text-generation", model=model, tokenizer=tokenizer) set_seed(123) text = generator( "おはようございます、今日の天気は", max_length=30, do_sample=True, pad_token_id=tokenizer.pad_token_id, num_return_sequences=3, ) for t in text: print(t) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.