Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/backend/native_api.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@
"\n",
"- `model_path`: The path/name of the model.\n",
"- `is_generation`: Whether the model is used as generation model or embedding model.\n",
"- `tokenizer_path`: The path/name of the tokenizer."
"- `tokenizer_path`: The path/name of the tokenizer.\n",
"- `preferred_sampling_params`: Preferred sampling params are used them if they are not explicitly passed in sampling_params."
]
},
{
Expand All @@ -113,7 +114,8 @@
"assert response_json[\"model_path\"] == \"qwen/qwen2.5-0.5b-instruct\"\n",
"assert response_json[\"is_generation\"] is True\n",
"assert response_json[\"tokenizer_path\"] == \"qwen/qwen2.5-0.5b-instruct\"\n",
"assert response_json.keys() == {\"model_path\", \"is_generation\", \"tokenizer_path\"}"
"assert response_json.keys() == {\"model_path\", \"is_generation\", \"tokenizer_path\"}\n",
"assert response_json[\"preferred_sampling_params\"] is None"
]
},
{
Expand Down