Downloads · 30 days
59
5% of all-time downloads
CerebrumTech/cere-gemma-2-9b-tr
cere-gemma-2-9b-tr is a machine learning model from CerebrumTech. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
<img src="https://huggingface.co/CerebrumTech/cere-gemma-2-9b-tr/resolve/main/cereGemma.png" alt="CEREBRUM LLM" width="420"/
Downloads · 30 days
59
5% of all-time downloads
All-time downloads
1.1K
Public
Repo size
40.7 GB
Likes
3
Public
Click a slice to open those files.
.gguf40.7 GB · 100%
From the Hugging Face model README
<img src="https://huggingface.co/CerebrumTech/cere-gemma-2-9b-tr/resolve/main/cereGemma.png" alt="CEREBRUM LLM" width="420"/>
Cere-llm-gemma-2-9b-it is a finetuned version of gemma-2-9b-it. It is trained on synthetically generated and natural preference datasets.
We fine-tuned google/gemma-2-9b-it
import torch
from transformers import pipeline
model_id = "Cerebrum/cere-llm-gemma-2-ito"
generator = pipeline(
"text-generation",
model=model_id,
model_kwargs={"torch_dtype": torch.bfloat16},
device="cuda",
)
outputs = generator([{"role": "user", "content": "Türkiye'nin başkenti neresidir?"}],
do_sample=False,
eos_token_id=[generator.tokenizer.convert_tokens_to_ids("<end_of_turn>"), generator.tokenizer.eos_token_id],
max_new_tokens=200)
print(outputs[0]['generated_text'])