Views
No views yet
Qwen/Qwen3-Embedding-0.6B, prepared for the CCIR LRAT competition.Given a web search query, retrieve relevant passages that answer the queryreweight_rate values with cross-device
negatives. The checkpoint contains merged full model parameters and does not
require a LoRA or adapter at inference time.1import torch
2import torch.nn.functional as F
3from transformers import AutoModel, AutoTokenizer
4
5model_id = "Seraphic663/lrat-qwen3-0.6b-1epoch-20260716"
6tokenizer = AutoTokenizer.from_pretrained(model_id, padding_side="left")
7model = AutoModel.from_pretrained(
8 model_id,
9 torch_dtype=torch.bfloat16,
10).cuda().eval()
11
12instruction = "Given a web search query, retrieve relevant passages that answer the query"
13texts = [f"Instruct: {instruction}\nQuery:example query", "example passage"]
14batch = tokenizer(texts, padding=True, truncation=True, max_length=512, return_tensors="pt").to("cuda")
15
16with torch.inference_mode():
17 output = model(**batch).last_hidden_state
18 embeddings = F.normalize(output[:, -1].float(), p=2, dim=1)1model.safetensors
22,383,139,480 bytes
3SHA-256 b25b3b08a3199a788ea5e8bc005ee20ab831ada36cb4eccd7ba915e0d6e02501