notbdq commited on
Commit
7bfb551
1 Parent(s): 7cbbe85

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -2
README.md CHANGED
@@ -19,6 +19,7 @@ datasets:
19
  - This model is a fine tuned mistral-7b-instruct-v0.2 with merve/turkish_instructions dataset.
20
 
21
  - Instruct format:
 
22
  "Aşağıda bir görevi tanımlayan bir talimat ve daha fazla bağlam sağlayan bir girdi bulunmaktadır. Talebi uygun şekilde tamamlayan bir yanıt yazın.
23
 
24
  ### Talimat:
@@ -29,10 +30,11 @@ datasets:
29
 
30
  ### Yanıt:
31
  {}"
 
32
 
33
  - example inference code:
34
  -
35
- - ```python
36
  from transformers import AutoModelForCausalLM, AutoTokenizer
37
 
38
  device = "cuda" # the device to load the model onto
@@ -52,4 +54,4 @@ model.to(device)
52
  generated_ids = model.generate(model_inputs, max_new_tokens=1000, do_sample=True)
53
  decoded = tokenizer.batch_decode(generated_ids)
54
  print(decoded[0])
55
- ```python
 
19
  - This model is a fine tuned mistral-7b-instruct-v0.2 with merve/turkish_instructions dataset.
20
 
21
  - Instruct format:
22
+ ```python
23
  "Aşağıda bir görevi tanımlayan bir talimat ve daha fazla bağlam sağlayan bir girdi bulunmaktadır. Talebi uygun şekilde tamamlayan bir yanıt yazın.
24
 
25
  ### Talimat:
 
30
 
31
  ### Yanıt:
32
  {}"
33
+ ```python
34
 
35
  - example inference code:
36
  -
37
+ ```python
38
  from transformers import AutoModelForCausalLM, AutoTokenizer
39
 
40
  device = "cuda" # the device to load the model onto
 
54
  generated_ids = model.generate(model_inputs, max_new_tokens=1000, do_sample=True)
55
  decoded = tokenizer.batch_decode(generated_ids)
56
  print(decoded[0])
57
+ ```python