diff --git a/common/sampling.cpp b/common/sampling.cpp index 3dc7f112094e6..57c83bbe7474a 100644 --- a/common/sampling.cpp +++ b/common/sampling.cpp @@ -293,7 +293,7 @@ llama_token gpt_sampler_sample(struct gpt_sampler * gsmpl, struct llama_context return id; } - // check if it the sampled token fits the grammar + // check if the sampled token fits the grammar { llama_token_data single_token_data = { id, 1.0f, 0.0f }; llama_token_data_array single_token_data_array = { &single_token_data, 1, -1, false }; @@ -398,7 +398,7 @@ std::vector gpt_sampler_types_from_names(const std::vector sampler_alt_name_map { { "top-k", GPT_SAMPLER_TYPE_TOP_K }, diff --git a/requirements/requirements-pydantic.txt b/requirements/requirements-pydantic.txt index bdd423e07ea36..436d85d0d8103 100644 --- a/requirements/requirements-pydantic.txt +++ b/requirements/requirements-pydantic.txt @@ -1,3 +1,3 @@ docstring_parser~=0.15 pydantic~=2.6.3 -requests +requests~=2.31.0