Downloads · 30 days
3
8% of all-time downloads
sp-embraceable/Kartoffel-Sauerkraut-Embraceable
Kartoffel-Sauerkraut-Embraceable is a machine learning model from sp-embraceable. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
sp-embraceable/Kartoffel-Sauerkraut-Embraceable is a merge of the following models using LazyMergekit:
Downloads · 30 days
3
8% of all-time downloads
All-time downloads
38
Public
Parameters
3.3B
6.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.6 GB · 100%
From the Hugging Face model README
sp-embraceable/Kartoffel-Sauerkraut-Embraceable is a merge of the following models using LazyMergekit:
models:
- model: sp-embraceable/Orpheus3BTTS-FT-Embraceable-FirstSubset_V2
- model: VAGOsolutions/SauerkrautTTS-Preview-0.1
- model: SebastianBodza/Kartoffel_Orpheus-3B_german_synthetic-v0.1
merge_method: model_stock
base_model: kadirnar/Orpheus-TTS-De
dtype: bfloat16
!pip install -qU transformers accelerate
from transformers import AutoTokenizer
import transformers
import torch
model = "sp-embraceable/Kartoffel-Sauerkraut-Embraceable"
messages = [{"role": "user", "content": "What is a large language model?"}]
tokenizer = AutoTokenizer.from_pretrained(model)
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
pipeline = transformers.pipeline(
"text-generation",
model=model,
torch_dtype=torch.float16,
device_map="auto",
)
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
print(outputs[0]["generated_text"])