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 support for cohere models in Instructor #584

Open
lidiyam opened this issue Apr 9, 2024 · 0 comments
Open

Add support for cohere models in Instructor #584

lidiyam opened this issue Apr 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@lidiyam
Copy link
Contributor

lidiyam commented Apr 9, 2024

Is your feature request related to a problem? Please describe.
Add support for cohere models in Instructor

Describe the solution you'd like
Command-R and Command-R-plus models are finetuned for tool use and have the capabilities to produce structured JSON. It'd be great to include that into Instructor.

Describe alternatives you've considered
.from_litellm technically supports any hf model, but requires loading & inferencing 35B+ param models locally. It'd be nice to leverage cohere's /chat endpoint.

Additional context
I already have some working code to do this (heavily inspired by instructor's philosophy), just need to clean it up and merge it in here.

@dosubot dosubot bot added the enhancement New feature or request label Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant