qwen3_8b
What it is
A module that defines a preconfigured ChatModel instance for Alibaba’s Qwen3 8B running locally via Ollama (through langchain_ollama.ChatOllama).
Public API
model: ChatModel- A configured chat model wrapper with:
model_id:"qwen3:8b"provider:"alibaba"name:"Qwen3 8B"description: short human-readable descriptionimage: Ollama logo URLcontext_window:32768model:ChatOllama(model="qwen3:8b", temperature=0.3)
- A configured chat model wrapper with:
Configuration/Dependencies
- Dependencies:
langchain_ollama.ChatOllamanaas_abi_core.models.Model.ChatModel
- Runtime requirements:
- An Ollama environment capable of serving the
qwen3:8bmodel.
- An Ollama environment capable of serving the
- Key configuration constants (module-level):
MODEL_ID = "qwen3:8b"PROVIDER = "alibaba"(note: assigned twice in code; final value is"alibaba")CONTEXT_WINDOW = 32768TEMPERATURE = 0.3
Usage
from naas_abi_marketplace.ai.qwen.models.qwen3_8b import model
# `model` is a ChatModel wrapper around a ChatOllama instance.
# Use it according to your ChatModel interface (e.g., passing it into your app/agent pipeline).
print(model.model_id, model.provider, model.name)
Caveats
PROVIDERis defined twice ("qwen"then"alibaba"); the effective value used is"alibaba".- This module only defines configuration and instantiation; it does not provide helper functions for prompting or invocation beyond what
ChatModel/ChatOllamaexpose.