Add license information - ODC-BY
Browse files
README.md
CHANGED
|
@@ -1,125 +1,67 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
---
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
<
|
| 11 |
-
|
| 12 |
-
</
|
| 13 |
-
<
|
| 14 |
-
|
| 15 |
-
<
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
</
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
<
|
| 26 |
-
|
| 27 |
-
</
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
<
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
</
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
Compared to previous versions, the usage recommendations for MyAwesomeModel have the following changes:
|
| 70 |
-
|
| 71 |
-
1. System prompt is supported.
|
| 72 |
-
2. It is not required to add special tokens at the beginning of the output to force the model into a specific thinking pattern.
|
| 73 |
-
|
| 74 |
-
The model architecture of MyAwesomeModel-Small is identical to its base model, but it shares the same tokenizer configuration as the main MyAwesomeModel. This model can be run in the same manner as its base model.
|
| 75 |
-
|
| 76 |
-
### System Prompt
|
| 77 |
-
We recommend using the following system prompt with a specific date.
|
| 78 |
-
```
|
| 79 |
-
You are MyAwesomeModel, a helpful AI assistant.
|
| 80 |
-
Today is {current date}.
|
| 81 |
-
```
|
| 82 |
-
For example,
|
| 83 |
-
```
|
| 84 |
-
You are MyAwesomeModel, a helpful AI assistant.
|
| 85 |
-
Today is May 28, 2025, Monday.
|
| 86 |
-
```
|
| 87 |
-
### Temperature
|
| 88 |
-
We recommend setting the temperature parameter $T_{model}$ to 0.6.
|
| 89 |
-
|
| 90 |
-
### Prompts for File Uploading and Web Search
|
| 91 |
-
For file uploading, please follow the template to create prompts, where {file_name}, {file_content} and {question} are arguments.
|
| 92 |
-
```
|
| 93 |
-
file_template = \
|
| 94 |
-
"""[file name]: {file_name}
|
| 95 |
-
[file content begin]
|
| 96 |
-
{file_content}
|
| 97 |
-
[file content end]
|
| 98 |
-
{question}"""
|
| 99 |
-
```
|
| 100 |
-
For web search enhanced generation, we recommend the following prompt template where {search_results}, {cur_date}, and {question} are arguments.
|
| 101 |
-
```
|
| 102 |
-
search_answer_en_template = \
|
| 103 |
-
'''# The following contents are the search results related to the user's message:
|
| 104 |
-
{search_results}
|
| 105 |
-
In the search results I provide to you, each result is formatted as [webpage X begin]...[webpage X end], where X represents the numerical index of each article. Please cite the context at the end of the relevant sentence when appropriate. Use the citation format [citation:X] in the corresponding part of your answer. If a sentence is derived from multiple contexts, list all relevant citation numbers, such as [citation:3][citation:5]. Be sure not to cluster all citations at the end; instead, include them in the corresponding parts of the answer.
|
| 106 |
-
When responding, please keep the following points in mind:
|
| 107 |
-
- Today is {cur_date}.
|
| 108 |
-
- Not all content in the search results is closely related to the user's question. You need to evaluate and filter the search results based on the question.
|
| 109 |
-
- For listing-type questions (e.g., listing all flight information), try to limit the answer to 10 key points and inform the user that they can refer to the search sources for complete information. Prioritize providing the most complete and relevant items in the list. Avoid mentioning content not provided in the search results unless necessary.
|
| 110 |
-
- For creative tasks (e.g., writing an essay), ensure that references are cited within the body of the text, such as [citation:3][citation:5], rather than only at the end of the text. You need to interpret and summarize the user's requirements, choose an appropriate format, fully utilize the search results, extract key information, and generate an answer that is insightful, creative, and professional. Extend the length of your response as much as possible, addressing each point in detail and from multiple perspectives, ensuring the content is rich and thorough.
|
| 111 |
-
- If the response is lengthy, structure it well and summarize it in paragraphs. If a point-by-point format is needed, try to limit it to 5 points and merge related content.
|
| 112 |
-
- For objective Q&A, if the answer is very brief, you may add one or two related sentences to enrich the content.
|
| 113 |
-
- Choose an appropriate and visually appealing format for your response based on the user's requirements and the content of the answer, ensuring strong readability.
|
| 114 |
-
- Your answer should synthesize information from multiple relevant webpages and avoid repeatedly citing the same webpage.
|
| 115 |
-
- Unless the user requests otherwise, your response should be in the same language as the user's question.
|
| 116 |
-
# The user's message is:
|
| 117 |
-
{question}'''
|
| 118 |
-
```
|
| 119 |
-
|
| 120 |
-
## 5. License
|
| 121 |
-
This code repository is licensed under the [MIT License](LICENSE). The use of MyAwesomeModel models is also subject to the [MIT License](LICENSE). The model series supports commercial use and distillation.
|
| 122 |
-
|
| 123 |
-
## 6. Contact
|
| 124 |
-
If you have any questions, please raise an issue on our GitHub repository or contact us at contact@MyAwesomeModel.ai.
|
| 125 |
-
```
|
|
|
|
| 1 |
+
# Annoy: This should be a paper Title
|
| 2 |
+
|
| 3 |
+
<p align="left">
|
| 4 |
+
π <a href="https://huggingface.co/papers/xxxx.xxxxx" target="_blank">Paper</a>    |    π <a href="https://specx.github.io/" target="_blank">Project Page</a>    |    πΎ <a href="https://huggingface.co/collections/blmq/specx-67a978e28fd926b56a4f55a2" target="_blank">Released Resources</a>    |    π¦ <a href="https://github.com/Joe-Liu-testuser/Annoy" target="_blank">Repo</a>
|
| 5 |
+
|
| 6 |
+
This is the resource page of the our resources collection on Huggingface, we highlight your currect position with a blue block.
|
| 7 |
+
|
| 8 |
+
**Dataset**
|
| 9 |
+
<table>
|
| 10 |
+
<tr>
|
| 11 |
+
<th>Dataset</th>
|
| 12 |
+
<th>Link</th>
|
| 13 |
+
</tr>
|
| 14 |
+
<tr>
|
| 15 |
+
<td>Annoy-PythonEdu-Rs</td>
|
| 16 |
+
<td style="background-color: #e6f3ff; text-align: center; vertical-align: middle;">
|
| 17 |
+
<a href="https://huggingface.co/datasets/blmq/Annoy-PyEdu-Rs">π€</a>
|
| 18 |
+
</td>
|
| 19 |
+
</tr>
|
| 20 |
+
</table>
|
| 21 |
+
Please also check the raw data after our processing if you are interested: [blmq/Annoy-PyEdu-Rs-Raw](https://huggingface.co/datasets/blmq/Annoy-PyEdu-Rs-Raw).
|
| 22 |
+
|
| 23 |
+
**Models**
|
| 24 |
+
<table>
|
| 25 |
+
<tr>
|
| 26 |
+
<th rowspan="2">Base Model / Training</th>
|
| 27 |
+
<th colspan="2">Annoy</th>
|
| 28 |
+
<th colspan="2">Annoy++</th>
|
| 29 |
+
</tr>
|
| 30 |
+
<tr>
|
| 31 |
+
<th>Stage 1</th>
|
| 32 |
+
<th>Stage 2</th>
|
| 33 |
+
<th>Stage 1</th>
|
| 34 |
+
<th>Stage 2</th>
|
| 35 |
+
</tr>
|
| 36 |
+
<tr>
|
| 37 |
+
<td>Qwen 2.5 7B Coder</td>
|
| 38 |
+
<td style="text-align: center; vertical-align: middle;"><a href="https://huggingface.co/blmq/qwen2.5-7b-coder_spec_stage1">π€</a></td>
|
| 39 |
+
<td style="text-align: center; vertical-align: middle;"><a href="https://huggingface.co/blmq/qwen2.5-7b-coder_spec">π€</a></td>
|
| 40 |
+
<td style="text-align: center; vertical-align: middle;"><a href="https://huggingface.co/blmq/qwen2.5-7b-coder_spec_pp_stage1">π€</a></td>
|
| 41 |
+
<td style="text-align: center; vertical-align: middle;"><a href="https://huggingface.co/blmq/qwen2.5-7b-coder_spec_pp">π€</a></td>
|
| 42 |
+
</tr>
|
| 43 |
+
<tr>
|
| 44 |
+
<td>LLaMA 3.1 8B</td>
|
| 45 |
+
<td style="text-align: center; vertical-align: middle;"><a href="https://huggingface.co/blmq/llama3.1-8b_spec_stage1">π€</a></td>
|
| 46 |
+
<td style="text-align: center; vertical-align: middle;"><a href="https://huggingface.co/blmq/llama3.1-8b_spec">π€</a></td>
|
| 47 |
+
<td style="text-align: center; vertical-align: middle;"><a href="https://huggingface.co/blmq/llama3.1-8b_spec_pp_stage1">π€</a></td>
|
| 48 |
+
<td style="text-align: center; vertical-align: middle;"><a href="https://huggingface.co/blmq/llama3.1-8b_spec_pp">π€</a></td>
|
| 49 |
+
</tr>
|
| 50 |
+
<tr>
|
| 51 |
+
<td>DeepSeek v2 Lite Coder</td>
|
| 52 |
+
<td style="text-align: center; vertical-align: middle;"><a href="https://huggingface.co/blmq/dsv2-lite-coder_spec_stage1">π€</a></td>
|
| 53 |
+
<td style="text-align: center; vertical-align: middle;"><a href="https://huggingface.co/blmq/dsv2-lite-coder_spec">π€</a></td>
|
| 54 |
+
<td style="text-align: center; vertical-align: middle;"><a href="https://huggingface.co/blmq/dsv2-lite-coder_spec_pp_stage1">π€</a></td>
|
| 55 |
+
<td style="text-align: center; vertical-align: middle;"><a href="https://huggingface.co/blmq/dsv2-lite-coder_spec_pp">π€</a></td>
|
| 56 |
+
</tr>
|
| 57 |
+
</table>
|
| 58 |
+
|
| 59 |
+
**Introduction**
|
| 60 |
+
|
| 61 |
+
While having full executable code theoretically allows us to generate reliable execution trajectories as responses, two challenges arise: 1) Obtaining a deterministic reverse function for input prediction is impractical; 2) Automatically constructed trajectories are constrained by pre-designed templates and lack the expressiveness and generalizability of free-form natural language reasoning. Thus, we adopt a fully LLM-based approach for synthesizing all the desired responses using DeepSeek-V2.5, as it has top-tier performance but extremely low cost compared to other advanced LLMs.
|
| 62 |
+
|
| 63 |
+
*Due to our collaborators' compliance requirements, we only release the PythonEdu-Rs subset (this page) of full dataset.
|
| 64 |
+
|
| 65 |
+
**License**
|
| 66 |
+
|
| 67 |
+
The license for this dataset is ODC-BY (Open Data Commons Open Database License v1.0 with Attribution).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|