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

feat:Updated Together AI models #372

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

HavenDV
Copy link
Contributor

@HavenDV HavenDV commented Jul 8, 2024

Created by Github Actions

Summary by CodeRabbit

  • New Features

    • Introduced new AI models including WizardlmV1213B, CodeLlamaInstruct34B, and UpstageSolarInstructV111B for enhanced capabilities.
  • Improvements

    • Updated existing AI models with new parameters for better performance and accuracy.
    • Renamed several models for consistency and alignment with updated model IDs.

Copy link
Contributor

coderabbitai bot commented Jul 8, 2024

Walkthrough

The AllModels.cs file underwent significant refactoring within the LangChain.Providers.TogetherAi.Predefined namespace. This included renaming various model classes, updating inheritance structures, and introducing new models. These changes were essential to align class declarations with updated model IDs and streamline the model management process.

Changes

File Path Change Summary
.../Providers/TogetherAI/src/Predefined/AllModels.cs Extensive renaming of model classes, updating inheritance to align with new model IDs, and addition of new models.

Poem

In the land where code resides,
Models changed, old names cast aside.
New IDs, new forms to align,
Inheritance updated, all in a line.
A symphony of bits and bytes,
Together, we soar to new heights.
🎵🐇✨


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot enabled auto-merge July 8, 2024 06:38
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between b8eb816 and a970ed1.

Files selected for processing (3)
  • src/Providers/TogetherAI/src/Predefined/AllModels.cs (3 hunks)
  • src/Providers/TogetherAI/src/TogetherAiModelIds.cs (10 hunks)
  • src/Providers/TogetherAI/src/TogetherAiModelProvider.cs (1 hunks)
Files not summarized due to errors (1)
  • src/Providers/TogetherAI/src/TogetherAiModelIds.cs: Error: Message exceeds token limit
Additional comments not posted (54)
src/Providers/TogetherAI/src/TogetherAiModelProvider.cs (10)

12-12: Entry for WizardlmV1213B looks good.

The parameters for this model entry are consistent with the format used for other models.


13-13: Entry for CodeLlamaInstruct34B looks good.

The parameters for this model entry are consistent with the format used for other models.


14-14: Entry for UpstageSolarInstructV111B looks good.

The parameters for this model entry are consistent with the format used for other models.


15-15: Entry for OpenHermes2Mistral7B looks good.

The parameters for this model entry are consistent with the format used for other models.


16-16: Entry for Llama27B32KInstruct7B looks good.

The parameters for this model entry are consistent with the format used for other models.


17-17: Entry for RemmSlerpL213B looks good.

The parameters for this model entry are consistent with the format used for other models.


18-18: Entry for ToppyM7B looks good.

The parameters for this model entry are consistent with the format used for other models.


19-19: Entry for PhindCodeLlamaV234B looks good.

The parameters for this model entry are consistent with the format used for other models.


20-20: Entry for OpenChat35 looks good.

The parameters for this model entry are consistent with the format used for other models.


21-21: Entry for ChronosHermes13B looks good.

The parameters for this model entry are consistent with the format used for other models.

src/Providers/TogetherAI/src/Predefined/AllModels.cs (15)

5-5: Class declaration for WizardlmV1213BModel looks good.

The class declaration and inheritance are consistent with other class declarations.


10-10: Class declaration for CodeLlamaInstruct34BModel looks good.

The class declaration and inheritance are consistent with other class declarations.


15-15: Class declaration for UpstageSolarInstructV111BModel looks good.

The class declaration and inheritance are consistent with other class declarations.


20-20: Class declaration for OpenHermes2Mistral7BModel looks good.

The class declaration and inheritance are consistent with other class declarations.


25-25: Class declaration for Llama27B32KInstruct7BModel looks good.

The class declaration and inheritance are consistent with other class declarations.


30-30: Class declaration for RemmSlerpL213BModel looks good.

The class declaration and inheritance are consistent with other class declarations.


35-35: Class declaration for ToppyM7BModel looks good.

The class declaration and inheritance are consistent with other class declarations.


40-40: Class declaration for PhindCodeLlamaV234BModel looks good.

The class declaration and inheritance are consistent with other class declarations.


45-45: Class declaration for OpenChat35Model looks good.

