File size: 1,498 Bytes
30519c6
 
 
09a266c
30519c6
 
 
 
 
 
 
238bb47
30519c6
09a266c
 
 
30519c6
 
 
 
 
 
 
 
 
 
 
09a266c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
language:
- en
- tr
license: apache-2.0
tags:
- text-generation-inference
- transformers
- unsloth
- mistral
- trl
- sft
base_model: Trendyol/Trendyol-LLM-7b-chat-v1.0
datasets:
- umarigan/openhermes_tr
library_name: adapter-transformers
---

# Uploaded  model

- **Developed by:** umarigan
- **License:** apache-2.0
- **Finetuned from model :** Trendyol/Trendyol-LLM-7b-chat-v1.0

This mistral model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.

[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)


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/Trendyol-LLM-7b-chat-v0.1-DPO")
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']

```