jamesdborin / LeoLM-hessianai-7b

huggingface.co
Total runs: 30
24-hour runs: 0
7-day runs: 3
30-day runs: 15
Model's Last Updated: October 16 2023
text-generation

Introduction of LeoLM-hessianai-7b

Model Details of LeoLM-hessianai-7b

LAION LeoLM: L inguistically E nhanced O pen L anguage M odel

Meet LeoLM, the first open and commercially available German Foundation Language Model built on Llama-2. Our models extend Llama-2's capabilities into German through continued pretraining on a large corpus of German-language and mostly locality specific text. Thanks to a compute grant at HessianAI's new supercomputer 42 , we release two foundation models trained with 8k context length, 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!

A project by Björn Plüster and Christoph Schuhmann in collaboration with LAION and HessianAI.

Model Details
Use in 🤗Transformers

First install direct dependencies:

pip install transformers torch sentencepiece

If you want faster inference using flash-attention2, you need to install these dependencies:

pip install packaging ninja
pip install flash-attn==v2.1.1 --no-build-isolation
pip install git+https://github.com/HazyResearch/[email protected]#subdirectory=csrc/rotary

Then load the model in transformers:

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

model = AutoModelForCausalLM.from_pretrained(
    model="LeoLM/leo-hessianai-7b",
    device_map="auto",
    torch_dtype=torch.float16,
    trust_remote_code=True  # True for flash-attn2 else False
)
Training parameters

training_parameters

Benchmarks

benchmarks

Runs of jamesdborin LeoLM-hessianai-7b on huggingface.co

30
Total runs
0
24-hour runs
3
3-day runs
3
7-day runs
15
30-day runs

More Information About LeoLM-hessianai-7b huggingface.co Model

LeoLM-hessianai-7b huggingface.co

LeoLM-hessianai-7b huggingface.co is an AI model on huggingface.co that provides LeoLM-hessianai-7b's model effect (), which can be used instantly with this jamesdborin LeoLM-hessianai-7b model. huggingface.co supports a free trial of the LeoLM-hessianai-7b model, and also provides paid use of the LeoLM-hessianai-7b. Support call LeoLM-hessianai-7b model through api, including Node.js, Python, http.

LeoLM-hessianai-7b huggingface.co Url

https://huggingface.co/jamesdborin/LeoLM-hessianai-7b

jamesdborin LeoLM-hessianai-7b online free

LeoLM-hessianai-7b huggingface.co is an online trial and call api platform, which integrates LeoLM-hessianai-7b's modeling effects, including api services, and provides a free online trial of LeoLM-hessianai-7b, you can try LeoLM-hessianai-7b online for free by clicking the link below.

jamesdborin LeoLM-hessianai-7b online free url in huggingface.co:

https://huggingface.co/jamesdborin/LeoLM-hessianai-7b

LeoLM-hessianai-7b install

LeoLM-hessianai-7b is an open source model from GitHub that offers a free installation service, and any user can find LeoLM-hessianai-7b on GitHub to install. At the same time, huggingface.co provides the effect of LeoLM-hessianai-7b install, users can directly use LeoLM-hessianai-7b installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

LeoLM-hessianai-7b install url in huggingface.co:

https://huggingface.co/jamesdborin/LeoLM-hessianai-7b

Url of LeoLM-hessianai-7b

LeoLM-hessianai-7b huggingface.co Url

Provider of LeoLM-hessianai-7b huggingface.co

jamesdborin
ORGANIZATIONS

Other API from jamesdborin