Skip to content

Commit

Permalink
add xinference model class
Browse files Browse the repository at this point in the history
  • Loading branch information
slobentanzer committed Dec 12, 2023
1 parent 2917e43 commit 43f7146
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions biochatter/llm_connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@

HUGGINGFACE_MODELS = ["bigscience/bloom"]

XINFERENCE_MODELS = ["custom-endpoint"]

TOKEN_LIMITS = {
"gpt-3.5-turbo": 4000,
"gpt-3.5-turbo-16k": 16000,
Expand All @@ -50,6 +52,7 @@
"gpt-4-32k": 32000,
"gpt-4-1106-preview": 128000,
"bigscience/bloom": 1000,
"custom-endpoint": 1, # Reasonable value?
}


Expand Down

0 comments on commit 43f7146

Please sign in to comment.