Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Yi Handler #543

Merged
merged 15 commits into from
Jul 26, 2024
Prev Previous commit
Next Next commit
Merge branch 'main' into yi-fc
  • Loading branch information
HuanzhiMao committed Jul 26, 2024
commit 5fbc7666ae6549803b48273b62f00ea77c879fbf
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,18 @@
"01.AI",
"Proprietary",
],
"Salesforce/xLAM-1b-fc-r": [
"xLAM-1b-fc-r (FC)",
"https://huggingface.co/Salesforce/xLAM-1b-fc-r",
"Salesforce",
"cc-by-nc-4.0",
],
"Salesforce/xLAM-7b-fc-r": [
"xLAM-7b-fc-r (FC)",
"https://huggingface.co/Salesforce/xLAM-7b-fc-r",
"Salesforce",
"cc-by-nc-4.0",
]
}

INPUT_PRICE_PER_MILLION_TOKEN = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from model_handler.nvidia_handler import NvidiaHandler
from model_handler.glm_handler import GLMHandler
from model_handler.yi_handler import YiHandler

from model_handler.xlam_handler import xLAMHandler

handler_map = {
"gorilla-openfunctions-v0": GorillaHandler,
Expand Down Expand Up @@ -84,4 +84,6 @@
"nvidia/nemotron-4-340b-instruct": NvidiaHandler,
"THUDM/glm-4-9b-chat": GLMHandler,
"yi-large-fc": YiHandler,
"Salesforce/xLAM-1b-fc-r": xLAMHandler,
"Salesforce/xLAM-7b-fc-r": xLAMHandler
}
You are viewing a condensed version of this merge commit. You can view the full changes here.