The class declaration and inheritance are consistent with other class declarations.


50-50: Class declaration for ChronosHermes13BModel looks good.

The class declaration and inheritance are consistent with other class declarations.


55-55: Class declaration for SnorkelMistralPairrmDpo7BModel looks good.

The class declaration and inheritance are consistent with other class declarations.


60-60: Class declaration for Qwen15Chat7BModel looks good.

The class declaration and inheritance are consistent with other class declarations.


65-65: Class declaration for Qwen15Chat14BModel looks good.

The class declaration and inheritance are consistent with other class declarations.


70-70: Class declaration for Qwen15Chat18BModel looks good.

The class declaration and inheritance are consistent with other class declarations.


75-75: Class declaration for SnowflakeArcticInstructModel looks good.

The class declaration and inheritance are consistent with other class declarations.

src/Providers/TogetherAI/src/TogetherAiModelIds.cs (29)

10-18: LGTM!

The metadata for the WizardlmV1213B model is accurate and correctly formatted.


21-29: LGTM!

The metadata for the CodeLlamaInstruct34B model is accurate and correctly formatted.


32-40: LGTM!

The metadata for the UpstageSolarInstructV111B model is accurate and correctly formatted.


43-51: LGTM!

The metadata for the OpenHermes2Mistral7B model is accurate and correctly formatted.


54-62: LGTM!

The metadata for the Llama27B32KInstruct7B model is accurate and correctly formatted.


65-73: LGTM!

The metadata for the RemmSlerpL213B model is accurate and correctly formatted.


76-84: LGTM!

The metadata for the ToppyM7B model is accurate and correctly formatted.


Line range hint 90-106: LGTM!

The metadata for the PhindCodeLlamaV234B model is accurate and correctly formatted.


98-106: LGTM!

The metadata for the OpenChat35 model is accurate and correctly formatted.


109-117: LGTM!

The metadata for the ChronosHermes13B model is accurate and correctly formatted.


120-128: LGTM!

The metadata for the SnorkelMistralPairrmDpo7B model is accurate and correctly formatted.


131-139: LGTM!

The metadata for the Qwen15Chat7B model is accurate and correctly formatted.


Line range hint 142-152: LGTM!

The metadata for the Qwen15Chat14B model is accurate and correctly formatted.


153-161: LGTM!

The metadata for the Qwen15Chat18B model is accurate and correctly formatted.


Line range hint 164-174: LGTM!

The metadata for the SnowflakeArcticInstruct model is accurate and correctly formatted.


175-183: LGTM!

The metadata for the CodeLlamaInstruct70B model is accurate and correctly formatted.


186-194: LGTM!

The metadata for the CodeLlamaPython13B model is accurate and correctly formatted.


197-205: LGTM!

The metadata for the NousHermes2Mixtral8X7BSft model is accurate and correctly formatted.


208-216: LGTM!

The metadata for the Dolphin25Mixtral8X7B model is accurate and correctly formatted.


219-227: LGTM!

The metadata for the NousHermes2Mixtral8X7BDpo model is accurate and correctly formatted.


230-238: LGTM!

The metadata for the Mixtral8X22bInstructV01 model is accurate and correctly formatted.


241-249: LGTM!

The metadata for the DeepseekCoderInstruct33B model is accurate and correctly formatted.


252-260: LGTM!

The metadata for the CodeLlamaPython34B model is accurate and correctly formatted.


263-271: LGTM!

The metadata for the NousHermesLlama213B model is accurate and correctly formatted.


274-282: LGTM!

The metadata for the VicunaV1513B model is accurate and correctly formatted.


285-293: LGTM!

The metadata for the Qwen15Chat05B model is accurate and correctly formatted.


296-304: LGTM!

The metadata for the CodeLlamaInstruct7B model is accurate and correctly formatted.


Line range hint 307-315: LGTM!

The metadata for the CodeLlamaPython70B model is accurate and correctly formatted.


318-326: LGTM!

The metadata for the NousHermes2Yi34B model is accurate and correctly formatted.

@github-actions github-actions bot merged commit 7a1dd8d into main Jul 8, 2024
3 checks passed
@github-actions github-actions bot deleted the bot/update-together_202407080633 branch July 8, 2024 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant