HubCloneHubClone
danaAdd library_name and pipeline_tag metadata4dd5cb1
History2.41 kB
1# draft-sim-mini
2
3**draft-sim-mini** is a sentence similarity model. It was released by **draftline** with 23M parameters.
4
5## Model details
6
7### Model description
8
9- **Developed by:** draftline
10- **Model type:** llama (Sentence Similarity)
11- **Parameters:** 23M
12- **Language(s):** English (primary), multilingual
13- **License:** apache-2.0
14
15### Model sources
16
17- **Repository:** `draftline/draft-sim-mini`
18- **Report:** coming soon
19
20## Uses
21
22### Direct use
23
24draft-sim-mini can be used out of the box for sentence similarity. Typical uses include prototyping, research on generative media, and building applications on top of the released weights.
25
26### Out-of-scope use
27
28The model should not be used to generate content that violates the license, to impersonate real people, or for high-stakes decisions without human review.
29
30## How to use
31
32```python
33from transformers import AutoModelForCausalLM, AutoTokenizer
34
35model_id = "draftline/draft-sim-mini"
36tokenizer = AutoTokenizer.from_pretrained(model_id)
37model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype="auto", device_map="auto")
38
39messages = [{"role": "user", "content": "Give me a short introduction to large language models."}]
40inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)
41outputs = model.generate(inputs, max_new_tokens=512)
42print(tokenizer.decode(outputs[0][inputs.shape[-1]:], skip_special_tokens=True))
43```
44
45## Training data
46
47The model was trained on a mixture of 9T tokens of licensed, publicly available and synthetic data, followed by supervised fine-tuning and preference optimization. Data was filtered for quality, deduplicated and decontaminated against the evaluation sets listed below.
48
49## Evaluation
50
51| Benchmark | draft-sim-mini | Previous release |
52| --- | --- | --- |
53| MMLU-Pro | **55.9** | 47.9 |
54| GPQA Diamond | **56.0** | 50.5 |
55| LiveCodeBench v7 | **80.2** | 73.1 |
56| AIME 2026 | **54.4** | 53.1 |
57| IFEval | **55.4** | 49.5 |
58
59Scores are self-reported by the authors with greedy decoding unless stated otherwise.
60
61## Limitations and bias
62
63Like other models of its class, draft-sim-mini can produce inaccurate or biased outputs. Evaluate it on your own use case before deploying it.
64
65## Citation
66
67```bibtex
68@misc{draftline2026draftsimmini,
69 title = {draft-sim-mini},
70 author = {draftline Team},
71 year = {2026},
72 note = {Model card}
73}
74```