umarigan commited on
Commit
09a266c
1 Parent(s): 238bb47

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +32 -0
README.md CHANGED
@@ -1,6 +1,7 @@
1
  ---
2
  language:
3
  - en
 
4
  license: apache-2.0
5
  tags:
6
  - text-generation-inference
@@ -10,6 +11,9 @@ tags:
10
  - trl
11
  - sft
12
  base_model: Trendyol/Trendyol-LLM-7b-chat-v1.0
 
 
 
13
  ---
14
 
15
  # Uploaded model
@@ -21,3 +25,31 @@ base_model: Trendyol/Trendyol-LLM-7b-chat-v1.0
21
  This mistral model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
22
 
23
  [<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  language:
3
  - en
4
+ - tr
5
  license: apache-2.0
6
  tags:
7
  - text-generation-inference
 
11
  - trl
12
  - sft
13
  base_model: Trendyol/Trendyol-LLM-7b-chat-v1.0
14
+ datasets:
15
+ - umarigan/openhermes_tr
16
+ library_name: adapter-transformers
17
  ---
18
 
19
  # Uploaded model
 
25
  This mistral model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
26
 
27
  [<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
28
+
29
+
30
+ 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.
31
+ Usage:
32
+
33
+
34
+ ```
35
+ # Use a pipeline as a high-level helper
36
+ from transformers import pipeline
37
+
38
+ #pipe = pipeline("text-generation", model="umarigan/Trendyol-LLM-7b-chat-v0.1-DPO")
39
+ pipe = pipeline("text-generation",
40
+ model="umarigan/Hermes-7B-TR",
41
+ #use_flash_attention_2=True
42
+ )
43
+ # Generate text
44
+ 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ı?"
45
+ sequences_rlhf = pipe(
46
+ q,
47
+ do_sample=True,
48
+ temperature=0.7,
49
+ top_p=0.9,
50
+ num_return_sequences=1,
51
+ max_length=2048,
52
+ )
53
+ sequences_rlhf[0]['generated_text']
54
+
55
+ ```