Custom endpoint for NER #497
mouerfelli
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all - I'm trying to run an NER task using a mistral model, hosted within my organization, that I have access to through an endpoint like "http://XXXXXXX/v1/chat/completions"
I saw a feature was added in January that would allow for adding custom endpoints like this, and I attempted to add one - my config.cfg is given below
on running this, I get :
Config validation error
llm.model -> name unexpected value; permitted: 'Mistral-7B-v0.1', 'Mistral-7B-Instruct-v0.1'
llm.model -> config extra fields not permitted
{'@llm_models': 'spacy.Mistral.v1', 'name': 'neuralmagic/Mixtral-8x22B-Instruct-v0.1-FP8', 'config': {'base_url': 'http://XXXXXXX/v1/chat/completions', 'temperature': 0}}
I tried also the config but with :
@llm_models = "langchain.Ollama.v1"
not working for me ! please help
Beta Was this translation helpful? Give feedback.
All reactions