Skip to content

Custom model API endpoint support #763

Discussion options

You must be logged in to vote

Hello @WiktorSobanski!

Great to hear you're interested in leveraging langtest with custom endpoints. In the latest release, we've introduced an exciting feature that allows you to pass API endpoint URLs directly, offering more flexibility in your implementation. You can now seamlessly integrate your custom endpoints, enhancing the functionality of langtest to suit your specific requirements. Feel free to explore this new capability and let us know if you need any further assistance. Happy testing!

pip install langtest
harness = Harness(task="text-classification",
                  model={'model': model, "hub": "custom"}, data={'data_source': 'path/to/data'})
 

for more detail: Review th…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@chakravarthik27
Comment options

Answer selected by WiktorSobanski
@WiktorSobanski
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants