hf-llm-api / networks /message_streamer.py

Commit History

  1. :zap: [Enhance] Set min and max for top_p

    64645f0
  2. :gem: [Feature] Add top_p and set 0.95 as default

    403b8cf
  3. :gem: [Feature] Add use_cache parameter, and set default temperature to 0.5

    e2b245b

  1. :gem: [Feature] New model enabled: nous-mixtral-8-7b

    4a28ca5

  1. :zap: [Enhance] Remove openchat-3.5 from available models

    06c8d58

  1. :boom: [Fix] inputs_tokens + max_new_tokens must <= 32768

    fa3bfb0
  2. :boom: [Fix] temperature must be strictly positive

    eb00725

  1. :boom: [Fix] Error 500 when temperature is null

    8ba223c
  2. :zap: [Enhance] Auto calculate max_tokens if not set

    1b9f698

  1. :zap: [Enhance] Remove leading whitespaces of first response

    c95d47e
  2. :pencil: [Doc] Available models: More comments on dropped models

    85354a9

  1. :gem: [Feature] MessageStreamer: Support stop sequence and auto removal

    4ba2ca6
  2. :gem: [Feature] Support call hf api with api_key via HTTP Bearer

    2da6968

  1. :gem: [Feature] Support no-stream mode with dict response

    d2b20f2

  1. :pencil: [Doc] Readme for features, and comments for references

    e820e51
  2. :zap: [Enhance] Cleaner logger output

    b96cef7
  3. :zap: [Enhance] New models: mistral-7b and openchat-3.5

    e916990
  4. :zap: [Enhance] OSLogger: Re-wrap for better syntax check, and move stream log to debug

    047008b
  5. :pencil: [Comment] References of requests params

    395ee29
  6. :zap: [Enhance] Default models and max_new_tokens

    6aa8b86

  1. :zap: [Enhance] API: Ensure temperature to be positive

    3dfcb72
  2. :gem: [Feature] New ArgParser: Specify server ip, port and running mode

    e28221f
  3. :gem: [Feature] New MessageStreamer: Enable requests inference api with requests

    9f341cc