TR Models
Collection
5 items
•
Updated
•
1
This mistral model was trained 2x faster with Unsloth and Huggingface's TRL library.
This model is fine-tuned version of Trendyol chat v1.0 on openhermes dataset. The dataset translated from English to Turkish lanuage and trained by unsloth's mistral scripts. Usage:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation",
model="umarigan/Hermes-7B-TR",
#use_flash_attention_2=True
)
# Generate text
q = "Weng bebek bakıcılığından saatte 12 dolar kazanıyor. Dün sadece 50 dakika bebek bakıcılığı yaptı. Ne kadar kazandı?"
sequences_rlhf = pipe(
q,
do_sample=True,
temperature=0.7,
top_p=0.9,
num_return_sequences=1,
max_length=2048,
)
sequences_rlhf[0]['generated_text']
Base model
mistralai/Mistral-7B-v0.1