Skip to content

Commit

Permalink
Merge pull request #260 from tryAGI/bot/update-together_202404271227
Browse files Browse the repository at this point in the history
feat:Updated Together AI models
  • Loading branch information
github-actions[bot] authored Apr 27, 2024
2 parents 71f95bb + 8d87e0d commit aa63c59
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Providers/TogetherAI/src/Predefined/AllModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -310,3 +310,8 @@ public class UpstageSolarInstructV111BModel(TogetherAiProvider provider) : Toget
public class _01AiYiChat34BModel(TogetherAiProvider provider) : TogetherAiModel(provider, TogetherAiModelIds._01AiYiChat34B);


/// <inheritdoc cref="TogetherAiModelIds.UpstageSolarInstructV111BInt4"/>
/// <param name="provider">Open Router Provider Instance</param>
public class UpstageSolarInstructV111BInt4Model(TogetherAiProvider provider) : TogetherAiModel(provider, TogetherAiModelIds.UpstageSolarInstructV111BInt4);


11 changes: 11 additions & 0 deletions src/Providers/TogetherAI/src/TogetherAiModelIds.cs
Original file line number Diff line number Diff line change
Expand Up @@ -688,4 +688,15 @@ public enum TogetherAiModelIds
/// </summary>
_01AiYiChat34B,

/// <summary>
/// Name: Upstage SOLAR Instruct v1 (11B)-Int4 <br/>
/// Organization: upstage <br/>
/// Context Length: 4096 <br/>
/// Prompt Cost: $0.3/MTok <br/>
/// Completion Cost: $0.3/MTok <br/>
/// Description: Built on the Llama2 architecture, SOLAR-10.7B incorporates the innovative Upstage Depth Up-Scaling <br/>
/// HuggingFace Url: <a href="https://huggingface.co/togethercomputer/SOLAR-10.7B-Instruct-v1.0-int4">https://huggingface.co/togethercomputer/SOLAR-10.7B-Instruct-v1.0-int4</a>
/// </summary>
UpstageSolarInstructV111BInt4,

}
1 change: 1 addition & 0 deletions src/Providers/TogetherAI/src/TogetherAiModelProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public static class TogetherAiModelProvider
{ TogetherAiModelIds.Alpaca7B, new ChatModels("togethercomputer/alpaca-7b",2048,2.0000000000000002E-07,2.0000000000000002E-07)},
{ TogetherAiModelIds.UpstageSolarInstructV111B, new ChatModels("upstage/SOLAR-10.7B-Instruct-v1.0",4096,3E-07,3E-07)},
{ TogetherAiModelIds._01AiYiChat34B, new ChatModels("zero-one-ai/Yi-34B-Chat",4096,8.000000000000001E-07,8.000000000000001E-07)},
{ TogetherAiModelIds.UpstageSolarInstructV111BInt4, new ChatModels("togethercomputer/SOLAR-10.7B-Instruct-v1.0-int4",4096,3E-07,3E-07)},

};

Expand Down

0 comments on commit aa63c59

Please sign in to comment.