tencent / WeDLM-7B-Instruct

huggingface.co
Total runs: 229
24-hour runs: 0
7-day runs: 44
30-day runs: 44
Model's Last Updated: December 29 2025
text-generation

Introduction of WeDLM-7B-Instruct

Model Details of WeDLM-7B-Instruct

WeDLM-7B-Instruct

WeDLM-7B-Instruct is an instruction-tuned diffusion language model that performs parallel decoding under standard causal attention, fine-tuned from WeDLM-7B .

For the base (pretrained) version, see WeDLM-7B .

📄 Paper (Coming Soon) | 🌐 Project Page | 💻 GitHub

Model Details
Attribute Value
Base Model WeDLM-7B
Parameters 7B
Context Length 32,768
Quick Start (Recommended)

For fast inference , use the wedlm engine:

pip install git+https://github.com/tencent/WeDLM.git
from transformers import AutoTokenizer
from wedlm import LLM, SamplingParams

llm = LLM(model="tencent/WeDLM-7B-Instruct")
tokenizer = AutoTokenizer.from_pretrained("tencent/WeDLM-7B-Instruct", trust_remote_code=True)

prompt = "Explain the difference between machine learning and deep learning."
messages = [{"role": "user", "content": prompt}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)

outputs = llm.generate([text], SamplingParams(temperature=0.2, max_tokens=512))
print(outputs[0]["text"])
Multi-turn Conversation
messages = [
    {"role": "user", "content": "What is Python?"},
    {"role": "assistant", "content": "Python is a high-level programming language known for its simplicity and readability."},
    {"role": "user", "content": "Show me a hello world example."}
]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
outputs = llm.generate([text], SamplingParams(temperature=0.2, max_tokens=256))
HuggingFace Transformers

For training or simple forward passes:

from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("tencent/WeDLM-7B-Instruct", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    "tencent/WeDLM-7B-Instruct", 
    trust_remote_code=True,
    torch_dtype="auto",
    device_map="auto"
)

messages = [{"role": "user", "content": "Hello!"}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
outputs = model(**inputs)

⚠️ Note: The HuggingFace interface is for training/forward pass convenience. For optimized inference throughput, use the wedlm engine above.

Performance
Benchmark Qwen2.5-7B-Instruct WeDLM-7B-Instruct
ARC-C (0-shot) 86.09 89.59
GSM8K (3-shot) 89.91 87.57
MATH (4-shot) 45.00 55.40
HumanEval (4-shot) 76.22 75.00
MMLU (5-shot) 71.98 70.52
Citation (Coming soon)
License

Apache 2.0

Runs of tencent WeDLM-7B-Instruct on huggingface.co

229
Total runs
0
24-hour runs
0
3-day runs
44
7-day runs
44
30-day runs

More Information About WeDLM-7B-Instruct huggingface.co Model

More WeDLM-7B-Instruct license Visit here:

https://choosealicense.com/licenses/apache-2.0

WeDLM-7B-Instruct huggingface.co

WeDLM-7B-Instruct huggingface.co is an AI model on huggingface.co that provides WeDLM-7B-Instruct's model effect (), which can be used instantly with this tencent WeDLM-7B-Instruct model. huggingface.co supports a free trial of the WeDLM-7B-Instruct model, and also provides paid use of the WeDLM-7B-Instruct. Support call WeDLM-7B-Instruct model through api, including Node.js, Python, http.

WeDLM-7B-Instruct huggingface.co Url

https://huggingface.co/tencent/WeDLM-7B-Instruct

tencent WeDLM-7B-Instruct online free

WeDLM-7B-Instruct huggingface.co is an online trial and call api platform, which integrates WeDLM-7B-Instruct's modeling effects, including api services, and provides a free online trial of WeDLM-7B-Instruct, you can try WeDLM-7B-Instruct online for free by clicking the link below.

tencent WeDLM-7B-Instruct online free url in huggingface.co:

https://huggingface.co/tencent/WeDLM-7B-Instruct

WeDLM-7B-Instruct install

WeDLM-7B-Instruct is an open source model from GitHub that offers a free installation service, and any user can find WeDLM-7B-Instruct on GitHub to install. At the same time, huggingface.co provides the effect of WeDLM-7B-Instruct install, users can directly use WeDLM-7B-Instruct installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

WeDLM-7B-Instruct install url in huggingface.co:

https://huggingface.co/tencent/WeDLM-7B-Instruct

Url of WeDLM-7B-Instruct

WeDLM-7B-Instruct huggingface.co Url

Provider of WeDLM-7B-Instruct huggingface.co

tencent
ORGANIZATIONS

Other API from tencent

huggingface.co

Total runs: 894.4K
Run Growth: 274.8K
Growth Rate: 29.73%
Updated:August 29 2026
huggingface.co

Total runs: 137.5K
Run Growth: 33.1K
Growth Rate: 25.09%
Updated:October 17 2025
huggingface.co

Total runs: 90.7K
Run Growth: -582.4K
Growth Rate: -642.43%
Updated:September 12 2025
huggingface.co

Total runs: 69.3K
Run Growth: 9.9K
Growth Rate: 15.24%
Updated:October 17 2025
huggingface.co

Total runs: 27.0K
Run Growth: 2.3K
Growth Rate: 7.80%
Updated:May 26 2026
huggingface.co

Total runs: 15.1K
Run Growth: 5.1K
Growth Rate: 35.51%
Updated:October 17 2025
huggingface.co

Total runs: 11.5K
Run Growth: -993
Growth Rate: -8.63%
Updated:July 30 2025
huggingface.co

Total runs: 10.8K
Run Growth: -2.9K
Growth Rate: -27.30%
Updated:May 26 2026
huggingface.co

Total runs: 7.0K
Run Growth: -523
Growth Rate: -7.69%
Updated:January 01 2026
huggingface.co

Total runs: 3.2K
Run Growth: -132
Growth Rate: -3.97%
Updated:May 21 2026
huggingface.co

Total runs: 3.0K
Run Growth: 578
Growth Rate: 19.47%
Updated:September 10 2026
huggingface.co

Total runs: 2.9K
Run Growth: 115
Growth Rate: 3.95%
Updated:February 24 2026
huggingface.co

Total runs: 1.9K
Run Growth: 1.2K
Growth Rate: 60.36%
Updated:March 06 2025
huggingface.co

Total runs: 1.8K
Run Growth: 104
Growth Rate: 5.79%
Updated:September 09 2026
huggingface.co

Total runs: 1.7K
Run Growth: -1.0K
Growth Rate: -51.94%
Updated:December 30 2025
huggingface.co

Total runs: 1.6K
Run Growth: 255
Growth Rate: 17.39%
Updated:October 17 2025
huggingface.co

Total runs: 1.5K
Run Growth: 320
Growth Rate: 21.90%
Updated:October 09 2026
huggingface.co

Total runs: 1.0K
Run Growth: 109
Growth Rate: 9.99%
Updated:June 01 2026
huggingface.co

Total runs: 627
Run Growth: -18
Growth Rate: -2.87%
Updated:October 09 2026
huggingface.co

Total runs: 502
Run Growth: 154
Growth Rate: 34.00%
Updated:March 11 2026
huggingface.co

Total runs: 446
Run Growth: 171
Growth Rate: 41.11%
Updated:December 31 2025
huggingface.co

Total runs: 372
Run Growth: -3.0K
Growth Rate: -804.03%
Updated:September 15 2025
huggingface.co

Total runs: 324
Run Growth: 54
Growth Rate: 14.32%
Updated:March 06 2026