BSC-LT/salamandra-2b-instruct ↗
- source model id
- HuggingFace/bsc-lt-salamandra-2b-instruct@1
- hosting
- foundry-managed-compute
- platforms
- Microsoft Foundry
- license
- apache-2.0
- architecture
- input_modalities
- text
- output_modalities
- text
- capabilities
`BSC-LT/salamandra-2b-instruct` powered by Text Generation Inference (TGI) - [Example Notebook](https://aka.ms/hugging-face-text-generation-streaming-online-endpoint) - [Original Model Card](https://…
azureFoundry/HuggingFace/bsc-lt-salamandra-2b-instruct@1
BSC-LT/salamandra-2b-instruct powered by Text Generation Inference (TGI)
You can use cURL or any REST Client to send a request to the AzureML endpoint with your AzureML token.
curl <AZUREML_ENDPOINT_URL> \
-X POST \
-d '{"inputs":"What is Deep Learning?"}' \
-H "Authorization: Bearer <AZUREML_TOKEN>" \
-H "Content-Type: application/json"
You can use different parameters to control the generation, defining them in the parameters attribute of the payload. As of today, the following parameters are supported:
Example payload
{
"inputs": "What is Deep Learning?",
"parameters": {
"do_sample": true,
"top_p": 0.95,
"temperature": 0.2,
"top_k": 50,
"max_new_tokens": 256,
"repetition_penalty": 1.03,
"stop": ["
User:", "<|endoftext|>", "</s>"]
}
}
1–1 / 1
1–4 / 4
Hugging Face · BSC-LT/salamandra-2b-instruct ↗
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.