funmaker commited on
Commit
12a3808
·
1 Parent(s): 62b9b3b

Enhance README with sampling parameter recommendations and Llama.cpp usage examples

Browse files
Files changed (1) hide show
  1. README-cn.md +0 -2
README-cn.md CHANGED
@@ -370,8 +370,6 @@ outputs = model.generate(**inputs, max_new_tokens=128)
370
  print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
371
  ```
372
 
373
- 推荐的采样参数:`temperature=1.0, top_p=0.95`
374
-
375
  ## 工具调用
376
 
377
  工具调用**推荐使用 SGLang**。MiniCPM5-2B 以 XML 格式产出工具调用,SGLang 内置的 `minicpm5` parser 会自动将其转换为 OpenAI 兼容的 `tool_calls` 字段。
 
370
  print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
371
  ```
372
 
 
 
373
  ## 工具调用
374
 
375
  工具调用**推荐使用 SGLang**。MiniCPM5-2B 以 XML 格式产出工具调用,SGLang 内置的 `minicpm5` parser 会自动将其转换为 OpenAI 兼容的 `tool_calls` 字段。