Introduction of Bielik-11B-v2.5-Instruct-FP8-Dynamic
Model Details of Bielik-11B-v2.5-Instruct-FP8-Dynamic
Bielik-11B-v2.5-Instruct-FP8-Dynamic
This model was obtained by quantizing the weights and activations of
Bielik-11B-v2.5-Instruct
to FP8 data type, ready for inference with vLLM >= 0.5.0 or SGLang.
AutoFP8 is used for quantization. This optimization reduces the number of bits per parameter from 16 to 8, reducing the disk size and GPU memory requirements by approximately 50%.
Only the weights and activations of the linear operators within transformers blocks are quantized. Symmetric per-tensor quantization is applied, in which a single linear scaling maps the FP8 representations of the quantized weights and activations.
FP8 compuation is supported on Nvidia GPUs with compute capability > 8.9 (Ada Lovelace, Hopper).
DISCLAIMER: Be aware that quantised models show reduced response quality and possible hallucinations!
Use with vLLM
This model can be deployed efficiently using the
vLLM
backend, as shown in the example below.
from vllm import LLM, SamplingParams
from transformers import AutoTokenizer
model_id = "speakleash/Bielik-11B-v2.5-Instruct-FP8-Dynamic"
sampling_params = SamplingParams(temperature=0.2, top_p=0.95, max_tokens=4096)
tokenizer = AutoTokenizer.from_pretrained(model_id)
messages = [
{"role": "system", "content": "Jesteś pomocnym asystentem Bielik."},
{"role": "user", "content": "Kim był Mikołaj Kopernik i z czego zasłynął?"},
]
prompts = tokenizer.apply_chat_template(messages, tokenize=False)
llm = LLM(model=model_id, max_model_len=4096)
outputs = llm.generate(prompts, sampling_params)
generated_text = outputs[0].outputs[0].text
print(generated_text)
vLLM aslo supports OpenAI-compatible serving. See the
documentation
for more details.
Bielik-11B-v2.5-Instruct-FP8-Dynamic huggingface.co is an AI model on huggingface.co that provides Bielik-11B-v2.5-Instruct-FP8-Dynamic's model effect (), which can be used instantly with this speakleash Bielik-11B-v2.5-Instruct-FP8-Dynamic model. huggingface.co supports a free trial of the Bielik-11B-v2.5-Instruct-FP8-Dynamic model, and also provides paid use of the Bielik-11B-v2.5-Instruct-FP8-Dynamic. Support call Bielik-11B-v2.5-Instruct-FP8-Dynamic model through api, including Node.js, Python, http.
Bielik-11B-v2.5-Instruct-FP8-Dynamic huggingface.co is an online trial and call api platform, which integrates Bielik-11B-v2.5-Instruct-FP8-Dynamic's modeling effects, including api services, and provides a free online trial of Bielik-11B-v2.5-Instruct-FP8-Dynamic, you can try Bielik-11B-v2.5-Instruct-FP8-Dynamic online for free by clicking the link below.
speakleash Bielik-11B-v2.5-Instruct-FP8-Dynamic online free url in huggingface.co:
Bielik-11B-v2.5-Instruct-FP8-Dynamic is an open source model from GitHub that offers a free installation service, and any user can find Bielik-11B-v2.5-Instruct-FP8-Dynamic on GitHub to install. At the same time, huggingface.co provides the effect of Bielik-11B-v2.5-Instruct-FP8-Dynamic install, users can directly use Bielik-11B-v2.5-Instruct-FP8-Dynamic installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Bielik-11B-v2.5-Instruct-FP8-Dynamic install url in huggingface.co: