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: add more hugging face model #305

Merged
merged 1 commit into from
Apr 19, 2024
Merged

Conversation

okisdev
Copy link
Owner

@okisdev okisdev commented Apr 19, 2024

No description provided.

Copy link

vercel bot commented Apr 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
chat-chat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 19, 2024 9:48am

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @okisdev - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟡 General issues: 3 issues found
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Docstrings: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

| 'CohereForAl/c4ai-command-r-plus'
| 'meta-llama/Meta-Llama-3-70B-Instruct'
| 'HuggingFaceH4/zephyr-orpo-141b-A35b-v0.1'
| 'mistralai/Mixtral-8x7B-Instruct-v0.1'
Copy link

Choose a reason for hiding this comment

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

issue (typo): Possible typo in model ID 'Mixtral' should be 'Mistral'.

},
{
id: 'mistralai/Mixtral-8x7B-Instruct-v0.1',
name: 'mistralai/Mixtral-8x7B-Instruct-v0.1',
Copy link

Choose a reason for hiding this comment

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

issue (typo): Typo in model name 'Mixtral' should be corrected to 'Mistral'.

Comment on lines +31 to +38
{
id: 'CohereForAl/c4ai-command-r-plus',
name: 'CohereForAl/c4ai-command-r-plus',
maxInputTokens: null,
maxOutputTokens: null,
maxTokens: null,
price: null,
},
Copy link

Choose a reason for hiding this comment

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

suggestion (code_refinement): Consider specifying default values for 'maxInputTokens', 'maxOutputTokens', 'maxTokens', and 'price' if applicable.

Suggested change
{
id: 'CohereForAl/c4ai-command-r-plus',
name: 'CohereForAl/c4ai-command-r-plus',
maxInputTokens: null,
maxOutputTokens: null,
maxTokens: null,
price: null,
},
{
id: 'CohereForAl/c4ai-command-r-plus',
name: 'CohereForAl/c4ai-command-r-plus',
maxInputTokens: 128, // Default value as an example
maxOutputTokens: 64, // Default value as an example
maxTokens: 192, // Default value as an example
price: 0.01, // Default value as an example
},

@okisdev okisdev merged commit 5f582e2 into main Apr 19, 2024
3 checks passed
@okisdev okisdev deleted the feat/more-huggingface-model branch April 19, 2024 09:52
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.

None yet

1 participant