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 inferring Hugging Face Hub models #91

Merged
merged 2 commits into from
Jun 12, 2023
Merged

Conversation

homanp
Copy link
Collaborator

@homanp homanp commented Jun 12, 2023

Summary

This PR adds support for inferring Hugging Face Hub models as LLMs for your agent.

Fixes #81

Depends on

Test plan

POST /api/v1/agents

{
    "name": "Chat Agent",
    "type": "REACT",
    "llm": {"provider": "huggingface", "model": "mrm8488/t5-base-finetuned-wikiSQL"},
    "has_memory": false,
}

Screenshots

Checklist

  • My code follows the code style of this project and passes make format.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • My change has adequate unit test coverage.

@homanp homanp added the enhancement New feature or request label Jun 12, 2023
@homanp homanp self-assigned this Jun 12, 2023
@render
Copy link

render bot commented Jun 12, 2023

@homanp homanp merged commit 2b0ef42 into main Jun 12, 2023
4 checks passed
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

Successfully merging this pull request may close these issues.

Run Huggingface models in Superagent
1 participant