jerryzhu423 commited on
Commit
193ce9e
·
verified ·
1 Parent(s): 83f1051

Add files using upload-large-folder tool

Browse files
.gitattributes CHANGED
@@ -40,3 +40,10 @@ mid_train_scale.jpeg filter=lfs diff=lfs merge=lfs -text
40
  open_performance.png filter=lfs diff=lfs merge=lfs -text
41
  open_performance_white.png filter=lfs diff=lfs merge=lfs -text
42
  test_time_scale.jpeg filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
40
  open_performance.png filter=lfs diff=lfs merge=lfs -text
41
  open_performance_white.png filter=lfs diff=lfs merge=lfs -text
42
  test_time_scale.jpeg filter=lfs diff=lfs merge=lfs -text
43
+ assets/test_time_scale.jpeg filter=lfs diff=lfs merge=lfs -text
44
+ assets/close_performance.png filter=lfs diff=lfs merge=lfs -text
45
+ assets/mid_train_scale.jpeg filter=lfs diff=lfs merge=lfs -text
46
+ assets/open_performance_white.png filter=lfs diff=lfs merge=lfs -text
47
+ assets/main_logo.png filter=lfs diff=lfs merge=lfs -text
48
+ assets/RL_scale.jpeg filter=lfs diff=lfs merge=lfs -text
49
+ assets/open_performance.png filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,79 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!-- # Kimi-Dev -->
2
+
3
+ <div align="center">
4
+ <img src="./assets/main_logo.png" alt="Kimi Logo" width="400" />
5
+ <h2><a href="https://huggingface.co/moonshotai/Kimi-Dev-72B">
6
+ Introducing Kimi-Dev: <br>A Strong and Open-source Coding LLM for Issue Resolution</a></h2>
7
+ </a></h2>
8
+ <b>Kimi-Dev Team<b>
9
+ <br>
10
+ <br>
11
+ </div>
12
+
13
+
14
+ We introduce Kimi-Dev-72B, our new open-source coding LLM for software engineering tasks. Kimi-Dev-72B achieves a new state-of-the-art on SWE-bench Verified among open-source models.
15
+
16
+ - Kimi-Dev-72B achieves 60.4% performance on SWE-bench Verified. It surpasses the runner-up, setting a new state-of-the-art result among open-source models.
17
+
18
+
19
+ - Kimi-Dev-72B is optimized via large-scale reinforcement learning. It autonomously patches real repositories in Docker and gains rewards only when the entire test suite passes. This ensures correct and robust solutions, aligning with real-world development standards.
20
+
21
+
22
+ - Kimi-Dev-72B is available for download and deployment on Hugging Face and GitHub. We welcome developers and researchers to explore its capabilities and contribute to development.
23
+
24
+
25
+ <div align="center">
26
+ <img src="./assets/open_performance_white.png" alt="Kimi Logo" width="600" />
27
+ <p><b>Performance of Open-source Models on SWE-bench Verified.</b></p>
28
+
29
+ </div>
30
+
31
+
32
+
33
+ ## Quick Start
34
+ ```
35
+ from transformers import AutoModelForCausalLM, AutoTokenizer
36
+
37
+ model_name = "moonshotai/Kimi-Dev-72B"
38
+
39
+ model = AutoModelForCausalLM.from_pretrained(
40
+ model_name,
41
+ torch_dtype="auto",
42
+ device_map="auto"
43
+ )
44
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
45
+
46
+ prompt = "Give me a short introduction to large language model."
47
+ messages = [
48
+ {"role": "system", "content": "You are a helpful assistant."},
49
+ {"role": "user", "content": prompt}
50
+ ]
51
+ text = tokenizer.apply_chat_template(
52
+ messages,
53
+ tokenize=False,
54
+ add_generation_prompt=True
55
+ )
56
+ model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
57
+
58
+ generated_ids = model.generate(
59
+ **model_inputs,
60
+ max_new_tokens=512
61
+ )
62
+ generated_ids = [
63
+ output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
64
+ ]
65
+
66
+ response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
67
+
68
+ ```
69
+
70
+ ## Citation
71
+ ```
72
+ @misc{kimi_dev_72b_2025,
73
+ title = {Introducing Kimi-Dev: A Strong and Open-source Coding LLM for Issue Resolution},
74
+ author = {{Kimi-Dev Team}},
75
+ year = {2025},
76
+ month = {June},
77
+ url = {\url{https://www.moonshot.cn/Kimi-Dev}}
78
+ }
79
+ ```
assets/RL_scale.jpeg ADDED

Git LFS Details

  • SHA256: c5508845a01692bd745983695dbbbcb0bea81b859875b94c273dd4401c1ebacd
  • Pointer size: 131 Bytes
  • Size of remote file: 117 kB
assets/close_performance.png ADDED

Git LFS Details

  • SHA256: 528aee89a44d02b314ee75b95d5314b888b53aea092359166d76fe531d4ea6aa
  • Pointer size: 132 Bytes
  • Size of remote file: 1.13 MB
assets/main_logo.png ADDED

Git LFS Details

  • SHA256: 935e7b5b4a0e17356b19103922cf86b83bb9c233dac4d8cf24189544b1dd9cdc
  • Pointer size: 131 Bytes
  • Size of remote file: 288 kB
assets/mid_train_scale.jpeg ADDED

Git LFS Details

  • SHA256: 2525cd7c172ddd333401837993d917d90b7bdfb2b997f70bad25b51de53cc224
  • Pointer size: 131 Bytes
  • Size of remote file: 119 kB
assets/moon.jpg ADDED
assets/moonshot_logo.png ADDED
assets/open_performance.png ADDED

Git LFS Details

  • SHA256: b317241b552471300aa1cadfeaa7594ee6d4cdd78111021cfff3aa093dbe57be
  • Pointer size: 131 Bytes
  • Size of remote file: 199 kB
assets/open_performance_white.png ADDED

Git LFS Details

  • SHA256: f8a3abf1a42087643696d1aa7ae1fc102662701baabbfaf4dc1d06ed24a3b47f
  • Pointer size: 131 Bytes
  • Size of remote file: 228 kB
assets/self_play.png ADDED
assets/test_time_scale.jpeg ADDED

Git LFS Details

  • SHA256: 0cfcf9e511d75dac965a4d66c5c84e9337da5c5e74f4333f6e0592589598287a
  • Pointer size: 131 Bytes
  • Size of remote file: 143 kB