Views
No views yet
LeoLM/leo-mistral-hessianai-7b under Apache 2.0 and
LeoLM/leo-hessianai-7b and LeoLM/leo-hessianai-13b under the Llama-2 community license (70b also coming soon! 👀).
With this release, we hope to bring a new wave of opportunities to German open-source and commercial LLM research and accelerate adoption.
Read our blog post or our paper (preprint coming soon) for more details!pip install transformers torch accelerate1pip install packaging ninja
2pip install flash-attn1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4model = AutoModelForCausalLM.from_pretrained(
5 model="LeoLM/leo-mistral-hessianai-7b",
6 device_map="auto",
7 torch_dtype=torch.bfloat16,
8 use_flash_attn_2=True # optional
9)1e-5 going down to 1e-6. We also used Zero stage 3 and bfloat16 dtype.

