更新 README 文档
Browse files
README.md
CHANGED
|
@@ -11,6 +11,7 @@ tags: ["tokenizer", "code", "python", "gpt2"]
|
|
| 11 |
|
| 12 |
### 模型描述
|
| 13 |
|
|
|
|
| 14 |
这是一个专门针对 Python 代码优化的分词器,通过在大规模 Python 代码数据集上训练得到,能够更好地理解和处理 Python 语法结构。
|
| 15 |
|
| 16 |
- **基础模型:** GPT-2 Tokenizer
|
|
@@ -84,129 +85,4 @@ print(f"Decoded: {decoded}")
|
|
| 84 |
|
| 85 |
## 如何获取帮助
|
| 86 |
|
| 87 |
-
如有问题或建议,请在 GitHub Issues 中提出。
|
| 88 |
-
|
| 89 |
-
## Training Details
|
| 90 |
-
|
| 91 |
-
### Training Data
|
| 92 |
-
|
| 93 |
-
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 94 |
-
|
| 95 |
-
[More Information Needed]
|
| 96 |
-
|
| 97 |
-
### Training Procedure
|
| 98 |
-
|
| 99 |
-
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 100 |
-
|
| 101 |
-
#### Preprocessing [optional]
|
| 102 |
-
|
| 103 |
-
[More Information Needed]
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
#### Training Hyperparameters
|
| 107 |
-
|
| 108 |
-
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 109 |
-
|
| 110 |
-
#### Speeds, Sizes, Times [optional]
|
| 111 |
-
|
| 112 |
-
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 113 |
-
|
| 114 |
-
[More Information Needed]
|
| 115 |
-
|
| 116 |
-
## Evaluation
|
| 117 |
-
|
| 118 |
-
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 119 |
-
|
| 120 |
-
### Testing Data, Factors & Metrics
|
| 121 |
-
|
| 122 |
-
#### Testing Data
|
| 123 |
-
|
| 124 |
-
<!-- This should link to a Dataset Card if possible. -->
|
| 125 |
-
|
| 126 |
-
[More Information Needed]
|
| 127 |
-
|
| 128 |
-
#### Factors
|
| 129 |
-
|
| 130 |
-
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 131 |
-
|
| 132 |
-
[More Information Needed]
|
| 133 |
-
|
| 134 |
-
#### Metrics
|
| 135 |
-
|
| 136 |
-
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 137 |
-
|
| 138 |
-
[More Information Needed]
|
| 139 |
-
|
| 140 |
-
### Results
|
| 141 |
-
|
| 142 |
-
[More Information Needed]
|
| 143 |
-
|
| 144 |
-
#### Summary
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
## Model Examination [optional]
|
| 149 |
-
|
| 150 |
-
<!-- Relevant interpretability work for the model goes here -->
|
| 151 |
-
|
| 152 |
-
[More Information Needed]
|
| 153 |
-
|
| 154 |
-
## Environmental Impact
|
| 155 |
-
|
| 156 |
-
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 157 |
-
|
| 158 |
-
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 159 |
-
|
| 160 |
-
- **Hardware Type:** [More Information Needed]
|
| 161 |
-
- **Hours used:** [More Information Needed]
|
| 162 |
-
- **Cloud Provider:** [More Information Needed]
|
| 163 |
-
- **Compute Region:** [More Information Needed]
|
| 164 |
-
- **Carbon Emitted:** [More Information Needed]
|
| 165 |
-
|
| 166 |
-
## Technical Specifications [optional]
|
| 167 |
-
|
| 168 |
-
### Model Architecture and Objective
|
| 169 |
-
|
| 170 |
-
[More Information Needed]
|
| 171 |
-
|
| 172 |
-
### Compute Infrastructure
|
| 173 |
-
|
| 174 |
-
[More Information Needed]
|
| 175 |
-
|
| 176 |
-
#### Hardware
|
| 177 |
-
|
| 178 |
-
[More Information Needed]
|
| 179 |
-
|
| 180 |
-
#### Software
|
| 181 |
-
|
| 182 |
-
[More Information Needed]
|
| 183 |
-
|
| 184 |
-
## Citation [optional]
|
| 185 |
-
|
| 186 |
-
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 187 |
-
|
| 188 |
-
**BibTeX:**
|
| 189 |
-
|
| 190 |
-
[More Information Needed]
|
| 191 |
-
|
| 192 |
-
**APA:**
|
| 193 |
-
|
| 194 |
-
[More Information Needed]
|
| 195 |
-
|
| 196 |
-
## Glossary [optional]
|
| 197 |
-
|
| 198 |
-
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 199 |
-
|
| 200 |
-
[More Information Needed]
|
| 201 |
-
|
| 202 |
-
## More Information [optional]
|
| 203 |
-
|
| 204 |
-
[More Information Needed]
|
| 205 |
-
|
| 206 |
-
## Model Card Authors [optional]
|
| 207 |
-
|
| 208 |
-
[More Information Needed]
|
| 209 |
-
|
| 210 |
-
## Model Card Contact
|
| 211 |
-
|
| 212 |
-
[More Information Needed]
|
|
|
|
| 11 |
|
| 12 |
### 模型描述
|
| 13 |
|
| 14 |
+
|
| 15 |
这是一个专门针对 Python 代码优化的分词器,通过在大规模 Python 代码数据集上训练得到,能够更好地理解和处理 Python 语法结构。
|
| 16 |
|
| 17 |
- **基础模型:** GPT-2 Tokenizer
|
|
|
|
| 85 |
|
| 86 |
## 如何获取帮助
|
| 87 |
|
| 88 |
+
如有问题或建议,请在 GitHub Issues 中提出。
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|