Views
No views yet
Qwen/Qwen3-32BDmlExecutionProvidermodel.onnxmodel.onnx.data ← INT4 weights (≈ 18.6 GB)genai_config.jsontokenizer.json, vocab.json, merges.txtchat_template.jinja1using Microsoft.ML.OnnxRuntimeGenAI;
2
3var modelPath = @"Qwen3-32B-Instruct-DirectML-INT4";
4
5using var model = Model.Load(modelPath, new ModelOptions
6{
7 ExecutionProvider = ExecutionProvider.DirectML
8});
9
10using var tokenizer = new Tokenizer(model);
11var tokens = tokenizer.Encode("Determine which legal document templates are required for a Dutch mortgage transaction.");
12
13using var generator = new Generator(model, new GeneratorParams
14{
15 MaxLength = 2048,
16 Temperature = 0.6f
17});
18
19generator.AppendTokens(tokens);
20generator.Generate();
21
22string output = tokenizer.Decode(generator.GetSequence(0));
23Console.WriteLine(output);
24Prompt Format
25The model supports chat-style prompts and function-calling / tool-routing patterns when used with structured system prompts (e.g. Hermes-style schemas).
26
27The provided chat_template.jinja can be used for consistent role formatting.
28
29Performance Characteristics
30Much stronger reasoning and instruction following than 14B
31
32Higher latency, but better long-context coherence
33
34Ideal when model must:
35
36Infer document structures
37
38Select templates
39
40Extract structured fields from natural language
41
42License & Attribution
43Base model:
44
45Qwen3-32B by Alibaba (see original model card for license)
46
47Conversion:
48
49ONNX + INT4 DirectML optimization performed by Wekkel using Microsoft Olive.
50
51Independent community conversion.
52
53No affiliation with Alibaba or the Qwen team.
54
55Related Models
56Smaller & faster:
57
58https://huggingface.co/wekkel/Qwen3-14B-Instruct-DirectML-INT4