This model is a fine-tuned version of Qwen3-4B-Instruct-2507, specialized for emotion recognition and emotionally-aware text generation.
📥 Download & Use
If your goal is only model deployment, we recommend using the GGUF format — it offers higher inference efficiency and a simpler model workflow.
As a fine-tuned variant of Qwen3, OmniDimen operates in a manner similar to Qwen3.
The code of gpt-oss has been in the latest Hugging Face transformers and we advise you to use the latest version of transformers.
The following contains a code snippet illustrating how to use the model generate content based on given inputs.
python
1from transformers import AutoModelForCausalLM, AutoTokenizer
23model_name ="OmniDimen/OmniDimen-2-4B-Emotion"45# load the tokenizer and the model6tokenizer = AutoTokenizer.from_pretrained(model_name)7model = AutoModelForCausalLM.from_pretrained(8 model_name,9 torch_dtype="auto",10 device_map="auto"11)1213# prepare the model input14prompt ="Give me a short introduction to large language model."15messages =[16{"role":"user","content": prompt}17]18text = tokenizer.apply_chat_template(19 messages,20 tokenize=False,21 add_generation_prompt=True,22)23model_inputs = tokenizer([text], return_tensors="pt").to(model.device)2425# conduct text completion26generated_ids = model.generate(27**model_inputs,28 max_new_tokens=13107229)30output_ids = generated_ids[0][len(model_inputs.input_ids[0]):].tolist()3132content = tokenizer.decode(output_ids, skip_special_tokens=True)3334print("content:", content)
For deployment, you can use sglang>=0.4.6.post1 or vllm>=0.8.5 or to create an OpenAI-compatible API endpoint:
Become one of the select models joining the first cohort of the “OmniDimen: AI Personality Shaping Project.”
V1.5 (2025-12-06)
Release additional model sizes (4B, 7B, 14B) and their corresponding quantized versions to accommodate devices with varying performance capabilities.
V1.2 (2025-11-15)
Enhance model performance.
V1.1 (2025-09-29)
Fix some bugs that output abnormal characters.
First upload of safetensor weights.
V1.0 (2025-09-19)
First upload of GGUF weights (FP16 and Q4_K_M).
Support for LM Studio, Ollama, PocketPal.
Example prompts and instructions added.
⚠️ Notes
Before initiating emotional interactions with OmniDimen, it is recommended to inform the model of the user's identity (e.g., how OmniDimen should address the user). This approach can effectively reduce OmniDimen's AI hallucinations.
Model is emotion-focused. It may not perform as broadly as the base model.
Use responsibly with sensitive content.
💝 Donation
Our development requires a great deal of human and material resources. If you’d like to support our growth, you can consider donating to us using the following methods: