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

How can I implement a custom LangChain class wrapper (LLM model/Agent) for StarCoder model? #53

Open
mratanusarkar opened this issue May 29, 2023 · 3 comments

Comments

@mratanusarkar
Copy link

mratanusarkar commented May 29, 2023

Is it possible to integrate StarCoder as an LLM Model or an Agent with LangChain, and chain it in a complex usecase?
Any help / hints on the same would be appreciated!

ps: Inspired from this issue.

@reachlin
Copy link

reachlin commented Jun 1, 2023

like this? langchain/langchain/llms/huggingface_pipeline.py

@mratanusarkar
Copy link
Author

@reachlin langchain/langchain/llms/huggingface_pipeline.py will be integrating the StarCode as a huggingface model (LLM Model).
That works, but having StarCode as an Agent or chain would be more interesting.
I am looking for all types of integration between LangChain and StarCode. That would allow us to do a lot of things with code and codebases.

(Pardon my ignorance. If something like this already exists, please let me know)

@complete-dope
Copy link

I guess as of now this is not possible as the support for custom LLM / self-made llm is not there.

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

No branches or pull requests

3 participants