together-ai-sdk
Version:
A typescript SDK for the Together AI API
405 lines (404 loc) • 13.1 kB
TypeScript
export declare enum TogetherChatModel {
Ai_Yi_Chat_34B = "zero-one-ai/Yi-34B-Chat",
Chronos_Hermes_13B = "Austism/chronos-hermes-13b",
Deepseek_Coder_Instruct_33B = "deepseek-ai/deepseek-coder-33b-instruct",
Platypus2_Instruct_70B = "garage-bAInd/Platypus2-70B-instruct",
MythoMax_L2_13B = "Gryphe/MythoMax-L2-13b",
Vicuna_v1_5_13B = "lmsys/vicuna-13b-v1.5",
Vicuna_v1_5_7B = "lmsys/vicuna-7b-v1.5",
Code_Llama_Instruct_13B = "codellama/CodeLlama-13b-Instruct-hf",
Code_Llama_Instruct_34B = "codellama/CodeLlama-34b-Instruct-hf",
Code_Llama_Instruct_70B = "codellama/CodeLlama-70b-Instruct-hf",
Code_Llama_Instruct_7B = "codellama/CodeLlama-7b-Instruct-hf",
LLaMA_2_Chat_13B = "togethercomputer/llama-2-13b-chat",
LLaMA_2_Chat_70B = "togethercomputer/llama-2-70b-chat",
LLaMA_2_Chat_7B = "togethercomputer/llama-2-7b-chat",
Mistral_Instruct_7B = "mistralai/Mistral-7B-Instruct-v0.1",
Mistral_Instruct_v0_2_7B = "mistralai/Mistral-7B-Instruct-v0.2",
Mixtral_Instruct_8x7B_46_7B = "\tmistralai/Mixtral-8x7B-Instruct-v0.1",
Nous_Capybara_v1_9_7B = "NousResearch/Nous-Capybara-7B-V1p9",
Nous_Hermes_2_Mixtral_8x7B_DPO_46_7B = "NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
Nous_Hermes_2_Mixtral_8x7B_SFT_46_7B = "NousResearch/Nous-Hermes-2-Mixtral-8x7B-SFT",
Nous_Hermes_LLaMA_2_7B = "NousResearch/Nous-Hermes-llama-2-7b",
Nous_Hermes_Llama_2_13B = "NousResearch/Nous-Hermes-Llama2-13b",
Nous_Hermes_2_Yi_34B = "NousResearch/Nous-Hermes-2-Yi-34B",
OpenChat_3_5_7B = "openchat/openchat-3.5-1210",
OpenOrca_Mistral_7B_8K = "Open-Orca/Mistral-7B-OpenOrca",
Qwen_Chat_7B = "togethercomputer/Qwen-7B-Chat",
Qwen_1_5_Chat_0_5B = "Qwen/Qwen1.5-0.5B-Chat",
Qwen_1_5_Chat_1_8B = "Qwen/Qwen1.5-1.8B-Chat",
Qwen_1_5_Chat_72B = "Qwen/Qwen1.5-72B-Chat",
Snorkel_Mistral_PairRM_DPO_7B = "snorkelai/Snorkel-Mistral-PairRM-DPO",
Alpaca_7B = "togethercomputer/alpaca-7b",
OpenHermes_2_Mistral_7B = "teknium/OpenHermes-2-Mistral-7B",
OpenHermes_2_5_Mistral_7B = "teknium/OpenHermes-2p5-Mistral-7B",
Falcon_Instruct_40B = "togethercomputer/falcon-40b-instruct",
Falcon_Instruct_7B = "togethercomputer/falcon-7b-instruct",
LLaMA_2_7B_32K_Instruct_7B = "togethercomputer/Llama-2-7B-32K-Instruct",
RedPajama_INCITE_Chat_3B = "togethercomputer/RedPajama-INCITE-Chat-3B-v1",
RedPajama_INCITE_Chat_7B = "togethercomputer/RedPajama-INCITE-7B-Chat",
StripedHyena_Nous_7B = "togethercomputer/StripedHyena-Nous-7B",
ReMM_SLERP_L2_13B = "Undi95/ReMM-SLERP-L2-13B",
Toppy_M_7B = "Undi95/Toppy-M-7B",
WizardLM_v1_2_13B = "WizardLM/WizardLM-13B-V1.2",
Upstage_SOLAR_Instruct_v1_11B = "upstage/SOLAR-10.7B-Instruct-v1.0"
}
export declare enum TogetherLanguageModel {
ai_Yi_Base_34B = "zero-one-ai/Yi-34B",
ai_Yi_Base_6B = "zero-one-ai/Yi-6B",
LLaMA_2_13B = "togethercomputer/llama-2-13b",
LLaMA_2_70B = "togethercomputer/llama-2-70b",
LLaMA_2_7B = "togethercomputer/llama-2-7b",
Microsoft_Phi_2_3B = "microsoft/phi-2",
NexusRaven_13B = "Nexusflow/NexusRaven-V2-13B",
Qwen_7B = "togethercomputer/Qwen-7B",
Qwen_1_5_0_5B = "Qwen/Qwen1.5-0.5B",
Qwen_1_5_1_8B = "Qwen/Qwen1.5-1.8B",
Qwen_1_5_72B = "Qwen/Qwen1.5-72B",
Falcon_40B = "togethercomputer/falcon-40b",
Falcon_7B = "togethercomputer/falcon-7b",
GPT_JT_Moderation_6B = "togethercomputer/GPT-JT-Moderation-6B",
LLaMA_2_32K_7B = "togethercomputer/LLaMA-2-7B-32K",
RedPajama_INCITE_3B = "togethercomputer/RedPajama-INCITE-Base-3B-v1",
RedPajama_INCITE_7B = "togethercomputer/RedPajama-INCITE-7B-Base",
RedPajama_INCITE_Instruct_3B = "togethercomputer/RedPajama-INCITE-Instruct-3B-v1",
RedPajama_INCITE_Instruct_7B = "togethercomputer/RedPajama-INCITE-7B-Instruct",
StripedHyena_Hessian_7B = "togethercomputer/StripedHyena-Hessian-7B",
Mistral_7B = "mistralai/Mistral-7B-v0.1",
Mixtral_8x7B_46_7B = "mistralai/Mixtral-8x7B-v0.1"
}
export declare enum TogetherCodeModel {
Code_Llama_Python_70B = "codellama/CodeLlama-70b-Python-hf",
Code_Llama_Python_34B = "codellama/CodeLlama-34b-Python-hf",
Code_Llama_Python_13B = "codellama/CodeLlama-13b-Python-hf",
Code_Llama_Python_7B = "codellama/CodeLlama-7b-Python-hf",
Phind_Code_LLaMA_v2_34B = "Phind/Phind-CodeLlama-34B-v2",
WizardCoder_Python_v1_0_34B = "WizardLM/WizardCoder-Python-34B-V1.0",
WizardCoder_v1_0_15B = "WizardLM/WizardCoder-15B-V1.0"
}
export declare enum TogetherImageModel {
Openjourney_v4 = "prompthero/openjourney",
Stable_Diffusion_v1_5 = "runwayml/stable-diffusion-v1-5",
Realistic_Vision_3_0 = "SG161222/Realistic_Vision_V3.0_VAE",
Stable_Diffusion_2_1 = "stabilityai/stable-diffusion-2-1",
Stable_Diffusion_XL_1_0 = "stabilityai/stable-diffusion-xl-base-1.0",
Analog_Diffusion = "wavymulder/Analog-Diffusion"
}
export declare enum TogetherModerationModel {
Llama_Guard_7B = "Meta-Llama/Llama-Guard-7b"
}
export declare enum TogetherEmbeddingModel {
M2_BERT_80M_2K_Retrieval = "togethercomputer/m2-bert-80M-2k-retrieval",
M2_BERT_80M_8K_Retrieval = "togethercomputer/m2-bert-80M-8k-retrieval",
M2_BERT_80M_32K_Retrieval = "togethercomputer/m2-bert-80M-32k-retrieval",
UAE_Large_v1 = "WhereIsAI/UAE-Large-V1",
BGE_Large_EN_v1_5 = "BAAI/bge-large-en-v1.5",
BGE_Base_EN_v1_5 = "BAAI/bge-base-en-v1.5",
Sentence_BERT = "sentence-transformers/msmarco-bert-base-dot-v5",
BERT = "bert-base-uncased"
}
/**
* The models available for the Together chat API.
* Organized by <type>.<organization>.<name>.<size>
*/
export declare const togetherModel: {
chat: {
zeroOneAI: {
yiChat: {
b34: TogetherChatModel;
};
};
autism: {
chronosHermes: {
b13: TogetherChatModel;
};
};
deepseekAI: {
deepseekCoder: {
b33: TogetherChatModel;
};
};
garageBAInd: {
platypus: {
b70: TogetherChatModel;
};
};
gryphe: {
mythoMax: {
b13: TogetherChatModel;
};
};
lmsys: {
vicuna: {
b7: TogetherChatModel;
b13: TogetherChatModel;
};
};
meta: {
codeLlamaIntruct: {
b13: TogetherChatModel;
b34: TogetherChatModel;
b70: TogetherChatModel;
b7: TogetherChatModel;
};
llamaChat: {
b13: TogetherChatModel;
b70: TogetherChatModel;
b7: TogetherChatModel;
};
};
minstralAI: {
minstral: {
b7: TogetherChatModel;
b7x8: TogetherChatModel;
};
minstral2: {
b7: TogetherChatModel;
};
};
nousResearch: {
capybara: {
b7: TogetherChatModel;
};
hermesMixtralDPO: {
b7x8: TogetherChatModel;
};
hermesMixtralSFT: {
b7x8: TogetherChatModel;
};
hermesLlama: {
b13: TogetherChatModel;
b7: TogetherChatModel;
};
hermesYi: {
b34: TogetherChatModel;
};
};
openChat: {
openChat: {
b7: TogetherChatModel;
};
};
openOrca: {
mistral: {
b7: TogetherChatModel;
};
};
qwen: {
qwenChat: {
b7: TogetherChatModel;
b0_5: TogetherChatModel;
b2: TogetherChatModel;
b72: TogetherChatModel;
};
};
snorkel: {
mistralPairRM: {
b7: TogetherChatModel;
};
};
stanford: {
alpaca: {
b7: TogetherChatModel;
};
};
teknium: {
openHermesMistral: {
b7: TogetherChatModel;
};
openHermesMistralv2_5: {
b7: TogetherChatModel;
};
};
tiiUAE: {
falconIntruct: {
b40: TogetherChatModel;
b7: TogetherChatModel;
};
};
together: {
llamaInstruct: {
b7: TogetherChatModel;
};
redPajamaChat: {
b3: TogetherChatModel;
b7: TogetherChatModel;
};
stripedHyena: {
b7: TogetherChatModel;
};
};
undi95: {
remmSlerp: {
b13: TogetherChatModel;
};
toppyM: {
b7: TogetherChatModel;
};
};
wizardLM: {
wizardLM: {
b13: TogetherChatModel;
};
};
upstage: {
solarInstruct: {
b11: TogetherChatModel;
};
};
};
language: {
zeroOneAI: {
yiBase: {
b34: TogetherLanguageModel;
b6: TogetherLanguageModel;
};
};
meta: {
llama: {
b13: TogetherLanguageModel;
b70: TogetherLanguageModel;
b7: TogetherLanguageModel;
};
};
microsoft: {
phi2: {
b3: TogetherLanguageModel;
};
};
nexusflow: {
nexusRaven: {
b13: TogetherLanguageModel;
};
};
qwen: {
qwen: {
b7: TogetherLanguageModel;
b0_5: TogetherLanguageModel;
b2: TogetherLanguageModel;
b72: TogetherLanguageModel;
};
};
tiiUAE: {
falcon: {
b40: TogetherLanguageModel;
b7: TogetherLanguageModel;
};
};
together: {
gptJTModeration: {
b6: TogetherLanguageModel;
};
llama: {
b7: TogetherLanguageModel;
};
redPajama: {
b3: TogetherLanguageModel;
b7: TogetherLanguageModel;
};
redPajamaInstruct: {
b3: TogetherLanguageModel;
b7: TogetherLanguageModel;
};
stripedHyena: {
b7: TogetherLanguageModel;
};
};
mistralAI: {
mistral: {
b7: TogetherLanguageModel;
b7x8: TogetherLanguageModel;
};
};
};
code: {
meta: {
llamaPython: {
b13: TogetherCodeModel;
b34: TogetherCodeModel;
b70: TogetherCodeModel;
b7: TogetherCodeModel;
};
};
phind: {
phindCodeLlama: {
b34: TogetherCodeModel;
};
};
wizardLM: {
wizardCoderPython: {
b34: TogetherCodeModel;
};
wizardCoder: {
b15: TogetherCodeModel;
};
};
};
image: {
prompthero: {
openJourney: TogetherImageModel;
};
runwayml: {
stableDiffusion: {
v1_5: TogetherImageModel;
};
};
SG161222: {
realisticVision: {
v3_0: TogetherImageModel;
};
};
stabilityai: {
stableDiffusion: {
v2_1: TogetherImageModel;
xl1_0: TogetherImageModel;
};
};
wavymulder: {
analogDiffusion: TogetherImageModel;
};
};
moderation: {
meta: {
llamaGuard: {
b7: TogetherModerationModel;
};
};
};
embedding: {
together: {
bert2k: {
m80: TogetherEmbeddingModel;
};
bert8K: {
m80: TogetherEmbeddingModel;
};
bertk32: {
m80: TogetherEmbeddingModel;
};
};
whereIsAI: {
uaeLarge: {
m326: TogetherEmbeddingModel;
};
};
baai: {
bgeBase: {
m102: TogetherEmbeddingModel;
};
bgeLarge: {
m326: TogetherEmbeddingModel;
};
};
sentenceTransformer: {
bert: {
m110: TogetherEmbeddingModel;
};
};
google: {
bert: {
m110: TogetherEmbeddingModel;
};
};
};
};