loaiabdalslam commited on
Commit
5d08d0f
·
verified ·
1 Parent(s): c8159f2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -7
README.md CHANGED
@@ -81,12 +81,12 @@ model = AutoModelForCausalLM.from_pretrained(
81
  # Ensure the model is in evaluation mode for inference
82
  model.eval()
83
  ```
84
- # --- Example for Inference with Thinking Steps (if the model was trained to produce them) ---
85
- # Qwen3 models expect special tags for thinking <think>...</think>
86
- # To enable thinking mode during inference (if supported by the fine-tuned model):
87
- # You might need to craft the prompt to ask the model to think.
88
- # Unsloth-trained Qwen3 models often respond to enable_thinking in tokenizer.apply_chat_template.
89
- # For a merged model, its ability to show <think> depends on the training data.
90
  ```python
91
  user_prompt_with_thinking_request = "استخدم التفكير المنطقي خطوة بخطوة: إذا كان لدي 4 تفاحات والشجرة فيها 20 تفاحة، فكم تفاحة لدي إجمالاً؟" # "Use step-by-step logical thinking: If I have 4 apples and the tree has 20 apples, how many apples do I have in total?"
92
 
@@ -234,8 +234,8 @@ [email protected]
234
 
235
  Egypt Office
236
  (+2) 010 67 256 306
237
-
238
 
239
  Oman Office
240
  (+968) 9522 8632
241
 
 
81
  # Ensure the model is in evaluation mode for inference
82
  model.eval()
83
  ```
84
+ ### --- Example for Inference with Thinking Steps (if the model was trained to produce them) ---
85
+ ### Qwen3 models expect special tags for thinking <think>...</think>
86
+ ### To enable thinking mode during inference (if supported by the fine-tuned model):
87
+ ### You might need to craft the prompt to ask the model to think.
88
+ ### Unsloth-trained Qwen3 models often respond to enable_thinking in tokenizer.apply_chat_template.
89
+ ### For a merged model, its ability to show <think> depends on the training data.
90
  ```python
91
  user_prompt_with_thinking_request = "استخدم التفكير المنطقي خطوة بخطوة: إذا كان لدي 4 تفاحات والشجرة فيها 20 تفاحة، فكم تفاحة لدي إجمالاً؟" # "Use step-by-step logical thinking: If I have 4 apples and the tree has 20 apples, how many apples do I have in total?"
92
 
 
234
 
235
  Egypt Office
236
  (+2) 010 67 256 306
 
237
238
+
239
  Oman Office
240
  (+968) 9522 8632
241