VoyagerXHF commited on
Commit
995ad96
·
verified ·
1 Parent(s): 53c4317

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +7 -9
README.md CHANGED
@@ -662,8 +662,7 @@ export OPENAI_API_KEY="EMPTY"
662
  > We recommend using the following set of sampling parameters for generation
663
  > - Thinking mode for general tasks: `temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0`
664
  > - Thinking mode for precise coding tasks (e.g. WebDev): `temperature=0.6, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0, repetition_penalty=1.0`
665
- > - Instruct (or non-thinking) mode for general tasks: `temperature=0.7, top_p=0.8, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0`
666
- > - Instruct (or non-thinking) mode for reasoning tasks: `temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0`
667
  >
668
  > Please note that the support for sampling parameters varies according to inference frameworks.
669
 
@@ -723,7 +722,7 @@ messages = [
723
  }
724
  ]
725
 
726
- response = client.chat.completions.create(
727
  model="Qwen/Qwen3.6-35B-A3B",
728
  messages=messages,
729
  max_tokens=81920,
@@ -768,7 +767,7 @@ messages = [
768
  #
769
  # By default, `fps=2` and `do_sample_frames=True`.
770
  # With `do_sample_frames=True`, you can customize the `fps` value to set your desired video sampling rate.
771
- response = client.chat.completions.create(
772
  model="Qwen/Qwen3.6-35B-A3B",
773
  messages=messages,
774
  max_tokens=81920,
@@ -1006,10 +1005,8 @@ To achieve optimal performance, we recommend the following settings:
1006
  `temperature=1.0`, `top_p=0.95`, `top_k=20`, `min_p=0.0`, `presence_penalty=1.5`, `repetition_penalty=1.0`
1007
  - **Thinking mode for precise coding tasks (e.g., WebDev)**:
1008
  `temperature=0.6`, `top_p=0.95`, `top_k=20`, `min_p=0.0`, `presence_penalty=0.0`, `repetition_penalty=1.0`
1009
- - **Instruct (or non-thinking) mode for general tasks**:
1010
- `temperature=0.7`, `top_p=0.8`, `top_k=20`, `min_p=0.0`, `presence_penalty=1.5`, `repetition_penalty=1.0`
1011
- - **Instruct (or non-thinking) mode for reasoning tasks**:
1012
- `temperature=1.0`, `top_p=1.0`, `top_k=40`, `min_p=0.0`, `presence_penalty=2.0`, `repetition_penalty=1.0`
1013
  - For supported frameworks, you can adjust the `presence_penalty` parameter between 0 and 2 to reduce endless repetitions. However, using a higher value may occasionally result in language mixing and a slight decrease in model performance.
1014
 
1015
  2. **Adequate Output Length**: We recommend using an output length of 32,768 tokens for most queries. For benchmarking on highly complex problems, such as those found in math and programming competitions, we suggest setting the max output length to 81,920 tokens. This provides the model with sufficient space to generate detailed and comprehensive responses, thereby enhancing its overall performance.
@@ -1038,4 +1035,5 @@ If you find our work helpful, feel free to give us a cite.
1038
  month = {April},
1039
  year = {2026}
1040
  }
1041
- ```
 
 
662
  > We recommend using the following set of sampling parameters for generation
663
  > - Thinking mode for general tasks: `temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0`
664
  > - Thinking mode for precise coding tasks (e.g. WebDev): `temperature=0.6, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0, repetition_penalty=1.0`
665
+ > - Instruct (or non-thinking) mode: `temperature=0.7, top_p=0.80, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0`
 
666
  >
667
  > Please note that the support for sampling parameters varies according to inference frameworks.
668
 
 
722
  }
723
  ]
724
 
725
+ chat_response = client.chat.completions.create(
726
  model="Qwen/Qwen3.6-35B-A3B",
727
  messages=messages,
728
  max_tokens=81920,
 
767
  #
768
  # By default, `fps=2` and `do_sample_frames=True`.
769
  # With `do_sample_frames=True`, you can customize the `fps` value to set your desired video sampling rate.
770
+ chat_response = client.chat.completions.create(
771
  model="Qwen/Qwen3.6-35B-A3B",
772
  messages=messages,
773
  max_tokens=81920,
 
1005
  `temperature=1.0`, `top_p=0.95`, `top_k=20`, `min_p=0.0`, `presence_penalty=1.5`, `repetition_penalty=1.0`
1006
  - **Thinking mode for precise coding tasks (e.g., WebDev)**:
1007
  `temperature=0.6`, `top_p=0.95`, `top_k=20`, `min_p=0.0`, `presence_penalty=0.0`, `repetition_penalty=1.0`
1008
+ - **Instruct (or non-thinking) mode**:
1009
+ `temperature=0.7`, `top_p=0.80`, `top_k=20`, `min_p=0.0`, `presence_penalty=1.5`, `repetition_penalty=1.0`
 
 
1010
  - For supported frameworks, you can adjust the `presence_penalty` parameter between 0 and 2 to reduce endless repetitions. However, using a higher value may occasionally result in language mixing and a slight decrease in model performance.
1011
 
1012
  2. **Adequate Output Length**: We recommend using an output length of 32,768 tokens for most queries. For benchmarking on highly complex problems, such as those found in math and programming competitions, we suggest setting the max output length to 81,920 tokens. This provides the model with sufficient space to generate detailed and comprehensive responses, thereby enhancing its overall performance.
 
1035
  month = {April},
1036
  year = {2026}
1037
  }
1038
+ ```
1039
+