nvidia/EGM-4B ↗
- source model id
- HuggingFace/nvidia-egm-4b@1
- hosting
- foundry-managed-compute
- platforms
- Microsoft Foundry
- license
- apache-2.0
- architecture
- input_modalities
- text
- output_modalities
- text
- capabilities
`nvidia/EGM-4B` powered by vLLM - [Original Model Card](https://huggingface.co/nvidia/EGM-4B) - [vLLM Documentation](https://docs.vllm.ai/) > **⚠️ Warning**: `nvidia/EGM-4B` is a base model hence it …
azureFoundry/HuggingFace/nvidia-egm-4b@2
nvidia/EGM-4B powered by vLLM
⚠️ Warning:
nvidia/EGM-4Bis a base model hence it doesn't have a pre-defined chat template as it's not fine-tuned for chat applications but rahter just pre-trained, meaning that it's likely not optimal for consumer facing inference or downstream applications.
⚠️ Warning: note that the OpenAI Completions API is a legacy API, despite it being supported in vLLM; but it's the only way to get completions for base models as those don't have a chat template.
You can use cURL or any REST Client to send a request to the Azure ML endpoint with your Azure ML token.
curl <AZUREML_ENDPOINT_URL> \
-X POST \
-H "Authorization: Bearer <AZUREML_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"model":"nvidia/EGM-4B","prompt":"What is Deep Learning?"}'
The following are the only mandatory parameters to send in the HTTP POST request to /v1/completions.
A list of messages comprising the conversation so far. Depending on the model you use, different message types (modalities) are supported, like text, images, and audio.
The rest of the parameters are optional, and since this model is powered by vLLM with an OpenAI compatible interface on top for the Completions API for text generation, then the I/O interfaces for both generation and streaming are the same as in OpenAI Completions API.
You can find the whole specification of the allowed parameters in the OpenAI Completions API Specification, or alternatively in the endpoint /openapi.json for the current Azure ML Endpoint.
{
"model": "nvidia/EGM-4B",
"prompt": "What is Deep Learning?",
"max_tokens": 256,
"temperature": 0.6
}
1–2 / 2
1–5 / 5
Hugging Face · nvidia/EGM-4B ↗
Microsoft Foundry · Model page ↗
Microsoft Foundry · Model page ↗
1–1 / 1
These charts contain model-linked results. The charts above also include unlinked source profiles. Compare scores within each evaluation. Model quality, usage, transparency and system performance measure different things.