Upload 35 files
Browse files- .gitattributes +2 -0
- README.md +239 -3
- modeling_deepseek.py +1849 -0
- moe_one_file_ref.py +542 -0
- national_May2021_dl.csv +0 -0
- nem-onet-to-soc-crosswalk.xlsx +3 -0
- occupation_2023_final.xlsx +3 -0
- occupations_onet_basic_skills.csv +874 -0
- occupations_onet_bls_matched.csv +0 -0
- occupations_onet_work_contexts.csv +874 -0
- occupations_projections_processed.csv +1050 -0
- one_file_ref.py +367 -0
- random_insertion_in_word.jsonl.gz +3 -0
- reversed_words.jsonl.gz +3 -0
- sample_data.txt +140 -0
- sample_data_1.txt +0 -0
- sample_data_10.txt +0 -0
- sample_data_2.txt +0 -0
- sample_data_3.txt +0 -0
- sample_data_4.txt +0 -0
- sample_data_5.txt +0 -0
- sample_data_6.txt +0 -0
- sample_data_7.txt +0 -0
- sample_data_8.txt +0 -0
- sample_data_9.txt +0 -0
- single_digit_three_ops.jsonl +0 -0
- six_digit_addition.jsonl +0 -0
- six_digit_subtraction.jsonl +0 -0
- sum_of_digits.jsonl +0 -0
- three_digit_addition.jsonl +0 -0
- three_digit_subtraction.jsonl +0 -0
- tokenizer.json +0 -0
- tokenizer_config.json +35 -0
- two_digit_addition.jsonl +0 -0
- two_digit_multiplication.jsonl +0 -0
- two_digit_subtraction.jsonl +0 -0
.gitattributes
CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
nem-onet-to-soc-crosswalk.xlsx filter=lfs diff=lfs merge=lfs -text
|
37 |
+
occupation_2023_final.xlsx filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,3 +1,239 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
library_name: transformers
|
4 |
+
---
|
5 |
+
# DeepSeek-R1
|
6 |
+
<!-- markdownlint-disable first-line-h1 -->
|
7 |
+
<!-- markdownlint-disable html -->
|
8 |
+
<!-- markdownlint-disable no-duplicate-header -->
|
9 |
+
|
10 |
+
<div align="center">
|
11 |
+
<img src="https://github.com/deepseek-ai/DeepSeek-V2/blob/main/figures/logo.svg?raw=true" width="60%" alt="DeepSeek-V3" />
|
12 |
+
</div>
|
13 |
+
<hr>
|
14 |
+
<div align="center" style="line-height: 1;">
|
15 |
+
<a href="https://www.deepseek.com/" target="_blank" style="margin: 2px;">
|
16 |
+
<img alt="Homepage" src="https://github.com/deepseek-ai/DeepSeek-V2/blob/main/figures/badge.svg?raw=true" style="display: inline-block; vertical-align: middle;"/>
|
17 |
+
</a>
|
18 |
+
<a href="https://chat.deepseek.com/" target="_blank" style="margin: 2px;">
|
19 |
+
<img alt="Chat" src="https://img.shields.io/badge/🤖%20Chat-DeepSeek%20R1-536af5?color=536af5&logoColor=white" style="display: inline-block; vertical-align: middle;"/>
|
20 |
+
</a>
|
21 |
+
<a href="https://huggingface.co/deepseek-ai" target="_blank" style="margin: 2px;">
|
22 |
+
<img alt="Hugging Face" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-DeepSeek%20AI-ffc107?color=ffc107&logoColor=white" style="display: inline-block; vertical-align: middle;"/>
|
23 |
+
</a>
|
24 |
+
</div>
|
25 |
+
|
26 |
+
<div align="center" style="line-height: 1;">
|
27 |
+
<a href="https://discord.gg/Tc7c45Zzu5" target="_blank" style="margin: 2px;">
|
28 |
+
<img alt="Discord" src="https://img.shields.io/badge/Discord-DeepSeek%20AI-7289da?logo=discord&logoColor=white&color=7289da" style="display: inline-block; vertical-align: middle;"/>
|
29 |
+
</a>
|
30 |
+
<a href="https://github.com/deepseek-ai/DeepSeek-V2/blob/main/figures/qr.jpeg?raw=true" target="_blank" style="margin: 2px;">
|
31 |
+
<img alt="Wechat" src="https://img.shields.io/badge/WeChat-DeepSeek%20AI-brightgreen?logo=wechat&logoColor=white" style="display: inline-block; vertical-align: middle;"/>
|
32 |
+
</a>
|
33 |
+
<a href="https://twitter.com/deepseek_ai" target="_blank" style="margin: 2px;">
|
34 |
+
<img alt="Twitter Follow" src="https://img.shields.io/badge/Twitter-deepseek_ai-white?logo=x&logoColor=white" style="display: inline-block; vertical-align: middle;"/>
|
35 |
+
</a>
|
36 |
+
</div>
|
37 |
+
|
38 |
+
<div align="center" style="line-height: 1;">
|
39 |
+
<a href="https://github.com/deepseek-ai/DeepSeek-R1/blob/main/LICENSE" style="margin: 2px;">
|
40 |
+
<img alt="License" src="https://img.shields.io/badge/License-MIT-f5de53?&color=f5de53" style="display: inline-block; vertical-align: middle;"/>
|
41 |
+
</a>
|
42 |
+
</div>
|
43 |
+
|
44 |
+
|
45 |
+
<p align="center">
|
46 |
+
<a href="https://github.com/deepseek-ai/DeepSeek-R1/blob/main/DeepSeek_R1.pdf"><b>Paper Link</b>👁️</a>
|
47 |
+
</p>
|
48 |
+
|
49 |
+
|
50 |
+
## 1. Introduction
|
51 |
+
|
52 |
+
We introduce our first-generation reasoning models, DeepSeek-R1-Zero and DeepSeek-R1.
|
53 |
+
DeepSeek-R1-Zero, a model trained via large-scale reinforcement learning (RL) without supervised fine-tuning (SFT) as a preliminary step, demonstrated remarkable performance on reasoning.
|
54 |
+
With RL, DeepSeek-R1-Zero naturally emerged with numerous powerful and interesting reasoning behaviors.
|
55 |
+
However, DeepSeek-R1-Zero encounters challenges such as endless repetition, poor readability, and language mixing. To address these issues and further enhance reasoning performance,
|
56 |
+
we introduce DeepSeek-R1, which incorporates cold-start data before RL.
|
57 |
+
DeepSeek-R1 achieves performance comparable to OpenAI-o1 across math, code, and reasoning tasks.
|
58 |
+
To support the research community, we have open-sourced DeepSeek-R1-Zero, DeepSeek-R1, and six dense models distilled from DeepSeek-R1 based on Llama and Qwen. DeepSeek-R1-Distill-Qwen-32B outperforms OpenAI-o1-mini across various benchmarks, achieving new state-of-the-art results for dense models.
|
59 |
+
|
60 |
+
**NOTE: Before running DeepSeek-R1 series models locally, we kindly recommend reviewing the [Usage Recommendation](#usage-recommendations) section.**
|
61 |
+
|
62 |
+
<p align="center">
|
63 |
+
<img width="80%" src="figures/benchmark.jpg">
|
64 |
+
</p>
|
65 |
+
|
66 |
+
## 2. Model Summary
|
67 |
+
|
68 |
+
---
|
69 |
+
|
70 |
+
**Post-Training: Large-Scale Reinforcement Learning on the Base Model**
|
71 |
+
|
72 |
+
- We directly apply reinforcement learning (RL) to the base model without relying on supervised fine-tuning (SFT) as a preliminary step. This approach allows the model to explore chain-of-thought (CoT) for solving complex problems, resulting in the development of DeepSeek-R1-Zero. DeepSeek-R1-Zero demonstrates capabilities such as self-verification, reflection, and generating long CoTs, marking a significant milestone for the research community. Notably, it is the first open research to validate that reasoning capabilities of LLMs can be incentivized purely through RL, without the need for SFT. This breakthrough paves the way for future advancements in this area.
|
73 |
+
|
74 |
+
- We introduce our pipeline to develop DeepSeek-R1. The pipeline incorporates two RL stages aimed at discovering improved reasoning patterns and aligning with human preferences, as well as two SFT stages that serve as the seed for the model's reasoning and non-reasoning capabilities.
|
75 |
+
We believe the pipeline will benefit the industry by creating better models.
|
76 |
+
|
77 |
+
---
|
78 |
+
|
79 |
+
**Distillation: Smaller Models Can Be Powerful Too**
|
80 |
+
|
81 |
+
- We demonstrate that the reasoning patterns of larger models can be distilled into smaller models, resulting in better performance compared to the reasoning patterns discovered through RL on small models. The open source DeepSeek-R1, as well as its API, will benefit the research community to distill better smaller models in the future.
|
82 |
+
- Using the reasoning data generated by DeepSeek-R1, we fine-tuned several dense models that are widely used in the research community. The evaluation results demonstrate that the distilled smaller dense models perform exceptionally well on benchmarks. We open-source distilled 1.5B, 7B, 8B, 14B, 32B, and 70B checkpoints based on Qwen2.5 and Llama3 series to the community.
|
83 |
+
|
84 |
+
## 3. Model Downloads
|
85 |
+
|
86 |
+
### DeepSeek-R1 Models
|
87 |
+
|
88 |
+
<div align="center">
|
89 |
+
|
90 |
+
| **Model** | **#Total Params** | **#Activated Params** | **Context Length** | **Download** |
|
91 |
+
| :------------: | :------------: | :------------: | :------------: | :------------: |
|
92 |
+
| DeepSeek-R1-Zero | 671B | 37B | 128K | [🤗 HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-R1-Zero) |
|
93 |
+
| DeepSeek-R1 | 671B | 37B | 128K | [🤗 HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-R1) |
|
94 |
+
|
95 |
+
</div>
|
96 |
+
|
97 |
+
DeepSeek-R1-Zero & DeepSeek-R1 are trained based on DeepSeek-V3-Base.
|
98 |
+
For more details regarding the model architecture, please refer to [DeepSeek-V3](https://github.com/deepseek-ai/DeepSeek-V3) repository.
|
99 |
+
|
100 |
+
### DeepSeek-R1-Distill Models
|
101 |
+
|
102 |
+
<div align="center">
|
103 |
+
|
104 |
+
| **Model** | **Base Model** | **Download** |
|
105 |
+
| :------------: | :------------: | :------------: |
|
106 |
+
| DeepSeek-R1-Distill-Qwen-1.5B | [Qwen2.5-Math-1.5B](https://huggingface.co/Qwen/Qwen2.5-Math-1.5B) | [🤗 HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B) |
|
107 |
+
| DeepSeek-R1-Distill-Qwen-7B | [Qwen2.5-Math-7B](https://huggingface.co/Qwen/Qwen2.5-Math-7B) | [🤗 HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-7B) |
|
108 |
+
| DeepSeek-R1-Distill-Llama-8B | [Llama-3.1-8B](https://huggingface.co/meta-llama/Llama-3.1-8B) | [🤗 HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Llama-8B) |
|
109 |
+
| DeepSeek-R1-Distill-Qwen-14B | [Qwen2.5-14B](https://huggingface.co/Qwen/Qwen2.5-14B) | [🤗 HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-14B) |
|
110 |
+
|DeepSeek-R1-Distill-Qwen-32B | [Qwen2.5-32B](https://huggingface.co/Qwen/Qwen2.5-32B) | [🤗 HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-32B) |
|
111 |
+
| DeepSeek-R1-Distill-Llama-70B | [Llama-3.3-70B-Instruct](https://huggingface.co/meta-llama/Llama-3.3-70B-Instruct) | [🤗 HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Llama-70B) |
|
112 |
+
|
113 |
+
</div>
|
114 |
+
|
115 |
+
DeepSeek-R1-Distill models are fine-tuned based on open-source models, using samples generated by DeepSeek-R1.
|
116 |
+
We slightly change their configs and tokenizers. Please use our setting to run these models.
|
117 |
+
|
118 |
+
## 4. Evaluation Results
|
119 |
+
|
120 |
+
### DeepSeek-R1-Evaluation
|
121 |
+
For all our models, the maximum generation length is set to 32,768 tokens. For benchmarks requiring sampling, we use a temperature of $0.6$, a top-p value of $0.95$, and generate 64 responses per query to estimate pass@1.
|
122 |
+
<div align="center">
|
123 |
+
|
124 |
+
|
125 |
+
| Category | Benchmark (Metric) | Claude-3.5-Sonnet-1022 | GPT-4o 0513 | DeepSeek V3 | OpenAI o1-mini | OpenAI o1-1217 | DeepSeek R1 |
|
126 |
+
|----------|-------------------|----------------------|------------|--------------|----------------|------------|--------------|
|
127 |
+
| | Architecture | - | - | MoE | - | - | MoE |
|
128 |
+
| | # Activated Params | - | - | 37B | - | - | 37B |
|
129 |
+
| | # Total Params | - | - | 671B | - | - | 671B |
|
130 |
+
| English | MMLU (Pass@1) | 88.3 | 87.2 | 88.5 | 85.2 | **91.8** | 90.8 |
|
131 |
+
| | MMLU-Redux (EM) | 88.9 | 88.0 | 89.1 | 86.7 | - | **92.9** |
|
132 |
+
| | MMLU-Pro (EM) | 78.0 | 72.6 | 75.9 | 80.3 | - | **84.0** |
|
133 |
+
| | DROP (3-shot F1) | 88.3 | 83.7 | 91.6 | 83.9 | 90.2 | **92.2** |
|
134 |
+
| | IF-Eval (Prompt Strict) | **86.5** | 84.3 | 86.1 | 84.8 | - | 83.3 |
|
135 |
+
| | GPQA-Diamond (Pass@1) | 65.0 | 49.9 | 59.1 | 60.0 | **75.7** | 71.5 |
|
136 |
+
| | SimpleQA (Correct) | 28.4 | 38.2 | 24.9 | 7.0 | **47.0** | 30.1 |
|
137 |
+
| | FRAMES (Acc.) | 72.5 | 80.5 | 73.3 | 76.9 | - | **82.5** |
|
138 |
+
| | AlpacaEval2.0 (LC-winrate) | 52.0 | 51.1 | 70.0 | 57.8 | - | **87.6** |
|
139 |
+
| | ArenaHard (GPT-4-1106) | 85.2 | 80.4 | 85.5 | 92.0 | - | **92.3** |
|
140 |
+
| Code | LiveCodeBench (Pass@1-COT) | 33.8 | 34.2 | - | 53.8 | 63.4 | **65.9** |
|
141 |
+
| | Codeforces (Percentile) | 20.3 | 23.6 | 58.7 | 93.4 | **96.6** | 96.3 |
|
142 |
+
| | Codeforces (Rating) | 717 | 759 | 1134 | 1820 | **2061** | 2029 |
|
143 |
+
| | SWE Verified (Resolved) | **50.8** | 38.8 | 42.0 | 41.6 | 48.9 | 49.2 |
|
144 |
+
| | Aider-Polyglot (Acc.) | 45.3 | 16.0 | 49.6 | 32.9 | **61.7** | 53.3 |
|
145 |
+
| Math | AIME 2024 (Pass@1) | 16.0 | 9.3 | 39.2 | 63.6 | 79.2 | **79.8** |
|
146 |
+
| | MATH-500 (Pass@1) | 78.3 | 74.6 | 90.2 | 90.0 | 96.4 | **97.3** |
|
147 |
+
| | CNMO 2024 (Pass@1) | 13.1 | 10.8 | 43.2 | 67.6 | - | **78.8** |
|
148 |
+
| Chinese | CLUEWSC (EM) | 85.4 | 87.9 | 90.9 | 89.9 | - | **92.8** |
|
149 |
+
| | C-Eval (EM) | 76.7 | 76.0 | 86.5 | 68.9 | - | **91.8** |
|
150 |
+
| | C-SimpleQA (Correct) | 55.4 | 58.7 | **68.0** | 40.3 | - | 63.7 |
|
151 |
+
|
152 |
+
</div>
|
153 |
+
|
154 |
+
|
155 |
+
### Distilled Model Evaluation
|
156 |
+
|
157 |
+
|
158 |
+
<div align="center">
|
159 |
+
|
160 |
+
| Model | AIME 2024 pass@1 | AIME 2024 cons@64 | MATH-500 pass@1 | GPQA Diamond pass@1 | LiveCodeBench pass@1 | CodeForces rating |
|
161 |
+
|------------------------------------------|------------------|-------------------|-----------------|----------------------|----------------------|-------------------|
|
162 |
+
| GPT-4o-0513 | 9.3 | 13.4 | 74.6 | 49.9 | 32.9 | 759 |
|
163 |
+
| Claude-3.5-Sonnet-1022 | 16.0 | 26.7 | 78.3 | 65.0 | 38.9 | 717 |
|
164 |
+
| o1-mini | 63.6 | 80.0 | 90.0 | 60.0 | 53.8 | **1820** |
|
165 |
+
| QwQ-32B-Preview | 44.0 | 60.0 | 90.6 | 54.5 | 41.9 | 1316 |
|
166 |
+
| DeepSeek-R1-Distill-Qwen-1.5B | 28.9 | 52.7 | 83.9 | 33.8 | 16.9 | 954 |
|
167 |
+
| DeepSeek-R1-Distill-Qwen-7B | 55.5 | 83.3 | 92.8 | 49.1 | 37.6 | 1189 |
|
168 |
+
| DeepSeek-R1-Distill-Qwen-14B | 69.7 | 80.0 | 93.9 | 59.1 | 53.1 | 1481 |
|
169 |
+
| DeepSeek-R1-Distill-Qwen-32B | **72.6** | 83.3 | 94.3 | 62.1 | 57.2 | 1691 |
|
170 |
+
| DeepSeek-R1-Distill-Llama-8B | 50.4 | 80.0 | 89.1 | 49.0 | 39.6 | 1205 |
|
171 |
+
| DeepSeek-R1-Distill-Llama-70B | 70.0 | **86.7** | **94.5** | **65.2** | **57.5** | 1633 |
|
172 |
+
|
173 |
+
</div>
|
174 |
+
|
175 |
+
|
176 |
+
## 5. Chat Website & API Platform
|
177 |
+
You can chat with DeepSeek-R1 on DeepSeek's official website: [chat.deepseek.com](https://chat.deepseek.com), and switch on the button "DeepThink"
|
178 |
+
|
179 |
+
We also provide OpenAI-Compatible API at DeepSeek Platform: [platform.deepseek.com](https://platform.deepseek.com/)
|
180 |
+
|
181 |
+
## 6. How to Run Locally
|
182 |
+
|
183 |
+
### DeepSeek-R1 Models
|
184 |
+
|
185 |
+
Please visit [DeepSeek-V3](https://github.com/deepseek-ai/DeepSeek-V3) repo for more information about running DeepSeek-R1 locally.
|
186 |
+
|
187 |
+
**NOTE: Hugging Face's Transformers has not been directly supported yet.**
|
188 |
+
|
189 |
+
### DeepSeek-R1-Distill Models
|
190 |
+
|
191 |
+
DeepSeek-R1-Distill models can be utilized in the same manner as Qwen or Llama models.
|
192 |
+
|
193 |
+
For instance, you can easily start a service using [vLLM](https://github.com/vllm-project/vllm):
|
194 |
+
|
195 |
+
```shell
|
196 |
+
vllm serve deepseek-ai/DeepSeek-R1-Distill-Qwen-32B --tensor-parallel-size 2 --max-model-len 32768 --enforce-eager
|
197 |
+
```
|
198 |
+
|
199 |
+
You can also easily start a service using [SGLang](https://github.com/sgl-project/sglang)
|
200 |
+
|
201 |
+
```bash
|
202 |
+
python3 -m sglang.launch_server --model deepseek-ai/DeepSeek-R1-Distill-Qwen-32B --trust-remote-code --tp 2
|
203 |
+
```
|
204 |
+
|
205 |
+
### Usage Recommendations
|
206 |
+
|
207 |
+
**We recommend adhering to the following configurations when utilizing the DeepSeek-R1 series models, including benchmarking, to achieve the expected performance:**
|
208 |
+
|
209 |
+
1. Set the temperature within the range of 0.5-0.7 (0.6 is recommended) to prevent endless repetitions or incoherent outputs.
|
210 |
+
2. **Avoid adding a system prompt; all instructions should be contained within the user prompt.**
|
211 |
+
3. For mathematical problems, it is advisable to include a directive in your prompt such as: "Please reason step by step, and put your final answer within \boxed{}."
|
212 |
+
4. When evaluating model performance, it is recommended to conduct multiple tests and average the results.
|
213 |
+
|
214 |
+
Additionally, we have observed that the DeepSeek-R1 series models tend to bypass thinking pattern (i.e., outputting "\<think\>\n\n\</think\>") when responding to certain queries, which can adversely affect the model's performance.
|
215 |
+
**To ensure that the model engages in thorough reasoning, we recommend enforcing the model to initiate its response with "\<think\>\n" at the beginning of every output.**
|
216 |
+
|
217 |
+
## 7. License
|
218 |
+
This code repository and the model weights are licensed under the [MIT License](https://github.com/deepseek-ai/DeepSeek-R1/blob/main/LICENSE).
|
219 |
+
DeepSeek-R1 series support commercial use, allow for any modifications and derivative works, including, but not limited to, distillation for training other LLMs. Please note that:
|
220 |
+
- DeepSeek-R1-Distill-Qwen-1.5B, DeepSeek-R1-Distill-Qwen-7B, DeepSeek-R1-Distill-Qwen-14B and DeepSeek-R1-Distill-Qwen-32B are derived from [Qwen-2.5 series](https://github.com/QwenLM/Qwen2.5), which are originally licensed under [Apache 2.0 License](https://huggingface.co/Qwen/Qwen2.5-1.5B/blob/main/LICENSE), and now finetuned with 800k samples curated with DeepSeek-R1.
|
221 |
+
- DeepSeek-R1-Distill-Llama-8B is derived from Llama3.1-8B-Base and is originally licensed under [llama3.1 license](https://huggingface.co/meta-llama/Llama-3.1-8B/blob/main/LICENSE).
|
222 |
+
- DeepSeek-R1-Distill-Llama-70B is derived from Llama3.3-70B-Instruct and is originally licensed under [llama3.3 license](https://huggingface.co/meta-llama/Llama-3.3-70B-Instruct/blob/main/LICENSE).
|
223 |
+
|
224 |
+
## 8. Citation
|
225 |
+
```
|
226 |
+
@misc{deepseekai2025deepseekr1incentivizingreasoningcapability,
|
227 |
+
title={DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning},
|
228 |
+
author={DeepSeek-AI and Daya Guo and Dejian Yang and Haowei Zhang and Junxiao Song and Ruoyu Zhang and Runxin Xu and Qihao Zhu and Shirong Ma and Peiyi Wang and Xiao Bi and Xiaokang Zhang and Xingkai Yu and Yu Wu and Z. F. Wu and Zhibin Gou and Zhihong Shao and Zhuoshu Li and Ziyi Gao and Aixin Liu and Bing Xue and Bingxuan Wang and Bochao Wu and Bei Feng and Chengda Lu and Chenggang Zhao and Chengqi Deng and Chenyu Zhang and Chong Ruan and Damai Dai and Deli Chen and Dongjie Ji and Erhang Li and Fangyun Lin and Fucong Dai and Fuli Luo and Guangbo Hao and Guanting Chen and Guowei Li and H. Zhang and Han Bao and Hanwei Xu and Haocheng Wang and Honghui Ding and Huajian Xin and Huazuo Gao and Hui Qu and Hui Li and Jianzhong Guo and Jiashi Li and Jiawei Wang and Jingchang Chen and Jingyang Yuan and Junjie Qiu and Junlong Li and J. L. Cai and Jiaqi Ni and Jian Liang and Jin Chen and Kai Dong and Kai Hu and Kaige Gao and Kang Guan and Kexin Huang and Kuai Yu and Lean Wang and Lecong Zhang and Liang Zhao and Litong Wang and Liyue Zhang and Lei Xu and Leyi Xia and Mingchuan Zhang and Minghua Zhang and Minghui Tang and Meng Li and Miaojun Wang and Mingming Li and Ning Tian and Panpan Huang and Peng Zhang and Qiancheng Wang and Qinyu Chen and Qiushi Du and Ruiqi Ge and Ruisong Zhang and Ruizhe Pan and Runji Wang and R. J. Chen and R. L. Jin and Ruyi Chen and Shanghao Lu and Shangyan Zhou and Shanhuang Chen and Shengfeng Ye and Shiyu Wang and Shuiping Yu and Shunfeng Zhou and Shuting Pan and S. S. Li and Shuang Zhou and Shaoqing Wu and Shengfeng Ye and Tao Yun and Tian Pei and Tianyu Sun and T. Wang and Wangding Zeng and Wanjia Zhao and Wen Liu and Wenfeng Liang and Wenjun Gao and Wenqin Yu and Wentao Zhang and W. L. Xiao and Wei An and Xiaodong Liu and Xiaohan Wang and Xiaokang Chen and Xiaotao Nie and Xin Cheng and Xin Liu and Xin Xie and Xingchao Liu and Xinyu Yang and Xinyuan Li and Xuecheng Su and Xuheng Lin and X. Q. Li and Xiangyue Jin and Xiaojin Shen and Xiaosha Chen and Xiaowen Sun and Xiaoxiang Wang and Xinnan Song and Xinyi Zhou and Xianzu Wang and Xinxia Shan and Y. K. Li and Y. Q. Wang and Y. X. Wei and Yang Zhang and Yanhong Xu and Yao Li and Yao Zhao and Yaofeng Sun and Yaohui Wang and Yi Yu and Yichao Zhang and Yifan Shi and Yiliang Xiong and Ying He and Yishi Piao and Yisong Wang and Yixuan Tan and Yiyang Ma and Yiyuan Liu and Yongqiang Guo and Yuan Ou and Yuduan Wang and Yue Gong and Yuheng Zou and Yujia He and Yunfan Xiong and Yuxiang Luo and Yuxiang You and Yuxuan Liu and Yuyang Zhou and Y. X. Zhu and Yanhong Xu and Yanping Huang and Yaohui Li and Yi Zheng and Yuchen Zhu and Yunxian Ma and Ying Tang and Yukun Zha and Yuting Yan and Z. Z. Ren and Zehui Ren and Zhangli Sha and Zhe Fu and Zhean Xu and Zhenda Xie and Zhengyan Zhang and Zhewen Hao and Zhicheng Ma and Zhigang Yan and Zhiyu Wu and Zihui Gu and Zijia Zhu and Zijun Liu and Zilin Li and Ziwei Xie and Ziyang Song and Zizheng Pan and Zhen Huang and Zhipeng Xu and Zhongyu Zhang and Zhen Zhang},
|
229 |
+
year={2025},
|
230 |
+
eprint={2501.12948},
|
231 |
+
archivePrefix={arXiv},
|
232 |
+
primaryClass={cs.CL},
|
233 |
+
url={https://arxiv.org/abs/2501.12948},
|
234 |
+
}
|
235 |
+
|
236 |
+
```
|
237 |
+
|
238 |
+
## 9. Contact
|
239 |
+
If you have any questions, please raise an issue or contact us at [[email protected]]([email protected]).
|
modeling_deepseek.py
ADDED
@@ -0,0 +1,1849 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# coding=utf-8
|
2 |
+
# Copyright 2023 DeepSeek-AI and The HuggingFace Inc. team. All rights reserved.
|
3 |
+
#
|
4 |
+
# This code is based on EleutherAI's GPT-NeoX library and the GPT-NeoX
|
5 |
+
# and OPT implementations in this library. It has been modified from its
|
6 |
+
# original forms to accommodate minor architectural differences compared
|
7 |
+
# to GPT-NeoX and OPT used by the Meta AI team that trained the model.
|
8 |
+
#
|
9 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
10 |
+
# you may not use this file except in compliance with the License.
|
11 |
+
# You may obtain a copy of the License at
|
12 |
+
#
|
13 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
14 |
+
#
|
15 |
+
# Unless required by applicable law or agreed to in writing, software
|
16 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
17 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
18 |
+
# See the License for the specific language governing permissions and
|
19 |
+
# limitations under the License.
|
20 |
+
""" PyTorch DeepSeek model."""
|
21 |
+
import math
|
22 |
+
import warnings
|
23 |
+
from typing import List, Optional, Tuple, Union
|
24 |
+
|
25 |
+
import torch
|
26 |
+
import torch.nn.functional as F
|
27 |
+
import torch.utils.checkpoint
|
28 |
+
from torch import nn
|
29 |
+
from torch.nn import BCEWithLogitsLoss, CrossEntropyLoss, MSELoss
|
30 |
+
|
31 |
+
from transformers.activations import ACT2FN
|
32 |
+
from transformers.cache_utils import Cache, DynamicCache
|
33 |
+
from transformers.modeling_attn_mask_utils import (
|
34 |
+
AttentionMaskConverter,
|
35 |
+
_prepare_4d_attention_mask,
|
36 |
+
_prepare_4d_causal_attention_mask,
|
37 |
+
)
|
38 |
+
from transformers.modeling_outputs import (
|
39 |
+
BaseModelOutputWithPast,
|
40 |
+
CausalLMOutputWithPast,
|
41 |
+
SequenceClassifierOutputWithPast,
|
42 |
+
)
|
43 |
+
from transformers.modeling_utils import PreTrainedModel
|
44 |
+
from transformers.pytorch_utils import (
|
45 |
+
ALL_LAYERNORM_LAYERS,
|
46 |
+
is_torch_greater_or_equal_than_1_13,
|
47 |
+
)
|
48 |
+
from transformers.utils import (
|
49 |
+
add_start_docstrings,
|
50 |
+
add_start_docstrings_to_model_forward,
|
51 |
+
is_flash_attn_2_available,
|
52 |
+
is_flash_attn_greater_or_equal_2_10,
|
53 |
+
logging,
|
54 |
+
replace_return_docstrings,
|
55 |
+
)
|
56 |
+
from transformers.utils.import_utils import is_torch_fx_available
|
57 |
+
from .configuration_deepseek import DeepseekV3Config
|
58 |
+
import torch.distributed as dist
|
59 |
+
import numpy as np
|
60 |
+
|
61 |
+
if is_flash_attn_2_available():
|
62 |
+
from flash_attn import flash_attn_func, flash_attn_varlen_func
|
63 |
+
from flash_attn.bert_padding import index_first_axis, pad_input, unpad_input # noqa
|
64 |
+
|
65 |
+
|
66 |
+
# This makes `_prepare_4d_causal_attention_mask` a leaf function in the FX graph.
|
67 |
+
# It means that the function will not be traced through and simply appear as a node in the graph.
|
68 |
+
if is_torch_fx_available():
|
69 |
+
if not is_torch_greater_or_equal_than_1_13:
|
70 |
+
import torch.fx
|
71 |
+
|
72 |
+
_prepare_4d_causal_attention_mask = torch.fx.wrap(_prepare_4d_causal_attention_mask)
|
73 |
+
|
74 |
+
|
75 |
+
logger = logging.get_logger(__name__)
|
76 |
+
|
77 |
+
_CONFIG_FOR_DOC = "DeepseekV3Config"
|
78 |
+
|
79 |
+
|
80 |
+
def _get_unpad_data(attention_mask):
|
81 |
+
seqlens_in_batch = attention_mask.sum(dim=-1, dtype=torch.int32)
|
82 |
+
indices = torch.nonzero(attention_mask.flatten(), as_tuple=False).flatten()
|
83 |
+
max_seqlen_in_batch = seqlens_in_batch.max().item()
|
84 |
+
cu_seqlens = F.pad(
|
85 |
+
torch.cumsum(seqlens_in_batch, dim=0, dtype=torch.torch.int32), (1, 0)
|
86 |
+
)
|
87 |
+
return (
|
88 |
+
indices,
|
89 |
+
cu_seqlens,
|
90 |
+
max_seqlen_in_batch,
|
91 |
+
)
|
92 |
+
|
93 |
+
|
94 |
+
class DeepseekV3RMSNorm(nn.Module):
|
95 |
+
def __init__(self, hidden_size, eps=1e-6):
|
96 |
+
"""
|
97 |
+
DeepseekV3RMSNorm is equivalent to T5LayerNorm
|
98 |
+
"""
|
99 |
+
super().__init__()
|
100 |
+
self.weight = nn.Parameter(torch.ones(hidden_size))
|
101 |
+
self.variance_epsilon = eps
|
102 |
+
|
103 |
+
def forward(self, hidden_states):
|
104 |
+
input_dtype = hidden_states.dtype
|
105 |
+
hidden_states = hidden_states.to(torch.float32)
|
106 |
+
variance = hidden_states.pow(2).mean(-1, keepdim=True)
|
107 |
+
hidden_states = hidden_states * torch.rsqrt(variance + self.variance_epsilon)
|
108 |
+
return self.weight * hidden_states.to(input_dtype)
|
109 |
+
|
110 |
+
|
111 |
+
ALL_LAYERNORM_LAYERS.append(DeepseekV3RMSNorm)
|
112 |
+
|
113 |
+
|
114 |
+
class DeepseekV3RotaryEmbedding(nn.Module):
|
115 |
+
def __init__(self, dim, max_position_embeddings=2048, base=10000, device=None):
|
116 |
+
super().__init__()
|
117 |
+
|
118 |
+
self.dim = dim
|
119 |
+
self.max_position_embeddings = max_position_embeddings
|
120 |
+
self.base = base
|
121 |
+
inv_freq = 1.0 / (
|
122 |
+
self.base ** (torch.arange(0, self.dim, 2).float().to(device) / self.dim)
|
123 |
+
)
|
124 |
+
self.register_buffer("inv_freq", inv_freq, persistent=False)
|
125 |
+
|
126 |
+
# Build here to make `torch.jit.trace` work.
|
127 |
+
self._set_cos_sin_cache(
|
128 |
+
seq_len=max_position_embeddings,
|
129 |
+
device=self.inv_freq.device,
|
130 |
+
dtype=torch.get_default_dtype(),
|
131 |
+
)
|
132 |
+
self.max_seq_len_cached = None
|
133 |
+
|
134 |
+
def _set_cos_sin_cache(self, seq_len, device, dtype):
|
135 |
+
self.max_seq_len_cached = seq_len
|
136 |
+
t = torch.arange(
|
137 |
+
self.max_seq_len_cached, device=device, dtype=self.inv_freq.dtype
|
138 |
+
)
|
139 |
+
|
140 |
+
freqs = torch.outer(t, self.inv_freq.to(t.device))
|
141 |
+
# Different from paper, but it uses a different permutation in order to obtain the same calculation
|
142 |
+
emb = torch.cat((freqs, freqs), dim=-1)
|
143 |
+
self.register_buffer("cos_cached", emb.cos().to(dtype), persistent=False)
|
144 |
+
self.register_buffer("sin_cached", emb.sin().to(dtype), persistent=False)
|
145 |
+
|
146 |
+
def forward(self, x, seq_len=None):
|
147 |
+
# x: [bs, num_attention_heads, seq_len, head_size]
|
148 |
+
if self.max_seq_len_cached is None or seq_len > self.max_seq_len_cached:
|
149 |
+
self._set_cos_sin_cache(seq_len=seq_len, device=x.device, dtype=x.dtype)
|
150 |
+
|
151 |
+
return (
|
152 |
+
self.cos_cached[:seq_len].to(dtype=x.dtype),
|
153 |
+
self.sin_cached[:seq_len].to(dtype=x.dtype),
|
154 |
+
)
|
155 |
+
|
156 |
+
|
157 |
+
# Copied from transformers.models.llama.modeling_llama.LlamaLinearScalingRotaryEmbedding with Llama->DeepseekV3
|
158 |
+
class DeepseekV3LinearScalingRotaryEmbedding(DeepseekV3RotaryEmbedding):
|
159 |
+
"""DeepseekV3RotaryEmbedding extended with linear scaling. Credits to the Reddit user /u/kaiokendev"""
|
160 |
+
|
161 |
+
def __init__(
|
162 |
+
self,
|
163 |
+
dim,
|
164 |
+
max_position_embeddings=2048,
|
165 |
+
base=10000,
|
166 |
+
device=None,
|
167 |
+
scaling_factor=1.0,
|
168 |
+
):
|
169 |
+
self.scaling_factor = scaling_factor
|
170 |
+
super().__init__(dim, max_position_embeddings, base, device)
|
171 |
+
|
172 |
+
def _set_cos_sin_cache(self, seq_len, device, dtype):
|
173 |
+
self.max_seq_len_cached = seq_len
|
174 |
+
t = torch.arange(
|
175 |
+
self.max_seq_len_cached, device=device, dtype=self.inv_freq.dtype
|
176 |
+
)
|
177 |
+
t = t / self.scaling_factor
|
178 |
+
|
179 |
+
freqs = torch.outer(t, self.inv_freq)
|
180 |
+
# Different from paper, but it uses a different permutation in order to obtain the same calculation
|
181 |
+
emb = torch.cat((freqs, freqs), dim=-1)
|
182 |
+
self.register_buffer("cos_cached", emb.cos().to(dtype), persistent=False)
|
183 |
+
self.register_buffer("sin_cached", emb.sin().to(dtype), persistent=False)
|
184 |
+
|
185 |
+
|
186 |
+
# Copied from transformers.models.llama.modeling_llama.LlamaDynamicNTKScalingRotaryEmbedding with Llama->DeepseekV3
|
187 |
+
class DeepseekV3DynamicNTKScalingRotaryEmbedding(DeepseekV3RotaryEmbedding):
|
188 |
+
"""DeepseekV3RotaryEmbedding extended with Dynamic NTK scaling. Credits to the Reddit users /u/bloc97 and /u/emozilla"""
|
189 |
+
|
190 |
+
def __init__(
|
191 |
+
self,
|
192 |
+
dim,
|
193 |
+
max_position_embeddings=2048,
|
194 |
+
base=10000,
|
195 |
+
device=None,
|
196 |
+
scaling_factor=1.0,
|
197 |
+
):
|
198 |
+
self.scaling_factor = scaling_factor
|
199 |
+
super().__init__(dim, max_position_embeddings, base, device)
|
200 |
+
|
201 |
+
def _set_cos_sin_cache(self, seq_len, device, dtype):
|
202 |
+
self.max_seq_len_cached = seq_len
|
203 |
+
|
204 |
+
if seq_len > self.max_position_embeddings:
|
205 |
+
base = self.base * (
|
206 |
+
(self.scaling_factor * seq_len / self.max_position_embeddings)
|
207 |
+
- (self.scaling_factor - 1)
|
208 |
+
) ** (self.dim / (self.dim - 2))
|
209 |
+
inv_freq = 1.0 / (
|
210 |
+
base ** (torch.arange(0, self.dim, 2).float().to(device) / self.dim)
|
211 |
+
)
|
212 |
+
self.register_buffer("inv_freq", inv_freq, persistent=False)
|
213 |
+
|
214 |
+
t = torch.arange(
|
215 |
+
self.max_seq_len_cached, device=device, dtype=self.inv_freq.dtype
|
216 |
+
)
|
217 |
+
|
218 |
+
freqs = torch.outer(t, self.inv_freq)
|
219 |
+
# Different from paper, but it uses a different permutation in order to obtain the same calculation
|
220 |
+
emb = torch.cat((freqs, freqs), dim=-1)
|
221 |
+
self.register_buffer("cos_cached", emb.cos().to(dtype), persistent=False)
|
222 |
+
self.register_buffer("sin_cached", emb.sin().to(dtype), persistent=False)
|
223 |
+
|
224 |
+
|
225 |
+
# Inverse dim formula to find dim based on number of rotations
|
226 |
+
def yarn_find_correction_dim(
|
227 |
+
num_rotations, dim, base=10000, max_position_embeddings=2048
|
228 |
+
):
|
229 |
+
return (dim * math.log(max_position_embeddings / (num_rotations * 2 * math.pi))) / (
|
230 |
+
2 * math.log(base)
|
231 |
+
)
|
232 |
+
|
233 |
+
|
234 |
+
# Find dim range bounds based on rotations
|
235 |
+
def yarn_find_correction_range(
|
236 |
+
low_rot, high_rot, dim, base=10000, max_position_embeddings=2048
|
237 |
+
):
|
238 |
+
low = math.floor(
|
239 |
+
yarn_find_correction_dim(low_rot, dim, base, max_position_embeddings)
|
240 |
+
)
|
241 |
+
high = math.ceil(
|
242 |
+
yarn_find_correction_dim(high_rot, dim, base, max_position_embeddings)
|
243 |
+
)
|
244 |
+
return max(low, 0), min(high, dim - 1) # Clamp values just in case
|
245 |
+
|
246 |
+
|
247 |
+
def yarn_get_mscale(scale=1, mscale=1):
|
248 |
+
if scale <= 1:
|
249 |
+
return 1.0
|
250 |
+
return 0.1 * mscale * math.log(scale) + 1.0
|
251 |
+
|
252 |
+
|
253 |
+
def yarn_linear_ramp_mask(min, max, dim):
|
254 |
+
if min == max:
|
255 |
+
max += 0.001 # Prevent singularity
|
256 |
+
|
257 |
+
linear_func = (torch.arange(dim, dtype=torch.float32) - min) / (max - min)
|
258 |
+
ramp_func = torch.clamp(linear_func, 0, 1)
|
259 |
+
return ramp_func
|
260 |
+
|
261 |
+
|
262 |
+
class DeepseekV3YarnRotaryEmbedding(DeepseekV3RotaryEmbedding):
|
263 |
+
|
264 |
+
def __init__(
|
265 |
+
self,
|
266 |
+
dim,
|
267 |
+
max_position_embeddings=2048,
|
268 |
+
base=10000,
|
269 |
+
device=None,
|
270 |
+
scaling_factor=1.0,
|
271 |
+
original_max_position_embeddings=4096,
|
272 |
+
beta_fast=32,
|
273 |
+
beta_slow=1,
|
274 |
+
mscale=1,
|
275 |
+
mscale_all_dim=0,
|
276 |
+
):
|
277 |
+
self.scaling_factor = scaling_factor
|
278 |
+
self.original_max_position_embeddings = original_max_position_embeddings
|
279 |
+
self.beta_fast = beta_fast
|
280 |
+
self.beta_slow = beta_slow
|
281 |
+
self.mscale = mscale
|
282 |
+
self.mscale_all_dim = mscale_all_dim
|
283 |
+
super().__init__(dim, max_position_embeddings, base, device)
|
284 |
+
|
285 |
+
def _set_cos_sin_cache(self, seq_len, device, dtype):
|
286 |
+
self.max_seq_len_cached = seq_len
|
287 |
+
dim = self.dim
|
288 |
+
|
289 |
+
freq_extra = 1.0 / (
|
290 |
+
self.base
|
291 |
+
** (torch.arange(0, dim, 2, dtype=torch.float32, device=device) / dim)
|
292 |
+
)
|
293 |
+
freq_inter = 1.0 / (
|
294 |
+
self.scaling_factor
|
295 |
+
* self.base
|
296 |
+
** (torch.arange(0, dim, 2, dtype=torch.float32, device=device) / dim)
|
297 |
+
)
|
298 |
+
|
299 |
+
low, high = yarn_find_correction_range(
|
300 |
+
self.beta_fast,
|
301 |
+
self.beta_slow,
|
302 |
+
dim,
|
303 |
+
self.base,
|
304 |
+
self.original_max_position_embeddings,
|
305 |
+
)
|
306 |
+
inv_freq_mask = 1.0 - yarn_linear_ramp_mask(low, high, dim // 2).to(
|
307 |
+
device=device, dtype=torch.float32
|
308 |
+
)
|
309 |
+
inv_freq = freq_inter * (1 - inv_freq_mask) + freq_extra * inv_freq_mask
|
310 |
+
self.register_buffer("inv_freq", inv_freq, persistent=False)
|
311 |
+
|
312 |
+
t = torch.arange(seq_len, device=device, dtype=torch.float32)
|
313 |
+
|
314 |
+
freqs = torch.outer(t, inv_freq)
|
315 |
+
|
316 |
+
_mscale = float(
|
317 |
+
yarn_get_mscale(self.scaling_factor, self.mscale)
|
318 |
+
/ yarn_get_mscale(self.scaling_factor, self.mscale_all_dim)
|
319 |
+
)
|
320 |
+
|
321 |
+
emb = torch.cat((freqs, freqs), dim=-1)
|
322 |
+
self.register_buffer(
|
323 |
+
"cos_cached", (emb.cos() * _mscale).to(dtype), persistent=False
|
324 |
+
)
|
325 |
+
self.register_buffer(
|
326 |
+
"sin_cached", (emb.sin() * _mscale).to(dtype), persistent=False
|
327 |
+
)
|
328 |
+
|
329 |
+
|
330 |
+
# Copied from transformers.models.llama.modeling_llama.rotate_half
|
331 |
+
def rotate_half(x):
|
332 |
+
"""Rotates half the hidden dims of the input."""
|
333 |
+
x1 = x[..., : x.shape[-1] // 2]
|
334 |
+
x2 = x[..., x.shape[-1] // 2 :]
|
335 |
+
return torch.cat((-x2, x1), dim=-1)
|
336 |
+
|
337 |
+
|
338 |
+
# Copied from transformers.models.llama.modeling_llama.apply_rotary_pos_emb
|
339 |
+
def apply_rotary_pos_emb(q, k, cos, sin, position_ids, unsqueeze_dim=1):
|
340 |
+
"""Applies Rotary Position Embedding to the query and key tensors.
|
341 |
+
|
342 |
+
Args:
|
343 |
+
q (`torch.Tensor`): The query tensor.
|
344 |
+
k (`torch.Tensor`): The key tensor.
|
345 |
+
cos (`torch.Tensor`): The cosine part of the rotary embedding.
|
346 |
+
sin (`torch.Tensor`): The sine part of the rotary embedding.
|
347 |
+
position_ids (`torch.Tensor`):
|
348 |
+
The position indices of the tokens corresponding to the query and key tensors. For example, this can be
|
349 |
+
used to pass offsetted position ids when working with a KV-cache.
|
350 |
+
unsqueeze_dim (`int`, *optional*, defaults to 1):
|
351 |
+
The 'unsqueeze_dim' argument specifies the dimension along which to unsqueeze cos[position_ids] and
|
352 |
+
sin[position_ids] so that they can be properly broadcasted to the dimensions of q and k. For example, note
|
353 |
+
that cos[position_ids] and sin[position_ids] have the shape [batch_size, seq_len, head_dim]. Then, if q and
|
354 |
+
k have the shape [batch_size, heads, seq_len, head_dim], then setting unsqueeze_dim=1 makes
|
355 |
+
cos[position_ids] and sin[position_ids] broadcastable to the shapes of q and k. Similarly, if q and k have
|
356 |
+
the shape [batch_size, seq_len, heads, head_dim], then set unsqueeze_dim=2.
|
357 |
+
Returns:
|
358 |
+
`tuple(torch.Tensor)` comprising of the query and key tensors rotated using the Rotary Position Embedding.
|
359 |
+
"""
|
360 |
+
cos = cos[position_ids].unsqueeze(unsqueeze_dim)
|
361 |
+
sin = sin[position_ids].unsqueeze(unsqueeze_dim)
|
362 |
+
|
363 |
+
b, h, s, d = q.shape
|
364 |
+
q = q.view(b, h, s, d // 2, 2).transpose(4, 3).reshape(b, h, s, d)
|
365 |
+
|
366 |
+
b, h, s, d = k.shape
|
367 |
+
k = k.view(b, h, s, d // 2, 2).transpose(4, 3).reshape(b, h, s, d)
|
368 |
+
|
369 |
+
q_embed = (q * cos) + (rotate_half(q) * sin)
|
370 |
+
k_embed = (k * cos) + (rotate_half(k) * sin)
|
371 |
+
return q_embed, k_embed
|
372 |
+
|
373 |
+
|
374 |
+
class DeepseekV3MLP(nn.Module):
|
375 |
+
def __init__(self, config, hidden_size=None, intermediate_size=None):
|
376 |
+
super().__init__()
|
377 |
+
self.config = config
|
378 |
+
self.hidden_size = config.hidden_size if hidden_size is None else hidden_size
|
379 |
+
self.intermediate_size = (
|
380 |
+
config.intermediate_size if intermediate_size is None else intermediate_size
|
381 |
+
)
|
382 |
+
|
383 |
+
self.gate_proj = nn.Linear(self.hidden_size, self.intermediate_size, bias=False)
|
384 |
+
self.up_proj = nn.Linear(self.hidden_size, self.intermediate_size, bias=False)
|
385 |
+
self.down_proj = nn.Linear(self.intermediate_size, self.hidden_size, bias=False)
|
386 |
+
self.act_fn = ACT2FN[config.hidden_act]
|
387 |
+
|
388 |
+
def forward(self, x):
|
389 |
+
down_proj = self.down_proj(self.act_fn(self.gate_proj(x)) * self.up_proj(x))
|
390 |
+
return down_proj
|
391 |
+
|
392 |
+
|
393 |
+
class MoEGate(nn.Module):
|
394 |
+
def __init__(self, config):
|
395 |
+
super().__init__()
|
396 |
+
self.config = config
|
397 |
+
self.top_k = config.num_experts_per_tok
|
398 |
+
self.n_routed_experts = config.n_routed_experts
|
399 |
+
self.routed_scaling_factor = config.routed_scaling_factor
|
400 |
+
self.scoring_func = config.scoring_func
|
401 |
+
self.seq_aux = config.seq_aux
|
402 |
+
self.topk_method = config.topk_method
|
403 |
+
self.n_group = config.n_group
|
404 |
+
self.topk_group = config.topk_group
|
405 |
+
|
406 |
+
# topk selection algorithm
|
407 |
+
self.norm_topk_prob = config.norm_topk_prob
|
408 |
+
self.gating_dim = config.hidden_size
|
409 |
+
self.weight = nn.Parameter(
|
410 |
+
torch.empty((self.n_routed_experts, self.gating_dim))
|
411 |
+
)
|
412 |
+
if self.topk_method == "noaux_tc":
|
413 |
+
self.e_score_correction_bias = nn.Parameter(
|
414 |
+
torch.empty((self.n_routed_experts))
|
415 |
+
)
|
416 |
+
self.reset_parameters()
|
417 |
+
|
418 |
+
def reset_parameters(self) -> None:
|
419 |
+
import torch.nn.init as init
|
420 |
+
|
421 |
+
init.kaiming_uniform_(self.weight, a=math.sqrt(5))
|
422 |
+
|
423 |
+
def forward(self, hidden_states):
|
424 |
+
bsz, seq_len, h = hidden_states.shape
|
425 |
+
### compute gating score
|
426 |
+
hidden_states = hidden_states.view(-1, h)
|
427 |
+
logits = F.linear(
|
428 |
+
hidden_states.type(torch.float32), self.weight.type(torch.float32), None
|
429 |
+
)
|
430 |
+
if self.scoring_func == "sigmoid":
|
431 |
+
scores = logits.sigmoid()
|
432 |
+
else:
|
433 |
+
raise NotImplementedError(
|
434 |
+
f"insupportable scoring function for MoE gating: {self.scoring_func}"
|
435 |
+
)
|
436 |
+
|
437 |
+
### select top-k experts
|
438 |
+
if self.topk_method == "noaux_tc":
|
439 |
+
assert not self.training
|
440 |
+
scores_for_choice = scores.view(bsz * seq_len, -1) + self.e_score_correction_bias.unsqueeze(0)
|
441 |
+
group_scores = (
|
442 |
+
scores_for_choice.view(bsz * seq_len, self.n_group, -1).topk(2, dim=-1)[0].sum(dim = -1)
|
443 |
+
) # [n, n_group]
|
444 |
+
group_idx = torch.topk(
|
445 |
+
group_scores, k=self.topk_group, dim=-1, sorted=False
|
446 |
+
)[
|
447 |
+
1
|
448 |
+
] # [n, top_k_group]
|
449 |
+
group_mask = torch.zeros_like(group_scores) # [n, n_group]
|
450 |
+
group_mask.scatter_(1, group_idx, 1) # [n, n_group]
|
451 |
+
score_mask = (
|
452 |
+
group_mask.unsqueeze(-1)
|
453 |
+
.expand(
|
454 |
+
bsz * seq_len, self.n_group, self.n_routed_experts // self.n_group
|
455 |
+
)
|
456 |
+
.reshape(bsz * seq_len, -1)
|
457 |
+
) # [n, e]
|
458 |
+
tmp_scores = scores_for_choice.masked_fill(~score_mask.bool(), 0.0) # [n, e]
|
459 |
+
_, topk_idx = torch.topk(
|
460 |
+
tmp_scores, k=self.top_k, dim=-1, sorted=False
|
461 |
+
)
|
462 |
+
topk_weight = scores.gather(1, topk_idx)
|
463 |
+
else:
|
464 |
+
raise NotImplementedError(
|
465 |
+
f"insupportable TopK function for MoE gating: {self.topk_method}"
|
466 |
+
)
|
467 |
+
|
468 |
+
### norm gate to sum 1
|
469 |
+
if self.top_k > 1 and self.norm_topk_prob:
|
470 |
+
denominator = topk_weight.sum(dim=-1, keepdim=True) + 1e-20
|
471 |
+
topk_weight = topk_weight / denominator
|
472 |
+
topk_weight = topk_weight * self.routed_scaling_factor # must multiply the scaling factor
|
473 |
+
|
474 |
+
return topk_idx, topk_weight
|
475 |
+
|
476 |
+
class DeepseekV3MoE(nn.Module):
|
477 |
+
"""
|
478 |
+
A mixed expert module containing shared experts.
|
479 |
+
"""
|
480 |
+
|
481 |
+
def __init__(self, config):
|
482 |
+
super().__init__()
|
483 |
+
self.config = config
|
484 |
+
self.num_experts_per_tok = config.num_experts_per_tok
|
485 |
+
|
486 |
+
if hasattr(config, "ep_size") and config.ep_size > 1:
|
487 |
+
assert config.ep_size == dist.get_world_size()
|
488 |
+
self.ep_size = config.ep_size
|
489 |
+
self.experts_per_rank = config.n_routed_experts // config.ep_size
|
490 |
+
self.ep_rank = dist.get_rank()
|
491 |
+
self.experts = nn.ModuleList(
|
492 |
+
[
|
493 |
+
(
|
494 |
+
DeepseekV3MLP(
|
495 |
+
config, intermediate_size=config.moe_intermediate_size
|
496 |
+
)
|
497 |
+
if i >= self.ep_rank * self.experts_per_rank
|
498 |
+
and i < (self.ep_rank + 1) * self.experts_per_rank
|
499 |
+
else None
|
500 |
+
)
|
501 |
+
for i in range(config.n_routed_experts)
|
502 |
+
]
|
503 |
+
)
|
504 |
+
else:
|
505 |
+
self.ep_size = 1
|
506 |
+
self.experts_per_rank = config.n_routed_experts
|
507 |
+
self.ep_rank = 0
|
508 |
+
self.experts = nn.ModuleList(
|
509 |
+
[
|
510 |
+
DeepseekV3MLP(
|
511 |
+
config, intermediate_size=config.moe_intermediate_size
|
512 |
+
)
|
513 |
+
for i in range(config.n_routed_experts)
|
514 |
+
]
|
515 |
+
)
|
516 |
+
self.gate = MoEGate(config)
|
517 |
+
if config.n_shared_experts is not None:
|
518 |
+
intermediate_size = config.moe_intermediate_size * config.n_shared_experts
|
519 |
+
self.shared_experts = DeepseekV3MLP(
|
520 |
+
config=config, intermediate_size=intermediate_size
|
521 |
+
)
|
522 |
+
|
523 |
+
def forward(self, hidden_states):
|
524 |
+
identity = hidden_states
|
525 |
+
orig_shape = hidden_states.shape
|
526 |
+
topk_idx, topk_weight = self.gate(hidden_states)
|
527 |
+
hidden_states = hidden_states.view(-1, hidden_states.shape[-1])
|
528 |
+
flat_topk_idx = topk_idx.view(-1)
|
529 |
+
if not self.training:
|
530 |
+
y = self.moe_infer(hidden_states, topk_idx, topk_weight).view(*orig_shape)
|
531 |
+
if self.config.n_shared_experts is not None:
|
532 |
+
y = y + self.shared_experts(identity)
|
533 |
+
return y
|
534 |
+
|
535 |
+
@torch.no_grad()
|
536 |
+
def moe_infer(self, x, topk_ids, topk_weight):
|
537 |
+
cnts = topk_ids.new_zeros((topk_ids.shape[0], len(self.experts)))
|
538 |
+
cnts.scatter_(1, topk_ids, 1)
|
539 |
+
tokens_per_expert = cnts.sum(dim=0)
|
540 |
+
idxs = topk_ids.view(-1).argsort()
|
541 |
+
sorted_tokens = x[idxs // topk_ids.shape[1]]
|
542 |
+
sorted_tokens_shape = sorted_tokens.shape
|
543 |
+
if self.ep_size > 1:
|
544 |
+
tokens_per_ep_rank = tokens_per_expert.view(self.ep_size, -1).sum(dim=1)
|
545 |
+
tokens_per_expert_group = tokens_per_expert.new_empty(
|
546 |
+
tokens_per_expert.shape[0]
|
547 |
+
)
|
548 |
+
dist.all_to_all_single(tokens_per_expert_group, tokens_per_expert)
|
549 |
+
output_splits = (
|
550 |
+
tokens_per_expert_group.view(self.ep_size, -1)
|
551 |
+
.sum(1)
|
552 |
+
.cpu()
|
553 |
+
.numpy()
|
554 |
+
.tolist()
|
555 |
+
)
|
556 |
+
gathered_tokens = sorted_tokens.new_empty(
|
557 |
+
tokens_per_expert_group.sum(dim=0).cpu().item(), sorted_tokens.shape[1]
|
558 |
+
)
|
559 |
+
input_split_sizes = tokens_per_ep_rank.cpu().numpy().tolist()
|
560 |
+
dist.all_to_all(
|
561 |
+
list(gathered_tokens.split(output_splits)),
|
562 |
+
list(sorted_tokens.split(input_split_sizes)),
|
563 |
+
)
|
564 |
+
tokens_per_expert_post_gather = tokens_per_expert_group.view(
|
565 |
+
self.ep_size, self.experts_per_rank
|
566 |
+
).sum(dim=0)
|
567 |
+
gatherd_idxs = np.zeros(shape=(gathered_tokens.shape[0],), dtype=np.int32)
|
568 |
+
s = 0
|
569 |
+
for i, k in enumerate(tokens_per_expert_group.cpu().numpy()):
|
570 |
+
gatherd_idxs[s : s + k] = i % self.experts_per_rank
|
571 |
+
s += k
|
572 |
+
gatherd_idxs = gatherd_idxs.argsort()
|
573 |
+
sorted_tokens = gathered_tokens[gatherd_idxs]
|
574 |
+
tokens_per_expert = tokens_per_expert_post_gather
|
575 |
+
tokens_per_expert = tokens_per_expert.cpu().numpy()
|
576 |
+
|
577 |
+
outputs = []
|
578 |
+
start_idx = 0
|
579 |
+
for i, num_tokens in enumerate(tokens_per_expert):
|
580 |
+
end_idx = start_idx + num_tokens
|
581 |
+
if num_tokens == 0:
|
582 |
+
continue
|
583 |
+
expert = self.experts[i + self.ep_rank * self.experts_per_rank]
|
584 |
+
tokens_for_this_expert = sorted_tokens[start_idx:end_idx]
|
585 |
+
expert_out = expert(tokens_for_this_expert)
|
586 |
+
outputs.append(expert_out)
|
587 |
+
start_idx = end_idx
|
588 |
+
|
589 |
+
outs = torch.cat(outputs, dim=0) if len(outputs) else sorted_tokens.new_empty(0)
|
590 |
+
if self.ep_size > 1:
|
591 |
+
new_x = torch.empty_like(outs)
|
592 |
+
new_x[gatherd_idxs] = outs
|
593 |
+
gathered_tokens = new_x.new_empty(*sorted_tokens_shape)
|
594 |
+
dist.all_to_all(
|
595 |
+
list(gathered_tokens.split(input_split_sizes)),
|
596 |
+
list(new_x.split(output_splits)),
|
597 |
+
)
|
598 |
+
outs = gathered_tokens
|
599 |
+
|
600 |
+
new_x = torch.empty_like(outs)
|
601 |
+
new_x[idxs] = outs
|
602 |
+
final_out = (
|
603 |
+
new_x.view(*topk_ids.shape, -1)
|
604 |
+
.type(topk_weight.dtype)
|
605 |
+
.mul_(topk_weight.unsqueeze(dim=-1))
|
606 |
+
.sum(dim=1)
|
607 |
+
.type(new_x.dtype)
|
608 |
+
)
|
609 |
+
return final_out
|
610 |
+
|
611 |
+
|
612 |
+
# Copied from transformers.models.llama.modeling_llama.repeat_kv
|
613 |
+
def repeat_kv(hidden_states: torch.Tensor, n_rep: int) -> torch.Tensor:
|
614 |
+
"""
|
615 |
+
This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch,
|
616 |
+
num_key_value_heads, seqlen, head_dim) to (batch, num_attention_heads, seqlen, head_dim)
|
617 |
+
"""
|
618 |
+
batch, num_key_value_heads, slen, head_dim = hidden_states.shape
|
619 |
+
if n_rep == 1:
|
620 |
+
return hidden_states
|
621 |
+
hidden_states = hidden_states[:, :, None, :, :].expand(
|
622 |
+
batch, num_key_value_heads, n_rep, slen, head_dim
|
623 |
+
)
|
624 |
+
return hidden_states.reshape(batch, num_key_value_heads * n_rep, slen, head_dim)
|
625 |
+
|
626 |
+
|
627 |
+
# Copied from transformers.models.llama.modeling_llama.LlamaAttention with Llama->DeepseekV3
|
628 |
+
class DeepseekV3Attention(nn.Module):
|
629 |
+
"""Multi-headed attention from 'Attention Is All You Need' paper"""
|
630 |
+
|
631 |
+
def __init__(self, config: DeepseekV3Config, layer_idx: Optional[int] = None):
|
632 |
+
super().__init__()
|
633 |
+
self.config = config
|
634 |
+
self.layer_idx = layer_idx
|
635 |
+
if layer_idx is None:
|
636 |
+
logger.warning_once(
|
637 |
+
f"Instantiating {self.__class__.__name__} without passing `layer_idx` is not recommended and will "
|
638 |
+
"to errors during the forward call, if caching is used. Please make sure to provide a `layer_idx` "
|
639 |
+
"when creating this class."
|
640 |
+
)
|
641 |
+
|
642 |
+
self.attention_dropout = config.attention_dropout
|
643 |
+
self.hidden_size = config.hidden_size
|
644 |
+
self.num_heads = config.num_attention_heads
|
645 |
+
|
646 |
+
self.max_position_embeddings = config.max_position_embeddings
|
647 |
+
self.rope_theta = config.rope_theta
|
648 |
+
self.q_lora_rank = config.q_lora_rank
|
649 |
+
self.qk_rope_head_dim = config.qk_rope_head_dim
|
650 |
+
self.kv_lora_rank = config.kv_lora_rank
|
651 |
+
self.v_head_dim = config.v_head_dim
|
652 |
+
self.qk_nope_head_dim = config.qk_nope_head_dim
|
653 |
+
self.q_head_dim = config.qk_nope_head_dim + config.qk_rope_head_dim
|
654 |
+
|
655 |
+
self.is_causal = True
|
656 |
+
|
657 |
+
if self.q_lora_rank is None:
|
658 |
+
self.q_proj = nn.Linear(
|
659 |
+
self.hidden_size, self.num_heads * self.q_head_dim, bias=False
|
660 |
+
)
|
661 |
+
else:
|
662 |
+
self.q_a_proj = nn.Linear(
|
663 |
+
self.hidden_size, config.q_lora_rank, bias=config.attention_bias
|
664 |
+
)
|
665 |
+
self.q_a_layernorm = DeepseekV3RMSNorm(config.q_lora_rank)
|
666 |
+
self.q_b_proj = nn.Linear(
|
667 |
+
config.q_lora_rank, self.num_heads * self.q_head_dim, bias=False
|
668 |
+
)
|
669 |
+
|
670 |
+
self.kv_a_proj_with_mqa = nn.Linear(
|
671 |
+
self.hidden_size,
|
672 |
+
config.kv_lora_rank + config.qk_rope_head_dim,
|
673 |
+
bias=config.attention_bias,
|
674 |
+
)
|
675 |
+
self.kv_a_layernorm = DeepseekV3RMSNorm(config.kv_lora_rank)
|
676 |
+
self.kv_b_proj = nn.Linear(
|
677 |
+
config.kv_lora_rank,
|
678 |
+
self.num_heads
|
679 |
+
* (self.q_head_dim - self.qk_rope_head_dim + self.v_head_dim),
|
680 |
+
bias=False,
|
681 |
+
)
|
682 |
+
|
683 |
+
self.o_proj = nn.Linear(
|
684 |
+
self.num_heads * self.v_head_dim,
|
685 |
+
self.hidden_size,
|
686 |
+
bias=config.attention_bias,
|
687 |
+
)
|
688 |
+
self._init_rope()
|
689 |
+
|
690 |
+
self.softmax_scale = self.q_head_dim ** (-0.5)
|
691 |
+
if self.config.rope_scaling is not None:
|
692 |
+
mscale_all_dim = self.config.rope_scaling.get("mscale_all_dim", 0)
|
693 |
+
scaling_factor = self.config.rope_scaling["factor"]
|
694 |
+
if mscale_all_dim:
|
695 |
+
mscale = yarn_get_mscale(scaling_factor, mscale_all_dim)
|
696 |
+
self.softmax_scale = self.softmax_scale * mscale * mscale
|
697 |
+
|
698 |
+
def _init_rope(self):
|
699 |
+
if self.config.rope_scaling is None:
|
700 |
+
self.rotary_emb = DeepseekV3RotaryEmbedding(
|
701 |
+
self.qk_rope_head_dim,
|
702 |
+
max_position_embeddings=self.max_position_embeddings,
|
703 |
+
base=self.rope_theta,
|
704 |
+
)
|
705 |
+
else:
|
706 |
+
scaling_type = self.config.rope_scaling["type"]
|
707 |
+
scaling_factor = self.config.rope_scaling["factor"]
|
708 |
+
if scaling_type == "linear":
|
709 |
+
self.rotary_emb = DeepseekV3LinearScalingRotaryEmbedding(
|
710 |
+
self.qk_rope_head_dim,
|
711 |
+
max_position_embeddings=self.max_position_embeddings,
|
712 |
+
scaling_factor=scaling_factor,
|
713 |
+
base=self.rope_theta,
|
714 |
+
)
|
715 |
+
elif scaling_type == "dynamic":
|
716 |
+
self.rotary_emb = DeepseekV3DynamicNTKScalingRotaryEmbedding(
|
717 |
+
self.qk_rope_head_dim,
|
718 |
+
max_position_embeddings=self.max_position_embeddings,
|
719 |
+
scaling_factor=scaling_factor,
|
720 |
+
base=self.rope_theta,
|
721 |
+
)
|
722 |
+
elif scaling_type == "yarn":
|
723 |
+
kwargs = {
|
724 |
+
key: self.config.rope_scaling[key]
|
725 |
+
for key in [
|
726 |
+
"original_max_position_embeddings",
|
727 |
+
"beta_fast",
|
728 |
+
"beta_slow",
|
729 |
+
"mscale",
|
730 |
+
"mscale_all_dim",
|
731 |
+
]
|
732 |
+
if key in self.config.rope_scaling
|
733 |
+
}
|
734 |
+
self.rotary_emb = DeepseekV3YarnRotaryEmbedding(
|
735 |
+
self.qk_rope_head_dim,
|
736 |
+
max_position_embeddings=self.max_position_embeddings,
|
737 |
+
scaling_factor=scaling_factor,
|
738 |
+
base=self.rope_theta,
|
739 |
+
**kwargs,
|
740 |
+
)
|
741 |
+
else:
|
742 |
+
raise ValueError(f"Unknown RoPE scaling type {scaling_type}")
|
743 |
+
|
744 |
+
def _shape(self, tensor: torch.Tensor, seq_len: int, bsz: int):
|
745 |
+
return (
|
746 |
+
tensor.view(bsz, seq_len, self.num_heads, self.v_head_dim)
|
747 |
+
.transpose(1, 2)
|
748 |
+
.contiguous()
|
749 |
+
)
|
750 |
+
|
751 |
+
def forward(
|
752 |
+
self,
|
753 |
+
hidden_states: torch.Tensor,
|
754 |
+
attention_mask: Optional[torch.Tensor] = None,
|
755 |
+
position_ids: Optional[torch.LongTensor] = None,
|
756 |
+
past_key_value: Optional[Cache] = None,
|
757 |
+
output_attentions: bool = False,
|
758 |
+
use_cache: bool = False,
|
759 |
+
**kwargs,
|
760 |
+
) -> Tuple[torch.Tensor, Optional[torch.Tensor], Optional[Tuple[torch.Tensor]]]:
|
761 |
+
if "padding_mask" in kwargs:
|
762 |
+
warnings.warn(
|
763 |
+
"Passing `padding_mask` is deprecated and will be removed in v4.37. Please make sure use `attention_mask` instead.`"
|
764 |
+
)
|
765 |
+
bsz, q_len, _ = hidden_states.size()
|
766 |
+
|
767 |
+
if self.q_lora_rank is None:
|
768 |
+
q = self.q_proj(hidden_states)
|
769 |
+
else:
|
770 |
+
q = self.q_b_proj(self.q_a_layernorm(self.q_a_proj(hidden_states)))
|
771 |
+
q = q.view(bsz, q_len, self.num_heads, self.q_head_dim).transpose(1, 2)
|
772 |
+
q_nope, q_pe = torch.split(
|
773 |
+
q, [self.qk_nope_head_dim, self.qk_rope_head_dim], dim=-1
|
774 |
+
)
|
775 |
+
|
776 |
+
compressed_kv = self.kv_a_proj_with_mqa(hidden_states)
|
777 |
+
compressed_kv, k_pe = torch.split(
|
778 |
+
compressed_kv, [self.kv_lora_rank, self.qk_rope_head_dim], dim=-1
|
779 |
+
)
|
780 |
+
k_pe = k_pe.view(bsz, q_len, 1, self.qk_rope_head_dim).transpose(1, 2)
|
781 |
+
kv = (
|
782 |
+
self.kv_b_proj(self.kv_a_layernorm(compressed_kv))
|
783 |
+
.view(bsz, q_len, self.num_heads, self.qk_nope_head_dim + self.v_head_dim)
|
784 |
+
.transpose(1, 2)
|
785 |
+
)
|
786 |
+
|
787 |
+
k_nope, value_states = torch.split(
|
788 |
+
kv, [self.qk_nope_head_dim, self.v_head_dim], dim=-1
|
789 |
+
)
|
790 |
+
kv_seq_len = value_states.shape[-2]
|
791 |
+
if past_key_value is not None:
|
792 |
+
if self.layer_idx is None:
|
793 |
+
raise ValueError(
|
794 |
+
f"The cache structure has changed since version v4.36. If you are using {self.__class__.__name__} "
|
795 |
+
"for auto-regressive decoding with k/v caching, please make sure to initialize the attention class "
|
796 |
+
"with a layer index."
|
797 |
+
)
|
798 |
+
kv_seq_len += past_key_value.get_usable_length(kv_seq_len, self.layer_idx)
|
799 |
+
cos, sin = self.rotary_emb(value_states, seq_len=kv_seq_len)
|
800 |
+
|
801 |
+
q_pe, k_pe = apply_rotary_pos_emb(q_pe, k_pe, cos, sin, position_ids)
|
802 |
+
|
803 |
+
query_states = k_pe.new_empty(bsz, self.num_heads, q_len, self.q_head_dim)
|
804 |
+
query_states[:, :, :, : self.qk_nope_head_dim] = q_nope
|
805 |
+
query_states[:, :, :, self.qk_nope_head_dim :] = q_pe
|
806 |
+
|
807 |
+
key_states = k_pe.new_empty(bsz, self.num_heads, q_len, self.q_head_dim)
|
808 |
+
key_states[:, :, :, : self.qk_nope_head_dim] = k_nope
|
809 |
+
key_states[:, :, :, self.qk_nope_head_dim :] = k_pe
|
810 |
+
if past_key_value is not None:
|
811 |
+
cache_kwargs = {"sin": sin, "cos": cos} # Specific to RoPE models
|
812 |
+
key_states, value_states = past_key_value.update(
|
813 |
+
key_states, value_states, self.layer_idx, cache_kwargs
|
814 |
+
)
|
815 |
+
|
816 |
+
attn_weights = (
|
817 |
+
torch.matmul(query_states, key_states.transpose(2, 3)) * self.softmax_scale
|
818 |
+
)
|
819 |
+
|
820 |
+
if attn_weights.size() != (bsz, self.num_heads, q_len, kv_seq_len):
|
821 |
+
raise ValueError(
|
822 |
+
f"Attention weights should be of size {(bsz, self.num_heads, q_len, kv_seq_len)}, but is"
|
823 |
+
f" {attn_weights.size()}"
|
824 |
+
)
|
825 |
+
assert attention_mask is not None
|
826 |
+
if attention_mask is not None:
|
827 |
+
if attention_mask.size() != (bsz, 1, q_len, kv_seq_len):
|
828 |
+
raise ValueError(
|
829 |
+
f"Attention mask should be of size {(bsz, 1, q_len, kv_seq_len)}, but is {attention_mask.size()}"
|
830 |
+
)
|
831 |
+
attn_weights = attn_weights + attention_mask
|
832 |
+
|
833 |
+
# upcast attention to fp32
|
834 |
+
attn_weights = nn.functional.softmax(
|
835 |
+
attn_weights, dim=-1, dtype=torch.float32
|
836 |
+
).to(query_states.dtype)
|
837 |
+
attn_weights = nn.functional.dropout(
|
838 |
+
attn_weights, p=self.attention_dropout, training=self.training
|
839 |
+
)
|
840 |
+
attn_output = torch.matmul(attn_weights, value_states)
|
841 |
+
|
842 |
+
if attn_output.size() != (bsz, self.num_heads, q_len, self.v_head_dim):
|
843 |
+
raise ValueError(
|
844 |
+
f"`attn_output` should be of size {(bsz, self.num_heads, q_len, self.v_head_dim)}, but is"
|
845 |
+
f" {attn_output.size()}"
|
846 |
+
)
|
847 |
+
|
848 |
+
attn_output = attn_output.transpose(1, 2).contiguous()
|
849 |
+
|
850 |
+
attn_output = attn_output.reshape(bsz, q_len, self.num_heads * self.v_head_dim)
|
851 |
+
|
852 |
+
attn_output = self.o_proj(attn_output)
|
853 |
+
|
854 |
+
if not output_attentions:
|
855 |
+
attn_weights = None
|
856 |
+
|
857 |
+
return attn_output, attn_weights, past_key_value
|
858 |
+
|
859 |
+
|
860 |
+
# Copied from transformers.models.llama.modeling_llama.LlamaFlashAttention2 with Llama->DeepseekV3
|
861 |
+
class DeepseekV3FlashAttention2(DeepseekV3Attention):
|
862 |
+
"""
|
863 |
+
DeepseekV3 flash attention module. This module inherits from `DeepseekV3Attention` as the weights of the module stays
|
864 |
+
untouched. The only required change would be on the forward pass where it needs to correctly call the public API of
|
865 |
+
flash attention and deal with padding tokens in case the input contains any of them.
|
866 |
+
"""
|
867 |
+
|
868 |
+
def __init__(self, *args, **kwargs):
|
869 |
+
super().__init__(*args, **kwargs)
|
870 |
+
|
871 |
+
# TODO: Should be removed once Flash Attention for RoCm is bumped to 2.1.
|
872 |
+
# flash_attn<2.1 generates top-left aligned causal mask, while what is needed here is bottom-right alignement, that was made default for flash_attn>=2.1. This attribute is used to handle this difference. Reference: https://github.com/Dao-AILab/flash-attention/releases/tag/v2.1.0.
|
873 |
+
# Beware that with flash_attn<2.1, using q_seqlen != k_seqlen (except for the case q_seqlen == 1) produces a wrong mask (top-left).
|
874 |
+
self._flash_attn_uses_top_left_mask = not is_flash_attn_greater_or_equal_2_10()
|
875 |
+
|
876 |
+
def forward(
|
877 |
+
self,
|
878 |
+
hidden_states: torch.Tensor,
|
879 |
+
attention_mask: Optional[torch.LongTensor] = None,
|
880 |
+
position_ids: Optional[torch.LongTensor] = None,
|
881 |
+
past_key_value: Optional[Cache] = None,
|
882 |
+
output_attentions: bool = False,
|
883 |
+
use_cache: bool = False,
|
884 |
+
**kwargs,
|
885 |
+
) -> Tuple[torch.Tensor, Optional[torch.Tensor], Optional[Tuple[torch.Tensor]]]:
|
886 |
+
# DeepseekV3FlashAttention2 attention does not support output_attentions
|
887 |
+
if "padding_mask" in kwargs:
|
888 |
+
warnings.warn(
|
889 |
+
"Passing `padding_mask` is deprecated and will be removed in v4.37. Please make sure use `attention_mask` instead.`"
|
890 |
+
)
|
891 |
+
|
892 |
+
# overwrite attention_mask with padding_mask
|
893 |
+
attention_mask = kwargs.pop("padding_mask")
|
894 |
+
|
895 |
+
output_attentions = False
|
896 |
+
|
897 |
+
bsz, q_len, _ = hidden_states.size()
|
898 |
+
|
899 |
+
if self.q_lora_rank is None:
|
900 |
+
q = self.q_proj(hidden_states)
|
901 |
+
else:
|
902 |
+
q = self.q_b_proj(self.q_a_layernorm(self.q_a_proj(hidden_states)))
|
903 |
+
q = q.view(bsz, q_len, self.num_heads, self.q_head_dim).transpose(1, 2)
|
904 |
+
q_nope, q_pe = torch.split(
|
905 |
+
q, [self.qk_nope_head_dim, self.qk_rope_head_dim], dim=-1
|
906 |
+
)
|
907 |
+
|
908 |
+
# Flash attention requires the input to have the shape
|
909 |
+
# batch_size x seq_length x head_dim x hidden_dim
|
910 |
+
# therefore we just need to keep the original shape
|
911 |
+
compressed_kv = self.kv_a_proj_with_mqa(hidden_states)
|
912 |
+
compressed_kv, k_pe = torch.split(
|
913 |
+
compressed_kv, [self.kv_lora_rank, self.qk_rope_head_dim], dim=-1
|
914 |
+
)
|
915 |
+
k_pe = k_pe.view(bsz, q_len, 1, self.qk_rope_head_dim).transpose(1, 2)
|
916 |
+
kv = (
|
917 |
+
self.kv_b_proj(self.kv_a_layernorm(compressed_kv))
|
918 |
+
.view(bsz, q_len, self.num_heads, self.qk_nope_head_dim + self.v_head_dim)
|
919 |
+
.transpose(1, 2)
|
920 |
+
)
|
921 |
+
|
922 |
+
k_nope, value_states = torch.split(
|
923 |
+
kv, [self.qk_nope_head_dim, self.v_head_dim], dim=-1
|
924 |
+
)
|
925 |
+
kv_seq_len = value_states.shape[-2]
|
926 |
+
|
927 |
+
kv_seq_len = value_states.shape[-2]
|
928 |
+
if past_key_value is not None:
|
929 |
+
kv_seq_len += past_key_value.get_usable_length(kv_seq_len, self.layer_idx)
|
930 |
+
|
931 |
+
cos, sin = self.rotary_emb(value_states, seq_len=kv_seq_len)
|
932 |
+
q_pe, k_pe = apply_rotary_pos_emb(q_pe, k_pe, cos, sin, position_ids)
|
933 |
+
|
934 |
+
query_states = k_pe.new_empty(bsz, self.num_heads, q_len, self.q_head_dim)
|
935 |
+
query_states[:, :, :, : self.qk_nope_head_dim] = q_nope
|
936 |
+
query_states[:, :, :, self.qk_nope_head_dim :] = q_pe
|
937 |
+
|
938 |
+
key_states = k_pe.new_empty(bsz, self.num_heads, q_len, self.q_head_dim)
|
939 |
+
key_states[:, :, :, : self.qk_nope_head_dim] = k_nope
|
940 |
+
key_states[:, :, :, self.qk_nope_head_dim :] = k_pe
|
941 |
+
|
942 |
+
if self.q_head_dim != self.v_head_dim:
|
943 |
+
value_states = F.pad(value_states, [0, self.q_head_dim - self.v_head_dim])
|
944 |
+
|
945 |
+
if past_key_value is not None:
|
946 |
+
cache_kwargs = {"sin": sin, "cos": cos} # Specific to RoPE models
|
947 |
+
key_states, value_states = past_key_value.update(
|
948 |
+
key_states, value_states, self.layer_idx, cache_kwargs
|
949 |
+
)
|
950 |
+
|
951 |
+
# TODO: These transpose are quite inefficient but Flash Attention requires the layout [batch_size, sequence_length, num_heads, head_dim]. We would need to refactor the KV cache
|
952 |
+
# to be able to avoid many of these transpose/reshape/view.
|
953 |
+
query_states = query_states.transpose(1, 2)
|
954 |
+
key_states = key_states.transpose(1, 2)
|
955 |
+
value_states = value_states.transpose(1, 2)
|
956 |
+
|
957 |
+
dropout_rate = self.attention_dropout if self.training else 0.0
|
958 |
+
|
959 |
+
# In PEFT, usually we cast the layer norms in float32 for training stability reasons
|
960 |
+
# therefore the input hidden states gets silently casted in float32. Hence, we need
|
961 |
+
# cast them back in the correct dtype just to be sure everything works as expected.
|
962 |
+
# This might slowdown training & inference so it is recommended to not cast the LayerNorms
|
963 |
+
# in fp32. (DeepseekV3RMSNorm handles it correctly)
|
964 |
+
|
965 |
+
input_dtype = query_states.dtype
|
966 |
+
if input_dtype == torch.float32:
|
967 |
+
# Handle the case where the model is quantized
|
968 |
+
if hasattr(self.config, "_pre_quantization_dtype"):
|
969 |
+
target_dtype = self.config._pre_quantization_dtype
|
970 |
+
elif torch.is_autocast_enabled():
|
971 |
+
target_dtype = torch.get_autocast_gpu_dtype()
|
972 |
+
else:
|
973 |
+
target_dtype = (
|
974 |
+
self.q_proj.weight.dtype
|
975 |
+
if self.q_lora_rank is None
|
976 |
+
else self.q_a_proj.weight.dtype
|
977 |
+
)
|
978 |
+
|
979 |
+
logger.warning_once(
|
980 |
+
f"The input hidden states seems to be silently casted in float32, this might be related to"
|
981 |
+
f" the fact you have upcasted embedding or layer norm layers in float32. We will cast back the input in"
|
982 |
+
f" {target_dtype}."
|
983 |
+
)
|
984 |
+
|
985 |
+
query_states = query_states.to(target_dtype)
|
986 |
+
key_states = key_states.to(target_dtype)
|
987 |
+
value_states = value_states.to(target_dtype)
|
988 |
+
|
989 |
+
attn_output = self._flash_attention_forward(
|
990 |
+
query_states,
|
991 |
+
key_states,
|
992 |
+
value_states,
|
993 |
+
attention_mask,
|
994 |
+
q_len,
|
995 |
+
dropout=dropout_rate,
|
996 |
+
softmax_scale=self.softmax_scale,
|
997 |
+
)
|
998 |
+
if self.q_head_dim != self.v_head_dim:
|
999 |
+
attn_output = attn_output[:, :, :, : self.v_head_dim]
|
1000 |
+
|
1001 |
+
attn_output = attn_output.reshape(
|
1002 |
+
bsz, q_len, self.num_heads * self.v_head_dim
|
1003 |
+
).contiguous()
|
1004 |
+
attn_output = self.o_proj(attn_output)
|
1005 |
+
|
1006 |
+
if not output_attentions:
|
1007 |
+
attn_weights = None
|
1008 |
+
|
1009 |
+
return attn_output, attn_weights, past_key_value
|
1010 |
+
|
1011 |
+
def _flash_attention_forward(
|
1012 |
+
self,
|
1013 |
+
query_states,
|
1014 |
+
key_states,
|
1015 |
+
value_states,
|
1016 |
+
attention_mask,
|
1017 |
+
query_length,
|
1018 |
+
dropout=0.0,
|
1019 |
+
softmax_scale=None,
|
1020 |
+
):
|
1021 |
+
"""
|
1022 |
+
Calls the forward method of Flash Attention - if the input hidden states contain at least one padding token
|
1023 |
+
first unpad the input, then computes the attention scores and pad the final attention scores.
|
1024 |
+
|
1025 |
+
Args:
|
1026 |
+
query_states (`torch.Tensor`):
|
1027 |
+
Input query states to be passed to Flash Attention API
|
1028 |
+
key_states (`torch.Tensor`):
|
1029 |
+
Input key states to be passed to Flash Attention API
|
1030 |
+
value_states (`torch.Tensor`):
|
1031 |
+
Input value states to be passed to Flash Attention API
|
1032 |
+
attention_mask (`torch.Tensor`):
|
1033 |
+
The padding mask - corresponds to a tensor of size `(batch_size, seq_len)` where 0 stands for the
|
1034 |
+
position of padding tokens and 1 for the position of non-padding tokens.
|
1035 |
+
dropout (`int`, *optional*):
|
1036 |
+
Attention dropout
|
1037 |
+
softmax_scale (`float`, *optional*):
|
1038 |
+
The scaling of QK^T before applying softmax. Default to 1 / sqrt(head_dim)
|
1039 |
+
"""
|
1040 |
+
if not self._flash_attn_uses_top_left_mask:
|
1041 |
+
causal = self.is_causal
|
1042 |
+
else:
|
1043 |
+
# TODO: Remove the `query_length != 1` check once Flash Attention for RoCm is bumped to 2.1. For details, please see the comment in DeepseekV3FlashAttention2 __init__.
|
1044 |
+
causal = self.is_causal and query_length != 1
|
1045 |
+
|
1046 |
+
# Contains at least one padding token in the sequence
|
1047 |
+
if attention_mask is not None:
|
1048 |
+
batch_size = query_states.shape[0]
|
1049 |
+
(
|
1050 |
+
query_states,
|
1051 |
+
key_states,
|
1052 |
+
value_states,
|
1053 |
+
indices_q,
|
1054 |
+
cu_seq_lens,
|
1055 |
+
max_seq_lens,
|
1056 |
+
) = self._upad_input(
|
1057 |
+
query_states, key_states, value_states, attention_mask, query_length
|
1058 |
+
)
|
1059 |
+
|
1060 |
+
cu_seqlens_q, cu_seqlens_k = cu_seq_lens
|
1061 |
+
max_seqlen_in_batch_q, max_seqlen_in_batch_k = max_seq_lens
|
1062 |
+
|
1063 |
+
attn_output_unpad = flash_attn_varlen_func(
|
1064 |
+
query_states,
|
1065 |
+
key_states,
|
1066 |
+
value_states,
|
1067 |
+
cu_seqlens_q=cu_seqlens_q,
|
1068 |
+
cu_seqlens_k=cu_seqlens_k,
|
1069 |
+
max_seqlen_q=max_seqlen_in_batch_q,
|
1070 |
+
max_seqlen_k=max_seqlen_in_batch_k,
|
1071 |
+
dropout_p=dropout,
|
1072 |
+
softmax_scale=softmax_scale,
|
1073 |
+
causal=causal,
|
1074 |
+
)
|
1075 |
+
|
1076 |
+
attn_output = pad_input(
|
1077 |
+
attn_output_unpad, indices_q, batch_size, query_length
|
1078 |
+
)
|
1079 |
+
else:
|
1080 |
+
attn_output = flash_attn_func(
|
1081 |
+
query_states,
|
1082 |
+
key_states,
|
1083 |
+
value_states,
|
1084 |
+
dropout,
|
1085 |
+
softmax_scale=softmax_scale,
|
1086 |
+
causal=causal,
|
1087 |
+
)
|
1088 |
+
|
1089 |
+
return attn_output
|
1090 |
+
|
1091 |
+
def _upad_input(
|
1092 |
+
self, query_layer, key_layer, value_layer, attention_mask, query_length
|
1093 |
+
):
|
1094 |
+
indices_k, cu_seqlens_k, max_seqlen_in_batch_k = _get_unpad_data(attention_mask)
|
1095 |
+
batch_size, kv_seq_len, num_key_value_heads, head_dim = key_layer.shape
|
1096 |
+
|
1097 |
+
key_layer = index_first_axis(
|
1098 |
+
key_layer.reshape(batch_size * kv_seq_len, num_key_value_heads, head_dim),
|
1099 |
+
indices_k,
|
1100 |
+
)
|
1101 |
+
value_layer = index_first_axis(
|
1102 |
+
value_layer.reshape(batch_size * kv_seq_len, num_key_value_heads, head_dim),
|
1103 |
+
indices_k,
|
1104 |
+
)
|
1105 |
+
if query_length == kv_seq_len:
|
1106 |
+
query_layer = index_first_axis(
|
1107 |
+
query_layer.reshape(batch_size * kv_seq_len, self.num_heads, head_dim),
|
1108 |
+
indices_k,
|
1109 |
+
)
|
1110 |
+
cu_seqlens_q = cu_seqlens_k
|
1111 |
+
max_seqlen_in_batch_q = max_seqlen_in_batch_k
|
1112 |
+
indices_q = indices_k
|
1113 |
+
elif query_length == 1:
|
1114 |
+
max_seqlen_in_batch_q = 1
|
1115 |
+
cu_seqlens_q = torch.arange(
|
1116 |
+
batch_size + 1, dtype=torch.int32, device=query_layer.device
|
1117 |
+
) # There is a memcpy here, that is very bad.
|
1118 |
+
indices_q = cu_seqlens_q[:-1]
|
1119 |
+
query_layer = query_layer.squeeze(1)
|
1120 |
+
else:
|
1121 |
+
# The -q_len: slice assumes left padding.
|
1122 |
+
attention_mask = attention_mask[:, -query_length:]
|
1123 |
+
query_layer, indices_q, cu_seqlens_q, max_seqlen_in_batch_q = unpad_input(
|
1124 |
+
query_layer, attention_mask
|
1125 |
+
)
|
1126 |
+
|
1127 |
+
return (
|
1128 |
+
query_layer,
|
1129 |
+
key_layer,
|
1130 |
+
value_layer,
|
1131 |
+
indices_q,
|
1132 |
+
(cu_seqlens_q, cu_seqlens_k),
|
1133 |
+
(max_seqlen_in_batch_q, max_seqlen_in_batch_k),
|
1134 |
+
)
|
1135 |
+
|
1136 |
+
|
1137 |
+
ATTENTION_CLASSES = {
|
1138 |
+
"eager": DeepseekV3Attention,
|
1139 |
+
"flash_attention_2": DeepseekV3FlashAttention2,
|
1140 |
+
}
|
1141 |
+
|
1142 |
+
|
1143 |
+
class DeepseekV3DecoderLayer(nn.Module):
|
1144 |
+
def __init__(self, config: DeepseekV3Config, layer_idx: int):
|
1145 |
+
super().__init__()
|
1146 |
+
self.hidden_size = config.hidden_size
|
1147 |
+
|
1148 |
+
self.self_attn = ATTENTION_CLASSES[config._attn_implementation](
|
1149 |
+
config=config, layer_idx=layer_idx
|
1150 |
+
)
|
1151 |
+
|
1152 |
+
self.mlp = (
|
1153 |
+
DeepseekV3MoE(config)
|
1154 |
+
if (
|
1155 |
+
config.n_routed_experts is not None
|
1156 |
+
and layer_idx >= config.first_k_dense_replace
|
1157 |
+
and layer_idx % config.moe_layer_freq == 0
|
1158 |
+
)
|
1159 |
+
else DeepseekV3MLP(config)
|
1160 |
+
)
|
1161 |
+
self.input_layernorm = DeepseekV3RMSNorm(
|
1162 |
+
config.hidden_size, eps=config.rms_norm_eps
|
1163 |
+
)
|
1164 |
+
self.post_attention_layernorm = DeepseekV3RMSNorm(
|
1165 |
+
config.hidden_size, eps=config.rms_norm_eps
|
1166 |
+
)
|
1167 |
+
|
1168 |
+
def forward(
|
1169 |
+
self,
|
1170 |
+
hidden_states: torch.Tensor,
|
1171 |
+
attention_mask: Optional[torch.Tensor] = None,
|
1172 |
+
position_ids: Optional[torch.LongTensor] = None,
|
1173 |
+
past_key_value: Optional[Tuple[torch.Tensor]] = None,
|
1174 |
+
output_attentions: Optional[bool] = False,
|
1175 |
+
use_cache: Optional[bool] = False,
|
1176 |
+
**kwargs,
|
1177 |
+
) -> Tuple[
|
1178 |
+
torch.FloatTensor, Optional[Tuple[torch.FloatTensor, torch.FloatTensor]]
|
1179 |
+
]:
|
1180 |
+
"""
|
1181 |
+
Args:
|
1182 |
+
hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)`
|
1183 |
+
attention_mask (`torch.FloatTensor`, *optional*):
|
1184 |
+
attention mask of size `(batch_size, sequence_length)` if flash attention is used or `(batch_size, 1,
|
1185 |
+
query_sequence_length, key_sequence_length)` if default attention is used.
|
1186 |
+
output_attentions (`bool`, *optional*):
|
1187 |
+
Whether or not to return the attentions tensors of all attention layers. See `attentions` under
|
1188 |
+
returned tensors for more detail.
|
1189 |
+
use_cache (`bool`, *optional*):
|
1190 |
+
If set to `True`, `past_key_values` key value states are returned and can be used to speed up decoding
|
1191 |
+
(see `past_key_values`).
|
1192 |
+
past_key_value (`Tuple(torch.FloatTensor)`, *optional*): cached past key and value projection states
|
1193 |
+
"""
|
1194 |
+
if "padding_mask" in kwargs:
|
1195 |
+
warnings.warn(
|
1196 |
+
"Passing `padding_mask` is deprecated and will be removed in v4.37. Please make sure use `attention_mask` instead.`"
|
1197 |
+
)
|
1198 |
+
residual = hidden_states
|
1199 |
+
|
1200 |
+
hidden_states = self.input_layernorm(hidden_states)
|
1201 |
+
|
1202 |
+
# Self Attention
|
1203 |
+
hidden_states, self_attn_weights, present_key_value = self.self_attn(
|
1204 |
+
hidden_states=hidden_states,
|
1205 |
+
attention_mask=attention_mask,
|
1206 |
+
position_ids=position_ids,
|
1207 |
+
past_key_value=past_key_value,
|
1208 |
+
output_attentions=output_attentions,
|
1209 |
+
use_cache=use_cache,
|
1210 |
+
**kwargs,
|
1211 |
+
)
|
1212 |
+
hidden_states = residual + hidden_states
|
1213 |
+
|
1214 |
+
# Fully Connected
|
1215 |
+
residual = hidden_states
|
1216 |
+
hidden_states = self.post_attention_layernorm(hidden_states)
|
1217 |
+
hidden_states = self.mlp(hidden_states)
|
1218 |
+
hidden_states = residual + hidden_states
|
1219 |
+
|
1220 |
+
outputs = (hidden_states,)
|
1221 |
+
|
1222 |
+
if output_attentions:
|
1223 |
+
outputs += (self_attn_weights,)
|
1224 |
+
|
1225 |
+
if use_cache:
|
1226 |
+
outputs += (present_key_value,)
|
1227 |
+
|
1228 |
+
return outputs
|
1229 |
+
|
1230 |
+
|
1231 |
+
DeepseekV3_START_DOCSTRING = r"""
|
1232 |
+
This model inherits from [`PreTrainedModel`]. Check the superclass documentation for the generic methods the
|
1233 |
+
library implements for all its model (such as downloading or saving, resizing the input embeddings, pruning heads
|
1234 |
+
etc.)
|
1235 |
+
|
1236 |
+
This model is also a PyTorch [torch.nn.Module](https://pytorch.org/docs/stable/nn.html#torch.nn.Module) subclass.
|
1237 |
+
Use it as a regular PyTorch Module and refer to the PyTorch documentation for all matter related to general usage
|
1238 |
+
and behavior.
|
1239 |
+
|
1240 |
+
Parameters:
|
1241 |
+
config ([`DeepseekV3Config`]):
|
1242 |
+
Model configuration class with all the parameters of the model. Initializing with a config file does not
|
1243 |
+
load the weights associated with the model, only the configuration. Check out the
|
1244 |
+
[`~PreTrainedModel.from_pretrained`] method to load the model weights.
|
1245 |
+
"""
|
1246 |
+
|
1247 |
+
|
1248 |
+
@add_start_docstrings(
|
1249 |
+
"The bare DeepseekV3 Model outputting raw hidden-states without any specific head on top.",
|
1250 |
+
DeepseekV3_START_DOCSTRING,
|
1251 |
+
)
|
1252 |
+
class DeepseekV3PreTrainedModel(PreTrainedModel):
|
1253 |
+
config_class = DeepseekV3Config
|
1254 |
+
base_model_prefix = "model"
|
1255 |
+
supports_gradient_checkpointing = True
|
1256 |
+
_no_split_modules = ["DeepseekV3DecoderLayer"]
|
1257 |
+
_skip_keys_device_placement = "past_key_values"
|
1258 |
+
_supports_flash_attn_2 = True
|
1259 |
+
_supports_cache_class = True
|
1260 |
+
|
1261 |
+
def _init_weights(self, module):
|
1262 |
+
std = self.config.initializer_range
|
1263 |
+
if isinstance(module, nn.Linear):
|
1264 |
+
module.weight.data.normal_(mean=0.0, std=std)
|
1265 |
+
if module.bias is not None:
|
1266 |
+
module.bias.data.zero_()
|
1267 |
+
elif isinstance(module, nn.Embedding):
|
1268 |
+
module.weight.data.normal_(mean=0.0, std=std)
|
1269 |
+
if module.padding_idx is not None:
|
1270 |
+
module.weight.data[module.padding_idx].zero_()
|
1271 |
+
|
1272 |
+
|
1273 |
+
DeepseekV3_INPUTS_DOCSTRING = r"""
|
1274 |
+
Args:
|
1275 |
+
input_ids (`torch.LongTensor` of shape `(batch_size, sequence_length)`):
|
1276 |
+
Indices of input sequence tokens in the vocabulary. Padding will be ignored by default should you provide
|
1277 |
+
it.
|
1278 |
+
|
1279 |
+
Indices can be obtained using [`AutoTokenizer`]. See [`PreTrainedTokenizer.encode`] and
|
1280 |
+
[`PreTrainedTokenizer.__call__`] for details.
|
1281 |
+
|
1282 |
+
[What are input IDs?](../glossary#input-ids)
|
1283 |
+
attention_mask (`torch.Tensor` of shape `(batch_size, sequence_length)`, *optional*):
|
1284 |
+
Mask to avoid performing attention on padding token indices. Mask values selected in `[0, 1]`:
|
1285 |
+
|
1286 |
+
- 1 for tokens that are **not masked**,
|
1287 |
+
- 0 for tokens that are **masked**.
|
1288 |
+
|
1289 |
+
[What are attention masks?](../glossary#attention-mask)
|
1290 |
+
|
1291 |
+
Indices can be obtained using [`AutoTokenizer`]. See [`PreTrainedTokenizer.encode`] and
|
1292 |
+
[`PreTrainedTokenizer.__call__`] for details.
|
1293 |
+
|
1294 |
+
If `past_key_values` is used, optionally only the last `input_ids` have to be input (see
|
1295 |
+
`past_key_values`).
|
1296 |
+
|
1297 |
+
If you want to change padding behavior, you should read [`modeling_opt._prepare_decoder_attention_mask`]
|
1298 |
+
and modify to your needs. See diagram 1 in [the paper](https://arxiv.org/abs/1910.13461) for more
|
1299 |
+
information on the default strategy.
|
1300 |
+
|
1301 |
+
- 1 indicates the head is **not masked**,
|
1302 |
+
- 0 indicates the head is **masked**.
|
1303 |
+
position_ids (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*):
|
1304 |
+
Indices of positions of each input sequence tokens in the position embeddings. Selected in the range `[0,
|
1305 |
+
config.n_positions - 1]`.
|
1306 |
+
|
1307 |
+
[What are position IDs?](../glossary#position-ids)
|
1308 |
+
past_key_values (`Cache` or `tuple(tuple(torch.FloatTensor))`, *optional*):
|
1309 |
+
Pre-computed hidden-states (key and values in the self-attention blocks and in the cross-attention
|
1310 |
+
blocks) that can be used to speed up sequential decoding. This typically consists in the `past_key_values`
|
1311 |
+
returned by the model at a previous stage of decoding, when `use_cache=True` or `config.use_cache=True`.
|
1312 |
+
|
1313 |
+
Two formats are allowed:
|
1314 |
+
- a [`~cache_utils.Cache`] instance;
|
1315 |
+
- Tuple of `tuple(torch.FloatTensor)` of length `config.n_layers`, with each tuple having 2 tensors of
|
1316 |
+
shape `(batch_size, num_heads, sequence_length, embed_size_per_head)`). This is also known as the legacy
|
1317 |
+
cache format.
|
1318 |
+
|
1319 |
+
The model will output the same cache format that is fed as input. If no `past_key_values` are passed, the
|
1320 |
+
legacy cache format will be returned.
|
1321 |
+
|
1322 |
+
If `past_key_values` are used, the user can optionally input only the last `input_ids` (those that don't
|
1323 |
+
have their past key value states given to this model) of shape `(batch_size, 1)` instead of all `input_ids`
|
1324 |
+
of shape `(batch_size, sequence_length)`.
|
1325 |
+
inputs_embeds (`torch.FloatTensor` of shape `(batch_size, sequence_length, hidden_size)`, *optional*):
|
1326 |
+
Optionally, instead of passing `input_ids` you can choose to directly pass an embedded representation. This
|
1327 |
+
is useful if you want more control over how to convert `input_ids` indices into associated vectors than the
|
1328 |
+
model's internal embedding lookup matrix.
|
1329 |
+
use_cache (`bool`, *optional*):
|
1330 |
+
If set to `True`, `past_key_values` key value states are returned and can be used to speed up decoding (see
|
1331 |
+
`past_key_values`).
|
1332 |
+
output_attentions (`bool`, *optional*):
|
1333 |
+
Whether or not to return the attentions tensors of all attention layers. See `attentions` under returned
|
1334 |
+
tensors for more detail.
|
1335 |
+
output_hidden_states (`bool`, *optional*):
|
1336 |
+
Whether or not to return the hidden states of all layers. See `hidden_states` under returned tensors for
|
1337 |
+
more detail.
|
1338 |
+
return_dict (`bool`, *optional*):
|
1339 |
+
Whether or not to return a [`~utils.ModelOutput`] instead of a plain tuple.
|
1340 |
+
"""
|
1341 |
+
|
1342 |
+
|
1343 |
+
@add_start_docstrings(
|
1344 |
+
"The bare DeepseekV3 Model outputting raw hidden-states without any specific head on top.",
|
1345 |
+
DeepseekV3_START_DOCSTRING,
|
1346 |
+
)
|
1347 |
+
class DeepseekV3Model(DeepseekV3PreTrainedModel):
|
1348 |
+
"""
|
1349 |
+
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`DeepseekV3DecoderLayer`]
|
1350 |
+
|
1351 |
+
Args:
|
1352 |
+
config: DeepseekV3Config
|
1353 |
+
"""
|
1354 |
+
|
1355 |
+
def __init__(self, config: DeepseekV3Config):
|
1356 |
+
super().__init__(config)
|
1357 |
+
self.padding_idx = config.pad_token_id
|
1358 |
+
self.vocab_size = config.vocab_size
|
1359 |
+
|
1360 |
+
self.embed_tokens = nn.Embedding(
|
1361 |
+
config.vocab_size, config.hidden_size, self.padding_idx
|
1362 |
+
)
|
1363 |
+
self.layers = nn.ModuleList(
|
1364 |
+
[
|
1365 |
+
DeepseekV3DecoderLayer(config, layer_idx)
|
1366 |
+
for layer_idx in range(config.num_hidden_layers)
|
1367 |
+
]
|
1368 |
+
)
|
1369 |
+
self._use_flash_attention_2 = config._attn_implementation == "flash_attention_2"
|
1370 |
+
self.norm = DeepseekV3RMSNorm(config.hidden_size, eps=config.rms_norm_eps)
|
1371 |
+
|
1372 |
+
self.gradient_checkpointing = False
|
1373 |
+
# Initialize weights and apply final processing
|
1374 |
+
self.post_init()
|
1375 |
+
|
1376 |
+
def get_input_embeddings(self):
|
1377 |
+
return self.embed_tokens
|
1378 |
+
|
1379 |
+
def set_input_embeddings(self, value):
|
1380 |
+
self.embed_tokens = value
|
1381 |
+
|
1382 |
+
@add_start_docstrings_to_model_forward(DeepseekV3_INPUTS_DOCSTRING)
|
1383 |
+
def forward(
|
1384 |
+
self,
|
1385 |
+
input_ids: torch.LongTensor = None,
|
1386 |
+
attention_mask: Optional[torch.Tensor] = None,
|
1387 |
+
position_ids: Optional[torch.LongTensor] = None,
|
1388 |
+
past_key_values: Optional[List[torch.FloatTensor]] = None,
|
1389 |
+
inputs_embeds: Optional[torch.FloatTensor] = None,
|
1390 |
+
use_cache: Optional[bool] = None,
|
1391 |
+
output_attentions: Optional[bool] = None,
|
1392 |
+
output_hidden_states: Optional[bool] = None,
|
1393 |
+
return_dict: Optional[bool] = None,
|
1394 |
+
) -> Union[Tuple, BaseModelOutputWithPast]:
|
1395 |
+
output_attentions = (
|
1396 |
+
output_attentions
|
1397 |
+
if output_attentions is not None
|
1398 |
+
else self.config.output_attentions
|
1399 |
+
)
|
1400 |
+
output_hidden_states = (
|
1401 |
+
output_hidden_states
|
1402 |
+
if output_hidden_states is not None
|
1403 |
+
else self.config.output_hidden_states
|
1404 |
+
)
|
1405 |
+
use_cache = use_cache if use_cache is not None else self.config.use_cache
|
1406 |
+
|
1407 |
+
return_dict = (
|
1408 |
+
return_dict if return_dict is not None else self.config.use_return_dict
|
1409 |
+
)
|
1410 |
+
|
1411 |
+
# retrieve input_ids and inputs_embeds
|
1412 |
+
if input_ids is not None and inputs_embeds is not None:
|
1413 |
+
raise ValueError(
|
1414 |
+
"You cannot specify both input_ids and inputs_embeds at the same time"
|
1415 |
+
)
|
1416 |
+
elif input_ids is not None:
|
1417 |
+
batch_size, seq_length = input_ids.shape[:2]
|
1418 |
+
elif inputs_embeds is not None:
|
1419 |
+
batch_size, seq_length = inputs_embeds.shape[:2]
|
1420 |
+
else:
|
1421 |
+
raise ValueError("You have to specify either input_ids or inputs_embeds")
|
1422 |
+
|
1423 |
+
past_key_values_length = 0
|
1424 |
+
if use_cache:
|
1425 |
+
use_legacy_cache = not isinstance(past_key_values, Cache)
|
1426 |
+
if use_legacy_cache:
|
1427 |
+
past_key_values = DynamicCache.from_legacy_cache(past_key_values)
|
1428 |
+
past_key_values_length = past_key_values.get_usable_length(seq_length)
|
1429 |
+
|
1430 |
+
if position_ids is None:
|
1431 |
+
device = input_ids.device if input_ids is not None else inputs_embeds.device
|
1432 |
+
position_ids = torch.arange(
|
1433 |
+
past_key_values_length,
|
1434 |
+
seq_length + past_key_values_length,
|
1435 |
+
dtype=torch.long,
|
1436 |
+
device=device,
|
1437 |
+
)
|
1438 |
+
position_ids = position_ids.unsqueeze(0)
|
1439 |
+
|
1440 |
+
if inputs_embeds is None:
|
1441 |
+
inputs_embeds = self.embed_tokens(input_ids)
|
1442 |
+
|
1443 |
+
if self._use_flash_attention_2:
|
1444 |
+
# 2d mask is passed through the layers
|
1445 |
+
attention_mask = (
|
1446 |
+
attention_mask
|
1447 |
+
if (attention_mask is not None and 0 in attention_mask)
|
1448 |
+
else None
|
1449 |
+
)
|
1450 |
+
else:
|
1451 |
+
# 4d mask is passed through the layers
|
1452 |
+
attention_mask = _prepare_4d_causal_attention_mask(
|
1453 |
+
attention_mask,
|
1454 |
+
(batch_size, seq_length),
|
1455 |
+
inputs_embeds,
|
1456 |
+
past_key_values_length,
|
1457 |
+
)
|
1458 |
+
|
1459 |
+
# embed positions
|
1460 |
+
hidden_states = inputs_embeds
|
1461 |
+
|
1462 |
+
# decoder layers
|
1463 |
+
all_hidden_states = () if output_hidden_states else None
|
1464 |
+
all_self_attns = () if output_attentions else None
|
1465 |
+
next_decoder_cache = None
|
1466 |
+
|
1467 |
+
for decoder_layer in self.layers:
|
1468 |
+
if output_hidden_states:
|
1469 |
+
all_hidden_states += (hidden_states,)
|
1470 |
+
|
1471 |
+
layer_outputs = decoder_layer(
|
1472 |
+
hidden_states,
|
1473 |
+
attention_mask=attention_mask,
|
1474 |
+
position_ids=position_ids,
|
1475 |
+
past_key_value=past_key_values,
|
1476 |
+
output_attentions=output_attentions,
|
1477 |
+
use_cache=use_cache,
|
1478 |
+
)
|
1479 |
+
|
1480 |
+
hidden_states = layer_outputs[0]
|
1481 |
+
|
1482 |
+
if use_cache:
|
1483 |
+
next_decoder_cache = layer_outputs[2 if output_attentions else 1]
|
1484 |
+
|
1485 |
+
if output_attentions:
|
1486 |
+
all_self_attns += (layer_outputs[1],)
|
1487 |
+
|
1488 |
+
hidden_states = self.norm(hidden_states)
|
1489 |
+
|
1490 |
+
# add hidden states from the last decoder layer
|
1491 |
+
if output_hidden_states:
|
1492 |
+
all_hidden_states += (hidden_states,)
|
1493 |
+
|
1494 |
+
next_cache = None
|
1495 |
+
if use_cache:
|
1496 |
+
next_cache = (
|
1497 |
+
next_decoder_cache.to_legacy_cache()
|
1498 |
+
if use_legacy_cache
|
1499 |
+
else next_decoder_cache
|
1500 |
+
)
|
1501 |
+
if not return_dict:
|
1502 |
+
return tuple(
|
1503 |
+
v
|
1504 |
+
for v in [hidden_states, next_cache, all_hidden_states, all_self_attns]
|
1505 |
+
if v is not None
|
1506 |
+
)
|
1507 |
+
return BaseModelOutputWithPast(
|
1508 |
+
last_hidden_state=hidden_states,
|
1509 |
+
past_key_values=next_cache,
|
1510 |
+
hidden_states=all_hidden_states,
|
1511 |
+
attentions=all_self_attns,
|
1512 |
+
)
|
1513 |
+
|
1514 |
+
|
1515 |
+
class DeepseekV3ForCausalLM(DeepseekV3PreTrainedModel):
|
1516 |
+
_tied_weights_keys = ["lm_head.weight"]
|
1517 |
+
|
1518 |
+
def __init__(self, config):
|
1519 |
+
super().__init__(config)
|
1520 |
+
self.model = DeepseekV3Model(config)
|
1521 |
+
self.vocab_size = config.vocab_size
|
1522 |
+
self.lm_head = nn.Linear(config.hidden_size, config.vocab_size, bias=False)
|
1523 |
+
|
1524 |
+
# Initialize weights and apply final processing
|
1525 |
+
self.post_init()
|
1526 |
+
|
1527 |
+
def get_input_embeddings(self):
|
1528 |
+
return self.model.embed_tokens
|
1529 |
+
|
1530 |
+
def set_input_embeddings(self, value):
|
1531 |
+
self.model.embed_tokens = value
|
1532 |
+
|
1533 |
+
def get_output_embeddings(self):
|
1534 |
+
return self.lm_head
|
1535 |
+
|
1536 |
+
def set_output_embeddings(self, new_embeddings):
|
1537 |
+
self.lm_head = new_embeddings
|
1538 |
+
|
1539 |
+
def set_decoder(self, decoder):
|
1540 |
+
self.model = decoder
|
1541 |
+
|
1542 |
+
def get_decoder(self):
|
1543 |
+
return self.model
|
1544 |
+
|
1545 |
+
@add_start_docstrings_to_model_forward(DeepseekV3_INPUTS_DOCSTRING)
|
1546 |
+
@replace_return_docstrings(
|
1547 |
+
output_type=CausalLMOutputWithPast, config_class=_CONFIG_FOR_DOC
|
1548 |
+
)
|
1549 |
+
def forward(
|
1550 |
+
self,
|
1551 |
+
input_ids: torch.LongTensor = None,
|
1552 |
+
attention_mask: Optional[torch.Tensor] = None,
|
1553 |
+
position_ids: Optional[torch.LongTensor] = None,
|
1554 |
+
past_key_values: Optional[List[torch.FloatTensor]] = None,
|
1555 |
+
inputs_embeds: Optional[torch.FloatTensor] = None,
|
1556 |
+
labels: Optional[torch.LongTensor] = None,
|
1557 |
+
use_cache: Optional[bool] = None,
|
1558 |
+
output_attentions: Optional[bool] = None,
|
1559 |
+
output_hidden_states: Optional[bool] = None,
|
1560 |
+
return_dict: Optional[bool] = None,
|
1561 |
+
) -> Union[Tuple, CausalLMOutputWithPast]:
|
1562 |
+
r"""
|
1563 |
+
Args:
|
1564 |
+
labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*):
|
1565 |
+
Labels for computing the masked language modeling loss. Indices should either be in `[0, transformers.,
|
1566 |
+
config.vocab_size]` or -100 (see `input_ids` docstring). Tokens with indices set to `-100` are ignored
|
1567 |
+
(masked), the loss is only computed for the tokens with labels in `[0, transformers., config.vocab_size]`.
|
1568 |
+
|
1569 |
+
Returns:
|
1570 |
+
|
1571 |
+
Example:
|
1572 |
+
|
1573 |
+
```python
|
1574 |
+
>>> from transformers import AutoTokenizer, DeepseekV3ForCausalLM
|
1575 |
+
|
1576 |
+
>>> model = DeepseekV3ForCausalLM.from_pretrained(PATH_TO_CONVERTED_WEIGHTS)
|
1577 |
+
>>> tokenizer = AutoTokenizer.from_pretrained(PATH_TO_CONVERTED_TOKENIZER)
|
1578 |
+
|
1579 |
+
>>> prompt = "Hey, are you conscious? Can you talk to me?"
|
1580 |
+
>>> inputs = tokenizer(prompt, return_tensors="pt")
|
1581 |
+
|
1582 |
+
>>> # Generate
|
1583 |
+
>>> generate_ids = model.generate(inputs.input_ids, max_length=30)
|
1584 |
+
>>> tokenizer.batch_decode(generate_ids, skip_special_tokens=True, clean_up_tokenization_spaces=False)[0]
|
1585 |
+
"Hey, are you conscious? Can you talk to me?\nI'm not conscious, but I can talk to you."
|
1586 |
+
```"""
|
1587 |
+
output_attentions = (
|
1588 |
+
output_attentions
|
1589 |
+
if output_attentions is not None
|
1590 |
+
else self.config.output_attentions
|
1591 |
+
)
|
1592 |
+
output_hidden_states = (
|
1593 |
+
output_hidden_states
|
1594 |
+
if output_hidden_states is not None
|
1595 |
+
else self.config.output_hidden_states
|
1596 |
+
)
|
1597 |
+
return_dict = (
|
1598 |
+
return_dict if return_dict is not None else self.config.use_return_dict
|
1599 |
+
)
|
1600 |
+
|
1601 |
+
# decoder outputs consists of (dec_features, layer_state, dec_hidden, dec_attn)
|
1602 |
+
outputs = self.model(
|
1603 |
+
input_ids=input_ids,
|
1604 |
+
attention_mask=attention_mask,
|
1605 |
+
position_ids=position_ids,
|
1606 |
+
past_key_values=past_key_values,
|
1607 |
+
inputs_embeds=inputs_embeds,
|
1608 |
+
use_cache=use_cache,
|
1609 |
+
output_attentions=output_attentions,
|
1610 |
+
output_hidden_states=output_hidden_states,
|
1611 |
+
return_dict=return_dict,
|
1612 |
+
)
|
1613 |
+
|
1614 |
+
hidden_states = outputs[0]
|
1615 |
+
logits = self.lm_head(hidden_states)
|
1616 |
+
logits = logits.float()
|
1617 |
+
|
1618 |
+
loss = None
|
1619 |
+
if labels is not None:
|
1620 |
+
# Shift so that tokens < n predict n
|
1621 |
+
shift_logits = logits[..., :-1, :].contiguous()
|
1622 |
+
shift_labels = labels[..., 1:].contiguous()
|
1623 |
+
# Flatten the tokens
|
1624 |
+
loss_fct = CrossEntropyLoss()
|
1625 |
+
shift_logits = shift_logits.view(-1, self.config.vocab_size)
|
1626 |
+
shift_labels = shift_labels.view(-1)
|
1627 |
+
# Enable model parallelism
|
1628 |
+
shift_labels = shift_labels.to(shift_logits.device)
|
1629 |
+
loss = loss_fct(shift_logits, shift_labels)
|
1630 |
+
|
1631 |
+
if not return_dict:
|
1632 |
+
output = (logits,) + outputs[1:]
|
1633 |
+
return (loss,) + output if loss is not None else output
|
1634 |
+
|
1635 |
+
return CausalLMOutputWithPast(
|
1636 |
+
loss=loss,
|
1637 |
+
logits=logits,
|
1638 |
+
past_key_values=outputs.past_key_values,
|
1639 |
+
hidden_states=outputs.hidden_states,
|
1640 |
+
attentions=outputs.attentions,
|
1641 |
+
)
|
1642 |
+
|
1643 |
+
def prepare_inputs_for_generation(
|
1644 |
+
self,
|
1645 |
+
input_ids,
|
1646 |
+
past_key_values=None,
|
1647 |
+
attention_mask=None,
|
1648 |
+
inputs_embeds=None,
|
1649 |
+
**kwargs,
|
1650 |
+
):
|
1651 |
+
if past_key_values is not None:
|
1652 |
+
if isinstance(past_key_values, Cache):
|
1653 |
+
cache_length = past_key_values.get_seq_length()
|
1654 |
+
past_length = past_key_values.seen_tokens
|
1655 |
+
max_cache_length = past_key_values.get_max_length()
|
1656 |
+
else:
|
1657 |
+
cache_length = past_length = past_key_values[0][0].shape[2]
|
1658 |
+
max_cache_length = None
|
1659 |
+
|
1660 |
+
# Keep only the unprocessed tokens:
|
1661 |
+
# 1 - If the length of the attention_mask exceeds the length of input_ids, then we are in a setting where
|
1662 |
+
# some of the inputs are exclusivelly passed as part of the cache (e.g. when passing input_embeds as
|
1663 |
+
# input)
|
1664 |
+
if (
|
1665 |
+
attention_mask is not None
|
1666 |
+
and attention_mask.shape[1] > input_ids.shape[1]
|
1667 |
+
):
|
1668 |
+
input_ids = input_ids[:, -(attention_mask.shape[1] - past_length) :]
|
1669 |
+
# 2 - If the past_length is smaller than input_ids', then input_ids holds all input tokens. We can discard
|
1670 |
+
# input_ids based on the past_length.
|
1671 |
+
elif past_length < input_ids.shape[1]:
|
1672 |
+
input_ids = input_ids[:, past_length:]
|
1673 |
+
# 3 - Otherwise (past_length >= input_ids.shape[1]), let's assume input_ids only has unprocessed tokens.
|
1674 |
+
|
1675 |
+
# If we are about to go beyond the maximum cache length, we need to crop the input attention mask.
|
1676 |
+
if (
|
1677 |
+
max_cache_length is not None
|
1678 |
+
and attention_mask is not None
|
1679 |
+
and cache_length + input_ids.shape[1] > max_cache_length
|
1680 |
+
):
|
1681 |
+
attention_mask = attention_mask[:, -max_cache_length:]
|
1682 |
+
|
1683 |
+
position_ids = kwargs.get("position_ids", None)
|
1684 |
+
if attention_mask is not None and position_ids is None:
|
1685 |
+
# create position_ids on the fly for batch generation
|
1686 |
+
position_ids = attention_mask.long().cumsum(-1) - 1
|
1687 |
+
position_ids.masked_fill_(attention_mask == 0, 1)
|
1688 |
+
if past_key_values:
|
1689 |
+
position_ids = position_ids[:, -input_ids.shape[1] :]
|
1690 |
+
|
1691 |
+
# if `inputs_embeds` are passed, we only want to use them in the 1st generation step
|
1692 |
+
if inputs_embeds is not None and past_key_values is None:
|
1693 |
+
model_inputs = {"inputs_embeds": inputs_embeds}
|
1694 |
+
else:
|
1695 |
+
model_inputs = {"input_ids": input_ids}
|
1696 |
+
|
1697 |
+
model_inputs.update(
|
1698 |
+
{
|
1699 |
+
"position_ids": position_ids,
|
1700 |
+
"past_key_values": past_key_values,
|
1701 |
+
"use_cache": kwargs.get("use_cache"),
|
1702 |
+
"attention_mask": attention_mask,
|
1703 |
+
}
|
1704 |
+
)
|
1705 |
+
return model_inputs
|
1706 |
+
|
1707 |
+
@staticmethod
|
1708 |
+
def _reorder_cache(past_key_values, beam_idx):
|
1709 |
+
reordered_past = ()
|
1710 |
+
for layer_past in past_key_values:
|
1711 |
+
reordered_past += (
|
1712 |
+
tuple(
|
1713 |
+
past_state.index_select(0, beam_idx.to(past_state.device))
|
1714 |
+
for past_state in layer_past
|
1715 |
+
),
|
1716 |
+
)
|
1717 |
+
return reordered_past
|
1718 |
+
|
1719 |
+
|
1720 |
+
@add_start_docstrings(
|
1721 |
+
"""
|
1722 |
+
The DeepseekV3 Model transformer with a sequence classification head on top (linear layer).
|
1723 |
+
|
1724 |
+
[`DeepseekV3ForSequenceClassification`] uses the last token in order to do the classification, as other causal models
|
1725 |
+
(e.g. GPT-2) do.
|
1726 |
+
|
1727 |
+
Since it does classification on the last token, it requires to know the position of the last token. If a
|
1728 |
+
`pad_token_id` is defined in the configuration, it finds the last token that is not a padding token in each row. If
|
1729 |
+
no `pad_token_id` is defined, it simply takes the last value in each row of the batch. Since it cannot guess the
|
1730 |
+
padding tokens when `inputs_embeds` are passed instead of `input_ids`, it does the same (take the last value in
|
1731 |
+
each row of the batch).
|
1732 |
+
""",
|
1733 |
+
DeepseekV3_START_DOCSTRING,
|
1734 |
+
)
|
1735 |
+
class DeepseekV3ForSequenceClassification(DeepseekV3PreTrainedModel):
|
1736 |
+
def __init__(self, config):
|
1737 |
+
super().__init__(config)
|
1738 |
+
self.num_labels = config.num_labels
|
1739 |
+
self.model = DeepseekV3Model(config)
|
1740 |
+
self.score = nn.Linear(config.hidden_size, self.num_labels, bias=False)
|
1741 |
+
|
1742 |
+
# Initialize weights and apply final processing
|
1743 |
+
self.post_init()
|
1744 |
+
|
1745 |
+
def get_input_embeddings(self):
|
1746 |
+
return self.model.embed_tokens
|
1747 |
+
|
1748 |
+
def set_input_embeddings(self, value):
|
1749 |
+
self.model.embed_tokens = value
|
1750 |
+
|
1751 |
+
@add_start_docstrings_to_model_forward(DeepseekV3_INPUTS_DOCSTRING)
|
1752 |
+
def forward(
|
1753 |
+
self,
|
1754 |
+
input_ids: torch.LongTensor = None,
|
1755 |
+
attention_mask: Optional[torch.Tensor] = None,
|
1756 |
+
position_ids: Optional[torch.LongTensor] = None,
|
1757 |
+
past_key_values: Optional[List[torch.FloatTensor]] = None,
|
1758 |
+
inputs_embeds: Optional[torch.FloatTensor] = None,
|
1759 |
+
labels: Optional[torch.LongTensor] = None,
|
1760 |
+
use_cache: Optional[bool] = None,
|
1761 |
+
output_attentions: Optional[bool] = None,
|
1762 |
+
output_hidden_states: Optional[bool] = None,
|
1763 |
+
return_dict: Optional[bool] = None,
|
1764 |
+
) -> Union[Tuple, SequenceClassifierOutputWithPast]:
|
1765 |
+
r"""
|
1766 |
+
labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*):
|
1767 |
+
Labels for computing the sequence classification/regression loss. Indices should be in `[0, transformers.,
|
1768 |
+
config.num_labels - 1]`. If `config.num_labels == 1` a regression loss is computed (Mean-Square loss), If
|
1769 |
+
`config.num_labels > 1` a classification loss is computed (Cross-Entropy).
|
1770 |
+
"""
|
1771 |
+
return_dict = (
|
1772 |
+
return_dict if return_dict is not None else self.config.use_return_dict
|
1773 |
+
)
|
1774 |
+
|
1775 |
+
transformer_outputs = self.model(
|
1776 |
+
input_ids,
|
1777 |
+
attention_mask=attention_mask,
|
1778 |
+
position_ids=position_ids,
|
1779 |
+
past_key_values=past_key_values,
|
1780 |
+
inputs_embeds=inputs_embeds,
|
1781 |
+
use_cache=use_cache,
|
1782 |
+
output_attentions=output_attentions,
|
1783 |
+
output_hidden_states=output_hidden_states,
|
1784 |
+
return_dict=return_dict,
|
1785 |
+
)
|
1786 |
+
hidden_states = transformer_outputs[0]
|
1787 |
+
logits = self.score(hidden_states)
|
1788 |
+
|
1789 |
+
if input_ids is not None:
|
1790 |
+
batch_size = input_ids.shape[0]
|
1791 |
+
else:
|
1792 |
+
batch_size = inputs_embeds.shape[0]
|
1793 |
+
|
1794 |
+
if self.config.pad_token_id is None and batch_size != 1:
|
1795 |
+
raise ValueError(
|
1796 |
+
"Cannot handle batch sizes > 1 if no padding token is defined."
|
1797 |
+
)
|
1798 |
+
if self.config.pad_token_id is None:
|
1799 |
+
sequence_lengths = -1
|
1800 |
+
else:
|
1801 |
+
if input_ids is not None:
|
1802 |
+
sequence_lengths = (
|
1803 |
+
torch.eq(input_ids, self.config.pad_token_id).int().argmax(-1) - 1
|
1804 |
+
).to(logits.device)
|
1805 |
+
else:
|
1806 |
+
sequence_lengths = -1
|
1807 |
+
|
1808 |
+
pooled_logits = logits[
|
1809 |
+
torch.arange(batch_size, device=logits.device), sequence_lengths
|
1810 |
+
]
|
1811 |
+
|
1812 |
+
loss = None
|
1813 |
+
if labels is not None:
|
1814 |
+
labels = labels.to(logits.device)
|
1815 |
+
if self.config.problem_type is None:
|
1816 |
+
if self.num_labels == 1:
|
1817 |
+
self.config.problem_type = "regression"
|
1818 |
+
elif self.num_labels > 1 and (
|
1819 |
+
labels.dtype == torch.long or labels.dtype == torch.int
|
1820 |
+
):
|
1821 |
+
self.config.problem_type = "single_label_classification"
|
1822 |
+
else:
|
1823 |
+
self.config.problem_type = "multi_label_classification"
|
1824 |
+
|
1825 |
+
if self.config.problem_type == "regression":
|
1826 |
+
loss_fct = MSELoss()
|
1827 |
+
if self.num_labels == 1:
|
1828 |
+
loss = loss_fct(pooled_logits.squeeze(), labels.squeeze())
|
1829 |
+
else:
|
1830 |
+
loss = loss_fct(pooled_logits, labels)
|
1831 |
+
elif self.config.problem_type == "single_label_classification":
|
1832 |
+
loss_fct = CrossEntropyLoss()
|
1833 |
+
loss = loss_fct(
|
1834 |
+
pooled_logits.view(-1, self.num_labels), labels.view(-1)
|
1835 |
+
)
|
1836 |
+
elif self.config.problem_type == "multi_label_classification":
|
1837 |
+
loss_fct = BCEWithLogitsLoss()
|
1838 |
+
loss = loss_fct(pooled_logits, labels)
|
1839 |
+
if not return_dict:
|
1840 |
+
output = (pooled_logits,) + transformer_outputs[1:]
|
1841 |
+
return ((loss,) + output) if loss is not None else output
|
1842 |
+
|
1843 |
+
return SequenceClassifierOutputWithPast(
|
1844 |
+
loss=loss,
|
1845 |
+
logits=pooled_logits,
|
1846 |
+
past_key_values=transformer_outputs.past_key_values,
|
1847 |
+
hidden_states=transformer_outputs.hidden_states,
|
1848 |
+
attentions=transformer_outputs.attentions,
|
1849 |
+
)
|
moe_one_file_ref.py
ADDED
@@ -0,0 +1,542 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import json
|
2 |
+
import logging
|
3 |
+
import math
|
4 |
+
import os
|
5 |
+
from dataclasses import dataclass
|
6 |
+
from pathlib import Path
|
7 |
+
from typing import List, Optional, Tuple
|
8 |
+
|
9 |
+
import fire
|
10 |
+
import safetensors.torch
|
11 |
+
import torch
|
12 |
+
from mistral_common.tokens.tokenizers.base import Tokenizer
|
13 |
+
from mistral_common.tokens.tokenizers.mistral import MistralTokenizer
|
14 |
+
from simple_parsing.helpers import Serializable
|
15 |
+
from torch import nn
|
16 |
+
|
17 |
+
|
18 |
+
@dataclass
|
19 |
+
class MoeArgs(Serializable):
|
20 |
+
num_experts: int
|
21 |
+
num_experts_per_tok: int
|
22 |
+
|
23 |
+
|
24 |
+
@dataclass
|
25 |
+
class TransformerArgs(Serializable):
|
26 |
+
dim: int
|
27 |
+
n_layers: int
|
28 |
+
head_dim: int
|
29 |
+
hidden_dim: int
|
30 |
+
n_heads: int
|
31 |
+
n_kv_heads: int
|
32 |
+
norm_eps: float
|
33 |
+
vocab_size: int
|
34 |
+
moe: MoeArgs
|
35 |
+
|
36 |
+
# For rotary embeddings. If not set, will be inferred
|
37 |
+
rope_theta: Optional[float] = None
|
38 |
+
|
39 |
+
max_batch_size: int = 0
|
40 |
+
max_seq_len: int = 0
|
41 |
+
|
42 |
+
|
43 |
+
def is_torchrun() -> bool:
|
44 |
+
required_vars = ["MASTER_ADDR", "MASTER_PORT", "RANK", "WORLD_SIZE"]
|
45 |
+
return all(var in os.environ for var in required_vars)
|
46 |
+
|
47 |
+
|
48 |
+
def repeat_kv(keys: torch.Tensor, values: torch.Tensor, repeats: int):
|
49 |
+
keys = torch.repeat_interleave(keys, repeats=repeats, dim=2)
|
50 |
+
values = torch.repeat_interleave(values, repeats=repeats, dim=2)
|
51 |
+
return keys, values
|
52 |
+
|
53 |
+
|
54 |
+
def _reshape_for_broadcast(freqs_cis: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
|
55 |
+
"""
|
56 |
+
freqs_cis: complex - (seq_len, head_dim / 2)
|
57 |
+
x: complex - (bsz, seq_len, head_dim / 2)
|
58 |
+
"""
|
59 |
+
ndim = x.ndim
|
60 |
+
assert 1 < ndim
|
61 |
+
assert freqs_cis.shape == (x.shape[1], x.shape[-1]), (
|
62 |
+
freqs_cis.shape,
|
63 |
+
(x.shape[1], x.shape[-1]),
|
64 |
+
)
|
65 |
+
shape = [d if i == 1 or i == ndim - 1 else 1 for i, d in enumerate(x.shape)]
|
66 |
+
return freqs_cis.view(*shape)
|
67 |
+
|
68 |
+
|
69 |
+
def apply_rotary_emb(
|
70 |
+
xq: torch.Tensor,
|
71 |
+
xk: torch.Tensor,
|
72 |
+
freqs_cis: torch.Tensor,
|
73 |
+
) -> Tuple[torch.Tensor, torch.Tensor]:
|
74 |
+
xq_ = torch.view_as_complex(xq.float().reshape(*xq.shape[:-1], -1, 2))
|
75 |
+
xk_ = torch.view_as_complex(xk.float().reshape(*xk.shape[:-1], -1, 2))
|
76 |
+
freqs_cis = _reshape_for_broadcast(freqs_cis, xq_)
|
77 |
+
xq_out = torch.view_as_real(xq_ * freqs_cis).flatten(3)
|
78 |
+
xk_out = torch.view_as_real(xk_ * freqs_cis).flatten(3)
|
79 |
+
return xq_out.type_as(xq), xk_out.type_as(xk)
|
80 |
+
|
81 |
+
|
82 |
+
class Attention(nn.Module):
|
83 |
+
def __init__(self, args: TransformerArgs):
|
84 |
+
super().__init__()
|
85 |
+
self.args = args
|
86 |
+
|
87 |
+
self.n_heads: int = args.n_heads
|
88 |
+
self.n_kv_heads: int = args.n_kv_heads
|
89 |
+
|
90 |
+
self.repeats = self.n_heads // self.n_kv_heads
|
91 |
+
|
92 |
+
self.scale = self.args.head_dim**-0.5
|
93 |
+
|
94 |
+
self.wq = nn.Linear(args.dim, args.n_heads * args.head_dim, bias=False)
|
95 |
+
self.wk = nn.Linear(args.dim, args.n_kv_heads * args.head_dim, bias=False)
|
96 |
+
self.wv = nn.Linear(args.dim, args.n_kv_heads * args.head_dim, bias=False)
|
97 |
+
self.wo = nn.Linear(args.n_heads * args.head_dim, args.dim, bias=False)
|
98 |
+
self._cache_k: Optional[torch.Tensor] = None
|
99 |
+
self._cache_v: Optional[torch.Tensor] = None
|
100 |
+
|
101 |
+
def get_caches(self, x: torch.Tensor) -> Tuple[torch.Tensor, torch.Tensor]:
|
102 |
+
dtype, device = x.dtype, x.device
|
103 |
+
assert x.shape[0] <= self.args.max_batch_size
|
104 |
+
assert x.shape[1] <= self.args.max_seq_len
|
105 |
+
if self._cache_k is None:
|
106 |
+
self._cache_k = torch.empty(
|
107 |
+
(
|
108 |
+
self.args.max_batch_size,
|
109 |
+
self.args.max_seq_len,
|
110 |
+
self.n_kv_heads,
|
111 |
+
self.args.head_dim,
|
112 |
+
),
|
113 |
+
dtype=dtype,
|
114 |
+
device=device,
|
115 |
+
)
|
116 |
+
if self._cache_v is None:
|
117 |
+
self._cache_v = torch.empty(
|
118 |
+
(
|
119 |
+
self.args.max_batch_size,
|
120 |
+
self.args.max_seq_len,
|
121 |
+
self.n_kv_heads,
|
122 |
+
self.args.head_dim,
|
123 |
+
),
|
124 |
+
dtype=dtype,
|
125 |
+
device=device,
|
126 |
+
)
|
127 |
+
return self._cache_k, self._cache_v
|
128 |
+
|
129 |
+
def forward(
|
130 |
+
self,
|
131 |
+
x: torch.Tensor,
|
132 |
+
freqs_cis: torch.Tensor,
|
133 |
+
positions: torch.Tensor,
|
134 |
+
mask: Optional[torch.Tensor],
|
135 |
+
) -> torch.Tensor:
|
136 |
+
bsz, seqlen, _ = x.shape
|
137 |
+
|
138 |
+
cache_k, cache_v = self.get_caches(x)
|
139 |
+
|
140 |
+
xq, xk, xv = self.wq(x), self.wk(x), self.wv(x)
|
141 |
+
xq = xq.view(bsz, seqlen, self.n_heads, self.args.head_dim)
|
142 |
+
xk = xk.view(bsz, seqlen, self.n_kv_heads, self.args.head_dim)
|
143 |
+
xv = xv.view(bsz, seqlen, self.n_kv_heads, self.args.head_dim)
|
144 |
+
xq, xk = apply_rotary_emb(xq, xk, freqs_cis=freqs_cis)
|
145 |
+
|
146 |
+
# Update cache
|
147 |
+
scatter_pos = positions[None, :, None, None].repeat(bsz, 1, self.n_kv_heads, self.args.head_dim)
|
148 |
+
cache_k[:bsz].scatter_(dim=1, index=scatter_pos, src=xk)
|
149 |
+
cache_v[:bsz].scatter_(dim=1, index=scatter_pos, src=xv)
|
150 |
+
|
151 |
+
if positions.shape[0] > 1:
|
152 |
+
# prefill
|
153 |
+
key, value = repeat_kv(xk, xv, self.repeats)
|
154 |
+
else:
|
155 |
+
assert mask is None
|
156 |
+
cur_pos = int(positions[-1].item() + 1)
|
157 |
+
key, value = repeat_kv(
|
158 |
+
cache_k[:bsz, :cur_pos, ...],
|
159 |
+
cache_v[:bsz, :cur_pos, ...],
|
160 |
+
self.repeats,
|
161 |
+
)
|
162 |
+
|
163 |
+
query = xq.transpose(1, 2)
|
164 |
+
key = key.transpose(1, 2)
|
165 |
+
value = value.transpose(1, 2)
|
166 |
+
# scores : [bsz, n_heads, seqlen | 1, seqlen]
|
167 |
+
scores = torch.matmul(query, key.transpose(2, 3)) * self.scale
|
168 |
+
|
169 |
+
if mask is not None:
|
170 |
+
scores += mask[None, None, ...]
|
171 |
+
|
172 |
+
scores = scores.float()
|
173 |
+
scores = nn.functional.softmax(scores, dim=-1).type_as(query)
|
174 |
+
output = torch.matmul(scores, value) # (bs, n_local_heads, slen, head_dim)
|
175 |
+
output = output.transpose(1, 2).contiguous().view(bsz, seqlen, -1)
|
176 |
+
return self.wo(output)
|
177 |
+
|
178 |
+
|
179 |
+
class FeedForward(nn.Module):
|
180 |
+
def __init__(self, args: TransformerArgs):
|
181 |
+
super().__init__()
|
182 |
+
self.w1 = nn.Linear(args.dim, args.hidden_dim, bias=False)
|
183 |
+
self.w2 = nn.Linear(args.hidden_dim, args.dim, bias=False)
|
184 |
+
self.w3 = nn.Linear(args.dim, args.hidden_dim, bias=False)
|
185 |
+
|
186 |
+
def forward(self, x) -> torch.Tensor:
|
187 |
+
return self.w2(nn.functional.silu(self.w1(x)) * self.w3(x))
|
188 |
+
|
189 |
+
|
190 |
+
class RMSNorm(torch.nn.Module):
|
191 |
+
def __init__(self, dim: int, eps: float = 1e-6):
|
192 |
+
super().__init__()
|
193 |
+
self.eps = eps
|
194 |
+
self.weight = nn.Parameter(torch.ones(dim))
|
195 |
+
|
196 |
+
def _norm(self, x):
|
197 |
+
return x * torch.rsqrt(x.pow(2).mean(-1, keepdim=True) + self.eps)
|
198 |
+
|
199 |
+
def forward(self, x):
|
200 |
+
output = self._norm(x.float()).type_as(x)
|
201 |
+
return output * self.weight
|
202 |
+
|
203 |
+
|
204 |
+
class MoeLayer(nn.Module):
|
205 |
+
def __init__(self, experts: List[nn.Module], gate: nn.Module, moe_args: MoeArgs):
|
206 |
+
super().__init__()
|
207 |
+
assert len(experts) > 0
|
208 |
+
self.experts = nn.ModuleList(experts)
|
209 |
+
self.gate = gate
|
210 |
+
self.args = moe_args
|
211 |
+
|
212 |
+
def forward(self, inputs: torch.Tensor):
|
213 |
+
inputs_squashed = inputs.view(-1, inputs.shape[-1])
|
214 |
+
gate_logits = self.gate(inputs_squashed)
|
215 |
+
weights, selected_experts = torch.topk(gate_logits, self.args.num_experts_per_tok)
|
216 |
+
weights = nn.functional.softmax(
|
217 |
+
weights,
|
218 |
+
dim=1,
|
219 |
+
dtype=torch.float,
|
220 |
+
).type_as(inputs)
|
221 |
+
results = torch.zeros_like(inputs_squashed)
|
222 |
+
for i, expert in enumerate(self.experts):
|
223 |
+
batch_idx, nth_expert = torch.where(selected_experts == i)
|
224 |
+
results[batch_idx] += weights[batch_idx, nth_expert, None] * expert(inputs_squashed[batch_idx])
|
225 |
+
return results.view_as(inputs)
|
226 |
+
|
227 |
+
|
228 |
+
class TransformerBlock(nn.Module):
|
229 |
+
def __init__(self, args: TransformerArgs):
|
230 |
+
super().__init__()
|
231 |
+
self.n_heads = args.n_heads
|
232 |
+
self.dim = args.dim
|
233 |
+
self.attention = Attention(args)
|
234 |
+
self.feed_forward = MoeLayer(
|
235 |
+
experts=[FeedForward(args=args) for _ in range(args.moe.num_experts)],
|
236 |
+
gate=nn.Linear(args.dim, args.moe.num_experts, bias=False),
|
237 |
+
moe_args=args.moe,
|
238 |
+
)
|
239 |
+
self.attention_norm = RMSNorm(args.dim, eps=args.norm_eps)
|
240 |
+
self.ffn_norm = RMSNorm(args.dim, eps=args.norm_eps)
|
241 |
+
self.args = args
|
242 |
+
|
243 |
+
def forward(
|
244 |
+
self,
|
245 |
+
x: torch.Tensor,
|
246 |
+
freqs_cis: torch.Tensor,
|
247 |
+
positions: torch.Tensor,
|
248 |
+
mask: Optional[torch.Tensor],
|
249 |
+
) -> torch.Tensor:
|
250 |
+
r = self.attention.forward(self.attention_norm(x), freqs_cis, positions, mask)
|
251 |
+
h = x + r
|
252 |
+
r = self.feed_forward.forward(self.ffn_norm(h))
|
253 |
+
out = h + r
|
254 |
+
return out
|
255 |
+
|
256 |
+
|
257 |
+
def precompute_freqs_cis(dim: int, end: int, theta: float) -> torch.Tensor:
|
258 |
+
freqs = 1.0 / (theta ** (torch.arange(0, dim, 2)[: (dim // 2)].float() / dim))
|
259 |
+
t = torch.arange(end, device=freqs.device) # type: ignore
|
260 |
+
freqs = torch.outer(t, freqs).float() # type: ignore
|
261 |
+
return torch.polar(torch.ones_like(freqs), freqs) # complex64
|
262 |
+
|
263 |
+
|
264 |
+
class Transformer(nn.Module):
|
265 |
+
def __init__(
|
266 |
+
self,
|
267 |
+
args: TransformerArgs,
|
268 |
+
pipeline_rank: int = 0,
|
269 |
+
num_pipeline_ranks: int = 1,
|
270 |
+
):
|
271 |
+
super().__init__()
|
272 |
+
self.args = args
|
273 |
+
self.vocab_size = args.vocab_size
|
274 |
+
assert self.vocab_size > 0
|
275 |
+
assert pipeline_rank < num_pipeline_ranks, (pipeline_rank, num_pipeline_ranks)
|
276 |
+
self.pipeline_rank = pipeline_rank
|
277 |
+
self.num_pipeline_ranks = num_pipeline_ranks
|
278 |
+
self._precomputed_freqs_cis: Optional[torch.Tensor] = None
|
279 |
+
|
280 |
+
# Modules specific to some ranks:
|
281 |
+
self.tok_embeddings: Optional[nn.Embedding] = None
|
282 |
+
self.norm: Optional[RMSNorm] = None
|
283 |
+
self.output: Optional[nn.Linear] = None
|
284 |
+
if pipeline_rank == 0:
|
285 |
+
self.tok_embeddings = nn.Embedding(args.vocab_size, args.dim)
|
286 |
+
if pipeline_rank == num_pipeline_ranks - 1:
|
287 |
+
self.norm = RMSNorm(args.dim, eps=args.norm_eps)
|
288 |
+
self.output = nn.Linear(args.dim, args.vocab_size, bias=False)
|
289 |
+
|
290 |
+
# Initialize all layers but slice off those not of this rank.
|
291 |
+
layers = [TransformerBlock(args=args) for _ in range(args.n_layers)]
|
292 |
+
num_layers_per_rank = math.ceil(args.n_layers / self.num_pipeline_ranks)
|
293 |
+
offset = self.pipeline_rank * num_layers_per_rank
|
294 |
+
end = min(args.n_layers, offset + num_layers_per_rank)
|
295 |
+
self.layers = nn.ModuleDict({str(i): layers[i] for i in range(offset, end)})
|
296 |
+
self.n_local_layers = len(self.layers)
|
297 |
+
|
298 |
+
@property
|
299 |
+
def dtype(self) -> torch.dtype:
|
300 |
+
return next(self.parameters()).dtype
|
301 |
+
|
302 |
+
@property
|
303 |
+
def device(self) -> torch.device:
|
304 |
+
return next(self.parameters()).device
|
305 |
+
|
306 |
+
@property
|
307 |
+
def freqs_cis(self) -> torch.Tensor:
|
308 |
+
# We cache freqs_cis but need to take care that it is on the right device
|
309 |
+
# and has the right dtype (complex64). The fact that the dtype is different
|
310 |
+
# from the module's dtype means we cannot register it as a buffer
|
311 |
+
if self._precomputed_freqs_cis is None:
|
312 |
+
theta = self.args.rope_theta or 1000000.0
|
313 |
+
self._precomputed_freqs_cis = precompute_freqs_cis(self.args.head_dim, 128_000, theta)
|
314 |
+
if self._precomputed_freqs_cis.device != self.device:
|
315 |
+
self._precomputed_freqs_cis = self._precomputed_freqs_cis.to(device=self.device)
|
316 |
+
return self._precomputed_freqs_cis
|
317 |
+
|
318 |
+
def forward(
|
319 |
+
self,
|
320 |
+
input_ids: torch.Tensor,
|
321 |
+
positions: torch.Tensor,
|
322 |
+
):
|
323 |
+
freqs_cis = self.freqs_cis[positions]
|
324 |
+
|
325 |
+
(bsz, seqlen) = input_ids.shape
|
326 |
+
bsz * seqlen
|
327 |
+
|
328 |
+
if self.pipeline_rank == 0:
|
329 |
+
assert self.tok_embeddings is not None
|
330 |
+
h = self.tok_embeddings(input_ids)
|
331 |
+
assert h.shape == (bsz, seqlen, self.args.dim)
|
332 |
+
assert h.dtype == self.dtype
|
333 |
+
else:
|
334 |
+
h = torch.empty(bsz, seqlen, self.args.dim, device=self.device, dtype=self.dtype)
|
335 |
+
torch.distributed.recv(h, src=self.pipeline_rank - 1)
|
336 |
+
|
337 |
+
mask: Optional[torch.Tensor] = None
|
338 |
+
if input_ids.shape[1] > 1:
|
339 |
+
tensor = torch.full(
|
340 |
+
(seqlen, seqlen),
|
341 |
+
dtype=h.dtype,
|
342 |
+
fill_value=1,
|
343 |
+
device=h.device,
|
344 |
+
)
|
345 |
+
mask = torch.log(torch.tril(tensor, diagonal=0)).to(h.dtype)
|
346 |
+
|
347 |
+
for layer in self.layers.values():
|
348 |
+
h = layer(h, freqs_cis, positions, mask)
|
349 |
+
|
350 |
+
if self.pipeline_rank < self.num_pipeline_ranks - 1:
|
351 |
+
torch.distributed.send(h, dst=self.pipeline_rank + 1)
|
352 |
+
outs = torch.empty(*h.shape[:-1], self.vocab_size, device=h.device, dtype=h.dtype)
|
353 |
+
else:
|
354 |
+
assert self.output is not None
|
355 |
+
assert self.norm is not None
|
356 |
+
outs = self.output(self.norm(h))
|
357 |
+
if self.num_pipeline_ranks > 1:
|
358 |
+
torch.distributed.broadcast(outs, src=self.num_pipeline_ranks - 1)
|
359 |
+
return outs.float()
|
360 |
+
|
361 |
+
def load_state_dict(self, state_dict, *args, **kwargs):
|
362 |
+
state_to_load = {}
|
363 |
+
skipped = set([])
|
364 |
+
for k, v in state_dict.items():
|
365 |
+
if k.startswith("tok_embeddings"):
|
366 |
+
if self.pipeline_rank == 0:
|
367 |
+
state_to_load[k] = v
|
368 |
+
else:
|
369 |
+
logging.debug(
|
370 |
+
"Skipping parameter %s at pipeline rank %d",
|
371 |
+
k,
|
372 |
+
self.pipeline_rank,
|
373 |
+
)
|
374 |
+
skipped.add(k)
|
375 |
+
elif k.startswith("norm") or k.startswith("output"):
|
376 |
+
if self.pipeline_rank == self.num_pipeline_ranks - 1:
|
377 |
+
state_to_load[k] = v
|
378 |
+
else:
|
379 |
+
logging.debug(
|
380 |
+
"Skipping parameter %s at pipeline rank %d",
|
381 |
+
k,
|
382 |
+
self.pipeline_rank,
|
383 |
+
)
|
384 |
+
skipped.add(k)
|
385 |
+
elif k.startswith("layers"):
|
386 |
+
layer_id = k.split(".")[1]
|
387 |
+
if layer_id in self.layers:
|
388 |
+
state_to_load[k] = v
|
389 |
+
else:
|
390 |
+
logging.debug(
|
391 |
+
"Skipping parameter %s at pipeline rank %d",
|
392 |
+
k,
|
393 |
+
self.pipeline_rank,
|
394 |
+
)
|
395 |
+
skipped.add(k)
|
396 |
+
else:
|
397 |
+
raise ValueError(f"Unexpected key {k}")
|
398 |
+
assert set(state_dict.keys()) == skipped.union(set(state_to_load.keys()))
|
399 |
+
super().load_state_dict(state_to_load, *args, **kwargs)
|
400 |
+
|
401 |
+
@staticmethod
|
402 |
+
def from_folder(
|
403 |
+
folder: Path,
|
404 |
+
max_batch_size: int,
|
405 |
+
max_seq_len: int,
|
406 |
+
num_pipeline_ranks: int = 1,
|
407 |
+
device="cuda",
|
408 |
+
dtype=torch.float16,
|
409 |
+
) -> "Transformer":
|
410 |
+
with open(folder / "params.json", "r") as f:
|
411 |
+
model_args = TransformerArgs.from_dict(json.load(f))
|
412 |
+
model_args.max_batch_size = max_batch_size
|
413 |
+
model_args.max_seq_len = max_seq_len
|
414 |
+
if num_pipeline_ranks > 1:
|
415 |
+
pipeline_rank = torch.distributed.get_rank()
|
416 |
+
else:
|
417 |
+
pipeline_rank = 0
|
418 |
+
with torch.device("meta"):
|
419 |
+
model = Transformer(
|
420 |
+
model_args,
|
421 |
+
pipeline_rank=pipeline_rank,
|
422 |
+
num_pipeline_ranks=num_pipeline_ranks,
|
423 |
+
)
|
424 |
+
|
425 |
+
pt_model_file = Path(folder) / "consolidated.00.pth"
|
426 |
+
safetensors_model_file = Path(folder) / "consolidated.safetensors"
|
427 |
+
|
428 |
+
assert (
|
429 |
+
pt_model_file.exists() or safetensors_model_file.exists()
|
430 |
+
), f"Make sure either {pt_model_file} or {safetensors_model_file} exists"
|
431 |
+
assert not (
|
432 |
+
pt_model_file.exists() and safetensors_model_file.exists()
|
433 |
+
), f"Both {pt_model_file} and {safetensors_model_file} cannot exist"
|
434 |
+
|
435 |
+
if pt_model_file.exists():
|
436 |
+
loaded = torch.load(str(pt_model_file), mmap=True)
|
437 |
+
else:
|
438 |
+
loaded = safetensors.torch.load_file(str(safetensors_model_file))
|
439 |
+
|
440 |
+
model.load_state_dict(loaded, assign=True, strict=True)
|
441 |
+
|
442 |
+
return model.to(device=device, dtype=dtype)
|
443 |
+
|
444 |
+
|
445 |
+
def load_tokenizer(model_path: Path) -> MistralTokenizer:
|
446 |
+
tokenizer = [f for f in os.listdir(Path(model_path)) if f.startswith("tokenizer.model")]
|
447 |
+
assert (
|
448 |
+
len(tokenizer) == 1
|
449 |
+
), f"Multiple tokenizers {', '.join(tokenizer)} found in `model_path`, make sure to only have one tokenizer"
|
450 |
+
|
451 |
+
tokenizer = MistralTokenizer.from_file(str(model_path / tokenizer[0]))
|
452 |
+
|
453 |
+
return tokenizer
|
454 |
+
|
455 |
+
|
456 |
+
@torch.no_grad()
|
457 |
+
def generate(prompts: List[str], model: Transformer, tokenizer: Tokenizer, max_tokens: int):
|
458 |
+
encoded_prompts = [tokenizer.encode(prompt, bos=True, eos=False) for prompt in prompts]
|
459 |
+
prompt_lens = [len(x) for x in encoded_prompts]
|
460 |
+
min_prompt_len = min(prompt_lens)
|
461 |
+
max_prompt_len = max(prompt_lens)
|
462 |
+
|
463 |
+
input_tokens = torch.full(
|
464 |
+
(len(prompts), max_prompt_len),
|
465 |
+
tokenizer._model.pad_id(),
|
466 |
+
dtype=torch.long,
|
467 |
+
device="cuda",
|
468 |
+
)
|
469 |
+
for i, encoded in enumerate(encoded_prompts):
|
470 |
+
input_tokens[i, : len(encoded)] = torch.tensor(encoded).to(input_tokens)
|
471 |
+
input_mask = input_tokens != tokenizer._model.pad_id()
|
472 |
+
|
473 |
+
# pre-fill
|
474 |
+
positions = torch.arange(0, min_prompt_len).to("cuda")
|
475 |
+
logits = model.forward(input_tokens[:, :min_prompt_len], positions)
|
476 |
+
logprobs = nn.functional.log_softmax(logits, dim=-1)
|
477 |
+
|
478 |
+
# decode
|
479 |
+
generated = []
|
480 |
+
all_logprobs = [
|
481 |
+
logprobs[:, :-1, :].gather(2, input_tokens[:, 1:min_prompt_len, None]).squeeze(-1),
|
482 |
+
]
|
483 |
+
for cur_pos in range(min_prompt_len, max_tokens):
|
484 |
+
next_token = torch.argmax(logprobs[:, -1, :], dim=-1)
|
485 |
+
if cur_pos < input_mask.shape[1]:
|
486 |
+
next_token = torch.where(input_mask[:, cur_pos], input_tokens[:, cur_pos], next_token)
|
487 |
+
all_logprobs.append(
|
488 |
+
logprobs[:, -1, :].gather(1, next_token[:, None]),
|
489 |
+
)
|
490 |
+
generated.append(next_token[:, None])
|
491 |
+
logits = model.forward(next_token[:, None], torch.LongTensor([cur_pos]).to(next_token))
|
492 |
+
logprobs = nn.functional.log_softmax(logits, dim=-1)
|
493 |
+
|
494 |
+
all_logprobs_merged = torch.cat(all_logprobs, 1)
|
495 |
+
res = []
|
496 |
+
if max_tokens > 0:
|
497 |
+
generated = torch.cat(generated, 1)
|
498 |
+
for i, x in enumerate(encoded_prompts):
|
499 |
+
res.append(tokenizer.decode(x[:min_prompt_len] + generated[i].tolist()))
|
500 |
+
return res, all_logprobs_merged
|
501 |
+
|
502 |
+
|
503 |
+
def demo(model_path: str, max_tokens: int = 30):
|
504 |
+
if is_torchrun():
|
505 |
+
torch.distributed.init_process_group()
|
506 |
+
torch.cuda.set_device(torch.distributed.get_rank())
|
507 |
+
should_print = torch.distributed.get_rank() == 0
|
508 |
+
|
509 |
+
num_pipeline_ranks = torch.distributed.get_world_size()
|
510 |
+
else:
|
511 |
+
should_print = True
|
512 |
+
num_pipeline_ranks = 1
|
513 |
+
|
514 |
+
mistral_tokenizer: MistralTokenizer = load_tokenizer(Path(model_path))
|
515 |
+
tokenizer: Tokenizer = mistral_tokenizer.instruct_tokenizer.tokenizer
|
516 |
+
|
517 |
+
transformer = Transformer.from_folder(
|
518 |
+
Path(model_path),
|
519 |
+
max_batch_size=3,
|
520 |
+
max_seq_len=max_tokens,
|
521 |
+
num_pipeline_ranks=num_pipeline_ranks,
|
522 |
+
)
|
523 |
+
|
524 |
+
res, logprobs = generate(
|
525 |
+
[
|
526 |
+
"This is a test",
|
527 |
+
"This is another great test",
|
528 |
+
"This is a third test, mistral AI is very good at testing. ",
|
529 |
+
],
|
530 |
+
transformer,
|
531 |
+
tokenizer,
|
532 |
+
max_tokens=max_tokens,
|
533 |
+
)
|
534 |
+
if should_print:
|
535 |
+
for x, log_prob in zip(res, logprobs):
|
536 |
+
print(x)
|
537 |
+
logging.debug("logprobs: %s", log_prob)
|
538 |
+
print("=====================")
|
539 |
+
|
540 |
+
|
541 |
+
if __name__ == "__main__":
|
542 |
+
fire.Fire(demo)
|
national_May2021_dl.csv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
nem-onet-to-soc-crosswalk.xlsx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5aac9713a7e73b428819b20e3b895c97adbf09b4b59ac8c9423a340dbe129a4a
|
3 |
+
size 119105
|
occupation_2023_final.xlsx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bdd15e84f2ac5672fc09affe2a268cf7198b8a1b1890f1947724ffabb0b821d1
|
3 |
+
size 502707
|
occupations_onet_basic_skills.csv
ADDED
@@ -0,0 +1,874 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Occupation,Job Zone,Active_Learning_Importance,Active_Learning_Level,Critical_Thinking_Importance,Critical_Thinking_Level,Learning_Strategies_Importance,Learning_Strategies_Level,Monitoring_Importance,Monitoring_Level,Active_Listening_Importance,Active_Listening_Level,Mathematics_Importance,Mathematics_Level,Programming_Importance,Programming_Level,Reading_Comprehension_Importance,Reading_Comprehension_Level,Science_Importance,Science_Level,Speaking_Importance,Speaking_Level,Writing_Importance,Writing_Level
|
2 |
+
"Judges, Magistrate Judges, and Magistrates",5,75,66,97,82,44,41,72,59,100,84,28,30,6,Not relevant,81,68,19,20,78,70,78,70
|
3 |
+
Marriage and Family Therapists,5,69,61,72,61,53,54,66,57,97,71,22,25,6,Not relevant,75,61,38,41,81,61,75,61
|
4 |
+
"Child, Family, and School Social Workers",4,60,54,78,61,53,45,72,55,97,68,25,27,10,7,75,59,31,29,88,59,69,59
|
5 |
+
Mental Health Counselors,5,63,59,69,64,56,55,72,57,94,70,25,30,16,9,78,66,47,50,81,61,75,61
|
6 |
+
Psychiatrists,5,75,63,81,66,69,57,75,59,91,71,38,34,13,9,78,71,72,59,81,63,78,63
|
7 |
+
Clinical and Counseling Psychologists,5,75,58,78,58,56,54,69,57,91,68,28,27,6,Not relevant,74,68,61,50,86,63,75,59
|
8 |
+
Lawyers,5,72,61,81,70,50,45,66,54,91,68,28,30,13,11,85,70,16,13,91,70,75,70
|
9 |
+
Labor Relations Specialists,4,63,55,72,57,56,48,63,54,88,61,41,39,10,7,81,59,0,Not relevant,85,64,78,61
|
10 |
+
Farm and Home Management Educators,5,72,64,69,59,72,61,60,57,88,59,47,52,19,21,75,64,44,41,78,59,72,59
|
11 |
+
"Arbitrators, Mediators, and Conciliators",5,69,57,75,68,50,43,47,50,85,70,25,29,13,7,75,61,16,9,78,68,78,63
|
12 |
+
Clergy,5,72,59,69,59,69,61,60,59,85,64,35,36,13,7,78,68,16,13,91,68,78,63
|
13 |
+
"Education Administrators, Kindergarten through Secondary",5,72,59,81,63,81,66,75,68,85,64,53,46,19,11,81,66,19,20,85,63,78,63
|
14 |
+
School Psychologists,5,66,55,75,59,63,55,75,57,85,64,44,34,19,11,81,68,25,25,81,61,75,59
|
15 |
+
Allergists and Immunologists,5,75,66,81,61,63,52,81,61,85,63,47,43,10,Not available,88,66,66,Not available,85,59,78,59
|
16 |
+
"Educational, Guidance, and Career Counselors and Advisors",5,72,55,75,57,69,52,69,54,85,59,28,30,19,14,78,61,16,9,81,57,75,57
|
17 |
+
Sports Medicine Physicians,5,72,63,81,64,66,55,78,55,85,59,38,41,22,18,88,66,56,Not available,75,61,69,55
|
18 |
+
Air Traffic Controllers,3,69,54,78,59,53,48,75,61,85,57,47,43,19,11,69,57,19,21,81,55,53,45
|
19 |
+
"Administrative Law Judges, Adjudicators, and Hearing Officers",5,69,59,81,73,50,41,66,57,81,79,28,34,13,7,81,68,16,11,75,68,78,70
|
20 |
+
Family Medicine Physicians,5,75,57,85,64,56,46,75,57,81,70,44,41,6,Not relevant,81,71,72,57,78,63,78,59
|
21 |
+
"Law Teachers, Postsecondary",5,75,68,75,70,81,64,60,54,81,70,25,32,19,11,81,73,16,11,91,71,75,71
|
22 |
+
Equal Opportunity Representatives and Officers,4,69,57,75,64,50,48,60,55,81,66,38,39,22,21,78,68,16,11,75,61,72,63
|
23 |
+
Industrial-Organizational Psychologists,5,66,59,75,61,60,57,72,59,81,66,56,57,44,48,81,68,69,54,78,66,75,68
|
24 |
+
Neurologists,5,69,66,78,70,60,61,75,66,81,64,47,46,19,13,78,79,69,59,78,63,75,63
|
25 |
+
"Ophthalmologists, Except Pediatric",5,66,63,85,70,56,55,69,61,81,64,47,50,16,13,78,79,69,59,78,63,69,61
|
26 |
+
Urologists,5,63,55,78,59,50,48,69,57,81,64,38,36,13,14,81,70,72,57,69,57,81,59
|
27 |
+
Substance Abuse and Behavioral Disorder Counselors,5,69,57,78,59,56,54,75,57,81,63,25,29,19,14,75,61,25,20,81,61,75,57
|
28 |
+
Advanced Practice Psychiatric Nurses,5,72,57,75,57,69,52,69,55,81,61,38,36,13,7,75,61,44,39,75,57,72,57
|
29 |
+
Judicial Law Clerks,5,69,59,81,66,50,43,50,46,81,61,22,25,13,9,88,70,0,Not relevant,75,61,78,63
|
30 |
+
Public Safety Telecommunicators,2,56,43,69,55,44,43,60,45,81,59,31,27,19,13,66,52,13,9,81,59,53,46
|
31 |
+
Speech-Language Pathology Assistants,3,50,39,60,50,53,45,60,50,81,57,31,34,10,5,66,54,19,20,63,54,53,48
|
32 |
+
Chief Executives,5,75,68,85,68,53,55,78,79,78,70,56,52,16,9,78,68,22,16,85,70,75,63
|
33 |
+
Nurse Practitioners,5,75,59,78,59,63,55,75,59,78,70,50,45,10,7,78,70,69,55,75,57,75,57
|
34 |
+
"Criminal Justice and Law Enforcement Teachers, Postsecondary",5,75,57,78,59,75,57,72,57,78,68,25,29,10,7,75,70,19,21,94,70,75,64
|
35 |
+
Obstetricians and Gynecologists,5,75,59,85,64,60,54,72,57,78,68,38,41,6,Not relevant,78,75,75,64,78,57,75,59
|
36 |
+
"Education Teachers, Postsecondary",5,75,61,69,57,78,64,72,57,78,66,28,32,13,7,81,70,25,29,91,70,75,70
|
37 |
+
Hospitalists,5,78,70,78,68,56,57,75,63,78,66,50,43,13,7,78,73,60,50,78,63,72,63
|
38 |
+
Audiologists,5,75,63,75,61,60,55,69,59,78,64,47,43,19,14,78,71,50,46,75,63,75,61
|
39 |
+
Naturopathic Physicians,5,69,55,78,59,60,54,60,57,78,64,44,37,16,11,81,71,53,45,78,59,75,57
|
40 |
+
Preventive Medicine Physicians,5,78,70,81,71,69,64,72,64,78,64,53,48,22,13,85,79,72,66,75,66,75,68
|
41 |
+
"Anthropology and Archeology Teachers, Postsecondary",5,75,63,72,61,81,61,72,59,78,63,35,45,13,7,81,71,72,57,88,70,78,71
|
42 |
+
Biochemists and Biophysicists,5,78,75,81,73,75,63,72,61,78,63,72,68,31,39,85,75,94,73,78,66,81,73
|
43 |
+
Bioengineers and Biomedical Engineers,4,66,68,81,68,53,59,69,59,78,63,69,66,50,50,78,73,72,66,72,63,69,61
|
44 |
+
"Pediatricians, General",5,75,59,81,64,56,46,75,57,78,63,35,41,10,7,78,71,75,59,81,59,75,57
|
45 |
+
"Philosophy and Religion Teachers, Postsecondary",5,69,63,75,61,72,66,56,55,78,63,25,30,19,11,81,70,19,20,78,68,75,71
|
46 |
+
Urban and Regional Planners,5,56,59,75,61,50,41,50,52,78,63,50,50,19,20,75,63,41,39,78,61,72,59
|
47 |
+
"Airline Pilots, Copilots, and Flight Engineers",4,69,59,78,59,50,45,78,61,78,61,53,50,13,7,72,59,44,39,69,54,53,46
|
48 |
+
Anesthesiologists,5,66,59,88,63,56,48,78,63,78,61,50,48,3,Not relevant,75,70,75,55,72,57,75,57
|
49 |
+
Clinical Nurse Specialists,5,75,63,78,61,63,55,72,59,78,61,47,45,6,Not relevant,78,63,56,54,75,61,72,59
|
50 |
+
General Internal Medicine Physicians,5,72,57,75,68,53,52,72,57,78,61,47,41,19,13,78,71,75,57,75,59,75,59
|
51 |
+
Optometrists,5,53,55,78,61,53,45,56,50,78,61,50,43,22,16,78,70,69,55,75,57,75,57
|
52 |
+
Speech-Language Pathologists,5,66,57,72,57,72,57,69,59,78,61,28,37,19,13,72,64,47,43,72,59,69,61
|
53 |
+
Veterinarians,5,75,63,72,61,50,43,56,54,78,61,53,45,6,Not relevant,78,70,72,59,72,61,63,59
|
54 |
+
Advertising and Promotions Managers,4,56,59,75,59,50,46,56,61,78,59,50,46,19,11,69,57,16,9,75,59,69,55
|
55 |
+
"Communications Teachers, Postsecondary",5,75,61,72,59,75,64,69,55,78,59,28,39,16,9,78,68,25,27,78,70,75,66
|
56 |
+
First-Line Supervisors of Police and Detectives,3,72,55,75,59,69,55,75,63,78,59,38,37,19,14,72,57,19,16,75,57,66,55
|
57 |
+
Government Property Inspectors and Investigators,3,63,48,75,59,50,45,60,59,78,59,47,45,19,18,75,61,22,18,75,59,75,57
|
58 |
+
Intelligence Analysts,4,63,50,75,61,50,45,53,50,78,59,47,45,25,29,78,68,25,25,75,59,75,57
|
59 |
+
Management Analysts,5,60,54,78,59,50,50,72,57,78,59,50,46,19,13,78,59,25,27,75,57,75,57
|
60 |
+
Medical Transcriptionists,3,47,41,50,45,28,30,53,41,78,59,19,14,10,7,75,57,13,9,50,45,72,52
|
61 |
+
Nurse Midwives,5,75,59,78,63,56,48,75,59,78,59,41,37,16,9,75,59,47,46,78,59,72,57
|
62 |
+
Private Detectives and Investigators,3,60,48,72,59,38,30,60,50,78,59,31,30,19,14,72,57,13,9,75,55,66,52
|
63 |
+
Radiologists,5,66,57,78,64,60,54,72,59,78,59,44,41,16,14,78,71,63,50,75,57,81,63
|
64 |
+
"Sales Representatives, Wholesale and Manufacturing, Technical and Scientific Products",4,63,54,60,54,44,43,53,45,78,59,47,41,25,14,69,59,13,9,81,57,60,52
|
65 |
+
Training and Development Specialists,4,66,54,72,57,81,70,75,61,78,59,41,37,10,5,75,61,22,29,78,61,72,61
|
66 |
+
Detectives and Criminal Investigators,3,61,53,78,59,49,43,56,46,78,58,35,31,17,12,74,56,36,33,77,57,69,54
|
67 |
+
Community Health Workers,4,66,52,69,54,60,54,60,54,78,57,31,30,13,11,72,57,6,Not relevant,78,57,75,55
|
68 |
+
"Eligibility Interviewers, Government Programs",3,50,43,69,54,44,34,50,45,78,57,25,25,10,7,72,57,10,5,88,57,69,52
|
69 |
+
Health Education Specialists,4,72,52,69,57,75,59,56,54,78,57,28,32,10,7,69,57,38,39,78,61,78,57
|
70 |
+
Human Resources Managers,4,69,57,69,59,56,54,66,59,78,57,41,43,19,20,75,59,16,14,78,57,72,57
|
71 |
+
Hydroelectric Production Managers,3,66,52,69,57,66,54,72,54,78,57,56,50,28,20,72,59,56,46,78,59,63,55
|
72 |
+
Loan Interviewers and Clerks,3,60,50,69,57,41,39,50,43,78,57,53,45,19,16,72,57,3,Not relevant,75,57,66,55
|
73 |
+
Lodging Managers,4,69,55,69,55,60,52,69,54,78,57,41,41,16,13,72,55,0,Not relevant,75,57,72,57
|
74 |
+
Mental Health and Substance Abuse Social Workers,5,56,55,75,57,69,55,75,57,78,57,25,29,22,14,75,59,41,39,78,57,69,57
|
75 |
+
Music Therapists,4,56,54,75,57,69,54,69,57,78,57,25,23,10,5,75,57,19,13,75,55,56,54
|
76 |
+
"News Analysts, Reporters, and Journalists",4,63,54,70,58,34,34,61,49,78,57,20,19,16,11,78,62,2,Not relevant,78,66,78,63
|
77 |
+
Occupational Therapists,5,72,55,75,57,72,55,78,57,78,57,25,29,19,14,75,57,44,39,75,57,75,57
|
78 |
+
Patient Representatives,3,56,50,66,54,44,43,53,43,78,57,25,29,19,13,72,55,22,18,72,57,56,54
|
79 |
+
Public Relations Specialists,4,56,52,72,57,41,43,53,46,78,57,28,27,10,7,72,57,10,Not relevant,78,59,75,55
|
80 |
+
Travel Agents,3,53,45,53,54,38,32,50,41,78,57,47,36,19,11,75,54,6,Not relevant,75,45,53,43
|
81 |
+
Tutors,4,66,50,66,52,78,55,63,52,78,55,41,34,10,11,72,52,16,Not available,72,52,60,52
|
82 |
+
"Credit Authorizers, Checkers, and Clerks",2,53,43,64,50,34,32,52,43,78,54,31,Not available,5,Not relevant,66,52,3,Not relevant,72,51,61,49
|
83 |
+
Anthropologists and Archeologists,5,74,60,75,62,58,55,53,54,77,61,50,46,19,19,80,70,72,62,77,65,81,71
|
84 |
+
"Psychology Teachers, Postsecondary",5,72,66,72,61,81,71,63,55,75,70,50,46,22,14,78,71,60,59,78,71,75,71
|
85 |
+
"Forestry and Conservation Science Teachers, Postsecondary",5,75,61,72,61,78,59,72,55,75,68,50,45,22,16,78,71,56,48,75,68,78,70
|
86 |
+
Healthcare Social Workers,5,69,57,75,57,53,52,56,55,75,68,25,29,16,11,75,61,41,37,78,61,72,59
|
87 |
+
Natural Sciences Managers,5,63,68,75,63,63,55,75,59,75,68,53,57,22,23,75,71,78,70,72,61,72,71
|
88 |
+
Physicists,5,75,79,78,70,72,71,56,57,75,68,81,79,60,55,81,84,91,82,78,68,75,71
|
89 |
+
"Agricultural Sciences Teachers, Postsecondary",5,75,64,75,59,78,66,72,61,75,66,50,46,19,13,78,71,63,52,78,71,75,71
|
90 |
+
"Atmospheric, Earth, Marine, and Space Sciences Teachers, Postsecondary",5,72,61,75,61,72,61,66,59,75,66,60,57,22,14,75,73,75,59,94,68,75,68
|
91 |
+
"Foreign Language and Literature Teachers, Postsecondary",5,72,57,69,55,75,57,66,55,75,66,25,23,19,13,75,70,19,20,78,68,75,68
|
92 |
+
"Health Specialties Teachers, Postsecondary",5,75,57,75,59,75,59,66,55,75,66,50,43,10,7,78,71,56,50,78,70,75,71
|
93 |
+
"Library Science Teachers, Postsecondary",5,75,63,75,59,75,63,75,59,75,66,31,32,19,11,78,71,28,30,78,68,75,68
|
94 |
+
Molecular and Cellular Biologists,5,72,66,78,70,72,64,69,63,75,66,69,63,28,36,85,80,94,71,75,68,81,71
|
95 |
+
"Nursing Instructors and Teachers, Postsecondary",5,72,57,72,61,78,61,72,59,75,66,47,41,22,16,75,71,47,39,78,68,75,70
|
96 |
+
"Physics Teachers, Postsecondary",5,75,63,75,70,75,63,66,57,75,66,66,57,22,16,78,71,78,66,78,71,75,71
|
97 |
+
Podiatrists,5,69,68,75,61,53,52,63,52,75,66,44,43,16,11,75,77,66,54,75,61,66,55
|
98 |
+
Sociologists,5,72,59,72,61,69,57,66,55,75,66,38,48,13,11,78,70,60,52,72,64,75,68
|
99 |
+
Epidemiologists,5,78,66,81,68,63,52,69,59,75,64,63,57,16,11,81,71,85,75,78,61,75,63
|
100 |
+
Physical Medicine and Rehabilitation Physicians,5,66,61,78,66,53,57,69,63,75,64,47,48,19,13,75,71,56,57,75,61,69,57
|
101 |
+
Political Scientists,5,69,55,75,64,56,48,50,52,75,64,44,45,10,9,78,68,47,46,78,64,72,63
|
102 |
+
"Architecture Teachers, Postsecondary",5,72,64,72,63,78,63,69,59,75,63,47,54,22,14,78,71,35,37,78,70,75,71
|
103 |
+
Bioinformatics Scientists,5,66,61,78,63,50,52,60,59,75,63,63,59,28,Not available,78,70,69,Not available,75,61,72,68
|
104 |
+
"Biological Science Teachers, Postsecondary",5,75,64,72,59,78,63,72,55,75,63,53,46,13,7,75,73,75,57,81,68,75,68
|
105 |
+
Instructional Coordinators,5,72,59,72,59,81,68,75,61,75,63,44,41,16,9,75,66,13,9,78,63,78,64
|
106 |
+
Nuclear Engineers,4,66,59,75,68,50,46,75,57,75,63,72,61,19,16,75,68,78,63,72,57,72,66
|
107 |
+
"Physicians, Pathologists",5,75,68,78,66,53,54,63,57,75,63,50,45,22,25,81,80,75,57,72,66,78,71
|
108 |
+
"Area, Ethnic, and Cultural Studies Teachers, Postsecondary",5,75,57,72,59,75,57,53,55,75,61,25,30,19,14,81,70,38,39,78,68,75,70
|
109 |
+
Atmospheric and Space Scientists,4,72,57,75,59,56,46,53,52,75,61,50,55,25,20,78,70,75,70,75,59,75,57
|
110 |
+
"Education Administrators, Postsecondary",5,72,57,78,61,69,57,75,61,75,61,47,45,10,7,78,66,13,7,75,61,75,61
|
111 |
+
"English Language and Literature Teachers, Postsecondary",5,72,57,69,57,75,71,66,57,75,61,25,27,10,9,94,71,19,13,78,68,81,70
|
112 |
+
Environmental Economists,5,72,57,75,61,56,54,63,54,75,61,75,68,22,25,75,68,35,37,63,59,78,63
|
113 |
+
"Environmental Science Teachers, Postsecondary",5,72,61,75,61,75,61,72,57,75,61,50,46,10,5,78,71,75,64,78,64,75,68
|
114 |
+
"Family and Consumer Sciences Teachers, Postsecondary",5,66,59,69,57,75,61,63,57,75,61,41,41,19,11,75,66,31,32,78,68,66,59
|
115 |
+
Health Informatics Specialists,4,69,68,72,61,72,55,69,57,75,61,47,41,44,45,81,70,28,27,75,59,75,57
|
116 |
+
Interpreters and Translators,4,53,43,66,55,50,45,66,54,75,61,25,18,3,Not relevant,72,57,3,Not relevant,78,57,69,57
|
117 |
+
"Medical Scientists, Except Epidemiologists",5,78,71,75,68,60,55,66,59,75,61,66,59,25,23,75,75,78,71,78,63,81,70
|
118 |
+
Microsystems Engineers,5,63,55,75,59,56,48,66,54,75,61,60,55,41,36,75,68,66,55,66,57,69,57
|
119 |
+
Orthotists and Prosthetists,5,69,61,75,59,50,50,56,52,75,61,50,45,16,11,78,63,44,46,75,59,75,59
|
120 |
+
Pharmacists,5,66,55,72,63,50,50,72,61,75,61,60,48,16,11,78,70,69,54,72,59,72,57
|
121 |
+
Registered Nurses,4,63,59,75,59,56,52,69,57,75,61,47,45,16,9,72,61,47,41,75,61,69,55
|
122 |
+
Actuaries,4,60,59,81,68,50,50,53,52,75,59,81,70,38,39,78,66,28,29,72,57,60,57
|
123 |
+
Adapted Physical Education Specialists,5,75,55,72,55,72,57,72,55,75,59,25,29,6,Not relevant,72,57,13,13,75,57,72,55
|
124 |
+
"Art, Drama, and Music Teachers, Postsecondary",5,75,61,66,55,78,61,69,55,75,59,25,30,10,5,75,66,19,16,91,68,72,59
|
125 |
+
Astronomers,5,75,68,78,61,63,54,60,55,75,59,75,71,31,30,81,73,81,71,72,70,75,71
|
126 |
+
Biologists,5,72,66,75,64,53,52,60,54,75,59,69,61,44,52,75,71,91,71,75,64,75,70
|
127 |
+
"Business Teachers, Postsecondary",5,72,63,72,63,75,68,66,57,75,59,50,46,22,18,75,71,22,20,81,70,75,71
|
128 |
+
"Career/Technical Education Teachers, Secondary School",4,66,54,72,55,72,57,72,57,75,59,47,45,19,14,75,59,19,13,75,59,72,55
|
129 |
+
Chiropractors,5,60,55,72,59,47,45,53,48,75,59,35,36,13,7,72,64,60,54,72,55,69,55
|
130 |
+
Compensation and Benefits Managers,4,69,54,72,57,50,43,63,48,75,59,47,41,13,9,75,57,3,Not relevant,75,57,69,57
|
131 |
+
Dermatologists,5,69,55,78,61,53,46,63,55,75,59,31,36,22,16,72,70,66,54,72,57,63,57
|
132 |
+
"Economics Teachers, Postsecondary",5,69,59,72,59,72,57,50,52,75,59,56,54,22,20,75,63,35,41,78,61,75,59
|
133 |
+
"Engineering Teachers, Postsecondary",5,66,59,72,59,78,61,60,59,75,59,72,64,25,23,75,70,63,52,78,70,72,68
|
134 |
+
Environmental Engineers,4,69,59,75,61,53,45,72,61,75,59,60,57,19,16,75,66,53,52,72,61,75,59
|
135 |
+
"Environmental Scientists and Specialists, Including Health",4,66,57,75,59,50,55,63,59,75,59,60,59,25,37,75,71,72,66,72,63,72,64
|
136 |
+
Financial Examiners,4,66,59,78,64,60,55,72,61,75,59,66,55,16,14,78,61,6,Not relevant,75,59,75,57
|
137 |
+
"Fraud Examiners, Investigators and Analysts",4,72,50,75,59,50,43,60,45,75,59,47,43,19,14,75,61,6,Not relevant,75,57,78,59
|
138 |
+
Fundraisers,4,56,50,72,57,47,43,53,50,75,59,50,43,13,7,75,57,10,5,78,63,75,59
|
139 |
+
"History Teachers, Postsecondary",5,72,57,72,55,78,61,66,57,75,59,25,29,6,Not relevant,81,68,22,25,88,68,78,68
|
140 |
+
Industrial Engineers,4,56,55,75,59,44,43,60,61,75,59,56,55,22,16,75,64,28,25,72,59,69,59
|
141 |
+
Investment Fund Managers,5,69,55,75,57,47,45,63,57,75,59,60,52,19,Not available,75,61,0,Not relevant,72,59,66,55
|
142 |
+
Logistics Engineers,4,69,55,72,61,50,50,56,55,75,59,72,57,41,32,78,63,38,41,69,57,75,59
|
143 |
+
Materials Engineers,4,56,64,72,61,50,52,53,55,75,59,69,57,22,25,75,68,75,68,69,59,69,63
|
144 |
+
Materials Scientists,5,72,57,78,59,53,48,60,59,75,59,60,57,22,14,78,70,78,71,72,61,72,61
|
145 |
+
Orthoptists,5,56,55,75,57,56,55,53,54,75,59,44,43,19,11,66,66,66,54,72,57,63,57
|
146 |
+
Physical Therapists,5,53,46,75,55,53,45,72,55,75,59,28,37,16,13,75,63,41,39,75,59,72,57
|
147 |
+
Physician Assistants,5,72,59,78,66,53,48,72,57,75,59,50,43,22,16,78,68,66,55,75,57,75,57
|
148 |
+
Range Managers,4,56,52,69,57,44,43,66,61,75,59,47,46,13,9,72,59,47,48,69,57,56,57
|
149 |
+
Rehabilitation Counselors,4,53,46,66,55,53,54,72,59,75,59,25,29,13,7,69,57,31,29,75,57,66,57
|
150 |
+
"Secondary School Teachers, Except Special and Career/Technical Education",4,66,54,72,55,75,63,72,59,75,59,47,43,19,11,75,59,25,25,78,59,69,55
|
151 |
+
"Social Work Teachers, Postsecondary",5,75,70,75,61,81,70,69,55,75,59,41,37,19,14,75,70,41,37,91,70,75,68
|
152 |
+
"Sociology Teachers, Postsecondary",5,66,63,69,59,75,70,69,55,75,59,28,46,13,7,75,70,44,54,91,68,75,68
|
153 |
+
"Special Education Teachers, Preschool",5,66,54,72,55,69,57,69,57,75,59,31,30,19,14,72,59,25,21,78,61,69,57
|
154 |
+
Survey Researchers,5,60,57,78,61,50,48,50,52,75,59,63,61,31,32,75,61,44,39,75,59,75,59
|
155 |
+
Fire Inspectors and Investigators,3,55,52,74,58,49,43,56,49,75,58,42,40,17,13,63,58,50,46,72,56,64,54
|
156 |
+
Administrative Services Managers,3,53,48,69,55,50,46,60,52,75,57,31,30,10,9,75,57,0,Not relevant,72,55,69,54
|
157 |
+
"Agents and Business Managers of Artists, Performers, and Athletes",4,63,50,69,54,41,39,47,43,75,57,28,29,13,7,75,57,16,9,75,57,66,55
|
158 |
+
Agricultural Engineers,4,56,55,78,61,47,45,53,54,75,57,72,57,28,23,75,66,60,48,72,57,72,61
|
159 |
+
Airfield Operations Specialists,3,56,46,69,55,50,45,75,59,75,57,28,30,10,5,69,57,16,11,69,55,60,46
|
160 |
+
Architectural and Engineering Managers,5,72,55,72,61,56,45,69,57,75,57,72,61,22,16,78,63,41,39,75,57,75,59
|
161 |
+
Art Directors,4,60,54,69,57,50,46,56,54,75,57,35,41,16,13,69,55,10,5,75,57,56,57
|
162 |
+
Art Therapists,5,69,55,72,57,53,55,72,57,75,57,28,30,22,13,72,57,25,25,75,59,66,57
|
163 |
+
Athletic Trainers,5,69,57,72,59,53,55,72,59,75,57,28,30,6,Not relevant,69,55,35,27,72,57,63,55
|
164 |
+
Broadcast Announcers and Radio Disc Jockeys,4,56,46,69,55,28,34,56,48,75,57,22,18,6,Not relevant,75,55,0,Not relevant,91,63,56,57
|
165 |
+
Budget Analysts,4,56,48,69,55,47,39,53,48,75,57,69,50,22,16,72,57,6,Not relevant,69,48,56,54
|
166 |
+
"Career/Technical Education Teachers, Middle School",4,63,50,72,55,75,57,72,54,75,57,38,34,19,11,75,59,22,20,78,57,66,52
|
167 |
+
"Career/Technical Education Teachers, Postsecondary",3,72,57,69,54,75,57,66,57,75,57,31,32,13,9,72,55,22,14,72,57,66,57
|
168 |
+
"Chemistry Teachers, Postsecondary",5,75,57,75,57,75,57,75,57,75,57,56,54,22,16,78,71,75,61,78,71,78,70
|
169 |
+
Chief Sustainability Officers,5,69,55,78,59,60,54,69,57,75,57,47,45,22,16,75,61,28,27,75,59,78,61
|
170 |
+
Civil Engineers,4,56,66,72,66,47,52,56,55,75,57,72,68,22,27,72,71,69,57,72,55,56,55
|
171 |
+
Clinical Research Coordinators,4,60,57,69,57,53,48,66,54,75,57,47,43,16,13,75,61,50,43,72,57,75,57
|
172 |
+
Coaches and Scouts,4,72,57,75,57,78,57,78,68,75,57,28,29,6,Not relevant,75,57,16,16,85,57,66,57
|
173 |
+
Commercial and Industrial Designers,4,50,57,69,57,44,41,53,54,75,57,44,50,22,21,72,59,41,39,63,57,53,55
|
174 |
+
Compliance Officers,3,56,43,66,55,41,39,53,46,75,57,35,32,19,16,72,57,0,Not relevant,72,57,63,54
|
175 |
+
Computer and Information Systems Managers,4,60,55,78,57,56,50,72,63,75,57,53,45,44,37,75,57,19,20,72,55,69,57
|
176 |
+
Computer Systems Engineers/Architects,4,69,57,78,55,50,46,63,54,75,57,53,46,60,59,78,61,53,50,69,55,72,57
|
177 |
+
Computer User Support Specialists,3,53,46,69,57,47,45,50,45,75,57,31,30,28,30,75,57,19,21,75,57,66,45
|
178 |
+
Critical Care Nurses,4,72,57,75,59,50,52,78,57,75,57,47,41,19,13,75,57,50,45,75,57,60,57
|
179 |
+
Customs and Border Protection Officers,3,60,45,75,55,41,41,66,54,75,57,31,30,13,7,72,55,22,16,75,57,66,54
|
180 |
+
Customs Brokers,3,56,52,69,55,53,43,56,52,75,57,50,43,22,20,72,57,0,Not relevant,69,57,69,55
|
181 |
+
"Dentists, General",5,72,64,78,63,53,54,75,57,75,57,44,43,16,11,75,71,69,54,75,57,56,57
|
182 |
+
Dietitians and Nutritionists,5,66,59,75,59,69,59,72,59,75,57,50,43,19,14,75,70,56,52,75,59,72,61
|
183 |
+
Economists,5,72,57,78,64,53,50,53,52,75,57,78,61,25,25,78,68,25,32,75,61,75,61
|
184 |
+
"Education and Childcare Administrators, Preschool and Daycare",4,63,55,75,57,66,55,75,59,75,57,47,41,13,9,75,59,13,11,75,57,69,57
|
185 |
+
"Elementary School Teachers, Except Special Education",4,69,55,75,57,78,64,72,61,75,57,47,39,13,7,75,57,28,25,81,57,72,55
|
186 |
+
Emergency Management Directors,4,69,63,75,63,66,55,75,63,75,57,50,45,16,9,75,61,28,23,78,61,75,61
|
187 |
+
"Environmental Science and Protection Technicians, Including Health",4,53,45,72,54,50,45,56,55,75,57,53,45,19,16,72,57,66,48,69,54,66,55
|
188 |
+
Executive Secretaries and Executive Administrative Assistants,3,53,45,56,54,47,43,53,52,75,57,44,32,22,18,75,57,10,5,72,55,69,54
|
189 |
+
Exercise Physiologists,4,56,55,75,57,56,54,69,57,75,57,47,43,22,16,75,64,47,43,75,59,72,57
|
190 |
+
Financial Managers,4,69,57,75,57,63,57,75,64,75,57,56,48,10,5,75,57,10,5,75,57,72,57
|
191 |
+
First-Line Supervisors of Correctional Officers,3,56,46,75,57,53,45,75,61,75,57,28,29,13,7,69,57,13,7,72,57,63,52
|
192 |
+
First-Line Supervisors of Non-Retail Sales Workers,4,63,52,66,55,56,52,75,61,75,57,50,43,13,9,66,59,0,Not relevant,75,57,66,57
|
193 |
+
Food Scientists and Technologists,4,69,55,72,61,50,43,72,55,75,57,53,45,16,13,75,61,60,48,72,57,75,57
|
194 |
+
General and Operations Managers,4,63,52,72,57,50,46,75,57,75,57,35,36,13,9,72,57,22,16,75,57,56,55
|
195 |
+
Genetic Counselors,5,72,55,72,59,50,46,50,43,75,57,44,39,10,7,78,68,56,45,72,55,72,61
|
196 |
+
Geneticists,5,75,59,75,63,72,55,69,55,75,57,72,57,22,16,81,71,78,63,75,59,75,70
|
197 |
+
"Geography Teachers, Postsecondary",5,72,59,72,57,72,55,53,55,75,57,44,43,25,20,75,68,53,50,78,70,78,70
|
198 |
+
Historians,5,69,54,78,59,50,52,50,45,75,57,19,16,6,Not relevant,94,70,41,37,72,59,75,70
|
199 |
+
"Human Resources Assistants, Except Payroll and Timekeeping",3,50,45,60,52,38,41,60,50,75,57,25,29,19,11,75,57,3,Not relevant,69,54,63,52
|
200 |
+
Human Resources Specialists,4,56,48,72,57,50,46,50,54,75,57,25,29,16,9,75,57,3,Not relevant,78,57,72,57
|
201 |
+
Industrial Ecologists,5,66,57,72,61,50,50,53,55,75,57,60,57,25,29,78,68,66,59,75,57,75,66
|
202 |
+
Information Technology Project Managers,4,60,55,78,61,50,46,66,64,75,57,47,45,31,23,75,57,28,21,72,57,75,57
|
203 |
+
Interior Designers,4,53,46,75,57,47,37,53,48,75,57,50,45,19,13,75,55,10,7,75,57,66,54
|
204 |
+
"Interviewers, Except Eligibility and Loan",3,47,43,56,46,47,41,50,45,75,57,31,30,22,16,63,52,0,Not relevant,72,57,56,48
|
205 |
+
"Kindergarten Teachers, Except Special Education",4,56,45,56,54,75,55,75,57,75,57,31,32,6,Not relevant,72,54,10,7,75,46,56,46
|
206 |
+
Landscape Architects,4,69,54,72,55,47,43,50,50,75,57,50,45,13,11,75,57,38,41,72,57,69,55
|
207 |
+
Loan Officers,4,53,45,69,57,44,37,47,43,75,57,56,45,16,13,72,57,0,Not relevant,75,57,60,55
|
208 |
+
Loss Prevention Managers,4,69,54,72,57,56,46,72,57,75,57,44,39,16,11,75,57,0,Not relevant,75,57,69,55
|
209 |
+
"Low Vision Therapists, Orientation and Mobility Specialists, and Vision Rehabilitation Therapists",5,69,55,63,55,75,55,69,57,75,57,28,27,10,7,72,57,25,20,75,57,69,57
|
210 |
+
"Mathematical Science Teachers, Postsecondary",5,69,59,72,59,72,61,72,57,75,57,81,70,19,13,75,70,35,32,78,63,72,68
|
211 |
+
Media Programming Directors,4,75,55,81,57,53,46,66,54,75,57,25,34,10,5,78,57,16,9,78,57,72,57
|
212 |
+
Media Technical Directors/Managers,4,60,52,72,57,56,50,75,66,75,57,28,32,19,16,66,57,3,Not relevant,75,57,60,50
|
213 |
+
Medical and Health Services Managers,5,72,57,78,57,53,54,66,57,75,57,44,41,19,14,75,59,44,45,81,57,75,57
|
214 |
+
"Meeting, Convention, and Event Planners",4,60,45,72,55,35,41,63,54,75,57,38,36,10,5,75,57,6,Not relevant,75,57,63,52
|
215 |
+
Microbiologists,5,72,64,75,64,66,55,69,55,75,57,50,55,25,30,78,75,88,71,72,57,78,68
|
216 |
+
"Middle School Teachers, Except Special and Career/Technical Education",4,69,55,66,52,75,57,72,57,75,57,50,43,10,9,75,57,16,13,78,57,75,57
|
217 |
+
"Morticians, Undertakers, and Funeral Arrangers",3,53,46,56,55,47,41,53,54,75,57,47,37,10,7,56,55,22,25,72,57,56,57
|
218 |
+
New Accounts Clerks,3,44,37,53,50,38,30,53,43,75,57,47,43,16,11,63,52,0,Not relevant,75,55,50,43
|
219 |
+
Nuclear Technicians,3,50,45,72,52,41,36,75,57,75,57,47,48,16,11,66,57,50,45,69,52,53,43
|
220 |
+
Nurse Anesthetists,5,75,57,78,57,60,50,75,57,75,57,56,46,6,Not relevant,78,61,72,55,75,57,60,50
|
221 |
+
Operations Research Analysts,5,72,59,78,63,50,45,47,43,75,57,88,68,38,39,75,63,53,45,72,57,75,57
|
222 |
+
Personal Financial Advisors,4,60,46,72,59,47,43,53,52,75,57,60,55,19,14,75,57,22,18,75,57,75,57
|
223 |
+
Physical Therapist Assistants,3,56,45,56,55,47,45,69,55,75,57,31,29,19,14,56,55,35,30,69,55,56,45
|
224 |
+
Police and Sheriff's Patrol Officers,3,58,46,75,56,47,43,64,49,75,57,25,26,8,Not relevant,64,55,17,12,75,56,58,47
|
225 |
+
"Political Science Teachers, Postsecondary",5,75,57,72,59,72,57,50,52,75,57,25,30,6,Not relevant,78,70,35,32,91,71,75,70
|
226 |
+
Probation Officers and Correctional Treatment Specialists,4,60,46,72,57,31,37,69,55,75,57,22,18,16,11,72,59,19,11,75,57,69,55
|
227 |
+
Real Estate Sales Agents,3,53,46,66,57,38,34,50,43,75,57,53,46,16,9,60,57,3,Not relevant,75,57,60,50
|
228 |
+
"Recreation and Fitness Studies Teachers, Postsecondary",5,60,57,72,57,75,57,69,57,75,57,28,37,6,Not relevant,75,61,35,39,78,59,75,59
|
229 |
+
Recreation Workers,4,53,45,56,52,53,45,69,48,75,57,28,29,10,5,53,46,16,9,75,57,53,45
|
230 |
+
Recreational Therapists,4,60,48,69,57,60,48,60,52,75,57,25,29,13,11,69,55,35,29,75,55,66,55
|
231 |
+
Regulatory Affairs Specialists,4,56,55,72,61,50,43,56,54,75,57,38,41,22,20,72,68,22,16,75,59,75,59
|
232 |
+
Reservation and Transportation Ticket Agents and Travel Clerks,2,50,43,60,52,41,37,50,41,75,57,41,36,22,13,63,45,0,Not relevant,75,46,53,43
|
233 |
+
Sales Managers,4,69,55,72,57,56,54,69,68,75,57,50,46,16,13,72,57,16,9,75,59,66,57
|
234 |
+
"Sales Representatives, Wholesale and Manufacturing, Except Technical and Scientific Products",4,53,46,63,54,31,30,53,46,75,57,31,32,13,7,60,54,0,Not relevant,75,57,56,46
|
235 |
+
Social and Human Service Assistants,4,56,46,66,57,47,43,66,54,75,57,25,29,16,13,69,57,19,21,75,59,66,55
|
236 |
+
"Special Education Teachers, Middle School",4,75,55,72,55,75,59,69,55,75,57,41,39,13,11,72,57,13,7,78,57,69,57
|
237 |
+
"Special Education Teachers, Secondary School",4,60,55,69,57,78,68,72,57,75,57,44,41,19,14,75,57,25,23,75,55,75,57
|
238 |
+
Supply Chain Managers,4,69,54,72,57,50,46,75,59,75,57,50,43,16,13,75,57,3,Not relevant,75,57,72,57
|
239 |
+
Talent Directors,4,50,45,72,57,44,37,60,52,75,57,25,27,16,9,72,57,13,7,75,57,56,46
|
240 |
+
"Tax Examiners and Collectors, and Revenue Agents",3,56,52,72,52,47,43,50,41,75,57,53,46,16,13,75,59,0,Not relevant,72,54,60,46
|
241 |
+
Training and Development Managers,4,72,61,72,57,85,75,72,61,75,57,50,43,19,11,75,57,22,13,75,68,72,57
|
242 |
+
Transportation Planners,4,69,54,75,61,53,45,60,54,75,57,56,54,25,25,75,61,38,30,72,55,72,57
|
243 |
+
Water Resource Specialists,4,56,54,75,57,53,46,56,54,75,57,56,54,22,21,75,59,50,46,75,57,75,57
|
244 |
+
Wind Energy Operations Managers,3,50,52,72,57,50,45,72,59,75,57,50,46,22,18,72,57,25,16,72,57,69,57
|
245 |
+
Zoologists and Wildlife Biologists,5,69,54,75,59,47,43,56,50,75,57,50,43,19,16,75,66,75,55,72,55,72,61
|
246 |
+
Acute Care Nurses,3,69,55,75,57,53,52,75,59,75,55,44,41,16,11,75,64,50,45,75,57,63,52
|
247 |
+
Anesthesiologist Assistants,5,63,52,66,54,47,46,69,55,75,55,47,41,10,9,69,61,50,41,66,54,53,50
|
248 |
+
Choreographers,4,60,46,69,50,63,48,72,52,75,55,22,14,6,Not relevant,66,46,13,7,75,57,53,43
|
249 |
+
Climate Change Policy Analysts,5,69,55,75,57,50,45,53,54,75,55,50,46,22,18,81,61,41,39,72,61,72,59
|
250 |
+
Concierges,3,47,41,56,52,31,30,50,43,75,55,25,29,10,5,50,46,0,Not relevant,75,48,44,41
|
251 |
+
Court Reporters and Simultaneous Captioners,3,35,34,38,39,25,27,50,43,75,55,16,9,3,Not relevant,53,52,0,Not relevant,50,45,60,46
|
252 |
+
"Dispatchers, Except Police, Fire, and Ambulance",2,50,41,53,54,44,39,72,46,75,55,28,29,10,5,69,46,3,Not relevant,75,55,53,41
|
253 |
+
Fashion Designers,3,72,48,75,52,53,45,66,54,75,55,31,32,10,9,69,54,3,Not relevant,72,52,63,50
|
254 |
+
First-Line Supervisors of Office and Administrative Support Workers,3,69,54,72,55,66,54,75,57,75,55,44,39,22,14,75,54,0,Not relevant,75,57,69,54
|
255 |
+
Occupational Health and Safety Technicians,3,53,46,72,55,50,45,60,54,75,55,38,39,22,16,72,55,47,41,72,55,63,55
|
256 |
+
Orthodontists,5,69,55,75,57,50,48,69,54,75,55,31,34,6,Not relevant,69,59,66,52,75,57,60,57
|
257 |
+
Parts Salespersons,2,47,43,56,45,31,30,53,41,75,55,38,36,13,9,72,45,0,Not relevant,75,45,53,41
|
258 |
+
Pharmacy Technicians,3,53,45,56,52,47,41,53,45,75,55,50,43,13,7,69,52,22,21,69,46,50,43
|
259 |
+
Prosthodontists,5,50,46,72,57,47,45,63,50,75,55,28,36,16,9,63,55,50,45,75,55,60,48
|
260 |
+
Surgical Assistants,3,50,45,66,50,53,45,66,50,75,55,38,37,13,13,66,57,41,37,69,55,53,48
|
261 |
+
"Secretaries and Administrative Assistants, Except Legal, Medical, and Executive",2,47,43,50,52,28,27,53,46,75,54,25,23,16,11,72,55,0,Not relevant,75,52,69,50
|
262 |
+
First-Line Supervisors of Material-Moving Machine and Vehicle Operators,2,53,45,72,50,50,43,69,50,75,52,38,29,10,5,69,54,6,Not relevant,72,54,56,48
|
263 |
+
Telemarketers,2,22,21,47,48,10,7,38,34,75,52,13,9,3,Not relevant,53,46,3,Not relevant,81,52,35,37
|
264 |
+
Telephone Operators,2,35,29,50,46,28,27,41,34,75,50,22,20,16,9,50,39,0,Not relevant,75,48,35,36
|
265 |
+
Postmasters and Mail Superintendents,2,56,45,69,55,60,46,69,52,75,48,44,36,19,13,75,55,13,7,75,57,56,54
|
266 |
+
Order Clerks,2,53,43,56,52,35,30,56,39,75,46,50,41,13,7,72,48,3,Not relevant,72,46,53,41
|
267 |
+
Transit and Railroad Police,3,56,43,72,48,47,46,60,50,75,46,25,29,16,11,53,46,3,Not relevant,75,55,56,43
|
268 |
+
Floral Designers,2,50,41,56,48,31,30,50,41,75,45,31,30,10,5,47,43,6,Not relevant,72,48,38,39
|
269 |
+
Accountants and Auditors,4,58,50,72,55,49,43,58,51,74,57,67,57,16,14,74,58,22,23,70,55,69,52
|
270 |
+
Appraisers and Assessors of Real Estate,4,59,47,72,55,27,29,45,40,74,54,55,53,13,8,74,57,17,13,69,55,61,54
|
271 |
+
"Securities, Commodities, and Financial Services Sales Agents",4,55,53,74,60,41,38,54,52,73,58,59,54,20,17,72,60,8,Not relevant,72,58,58,55
|
272 |
+
"Computer Science Teachers, Postsecondary",5,72,59,72,64,72,63,69,57,72,63,53,50,50,45,75,71,44,37,75,70,75,70
|
273 |
+
Human Factors Engineers and Ergonomists,5,63,61,75,63,56,50,60,59,72,63,56,57,31,34,75,70,50,45,75,61,72,61
|
274 |
+
"Architects, Except Landscape and Naval",5,66,59,75,64,56,45,69,63,72,61,63,59,22,18,75,68,47,43,75,57,72,59
|
275 |
+
Biostatisticians,5,75,70,75,70,60,55,50,52,72,61,91,73,60,57,75,73,75,66,75,64,72,70
|
276 |
+
Curators,5,63,59,69,63,56,50,60,57,72,61,47,43,19,14,75,66,25,18,75,59,72,66
|
277 |
+
Forensic Science Technicians,4,56,52,72,57,50,48,53,50,72,61,44,45,19,18,72,63,60,46,72,59,72,59
|
278 |
+
"Geoscientists, Except Hydrologists and Geographers",5,56,54,75,61,53,45,53,48,72,61,60,59,25,23,78,70,75,66,75,63,72,66
|
279 |
+
Sales Engineers,4,66,55,75,57,50,50,50,52,72,61,50,54,28,27,75,68,31,32,75,59,69,57
|
280 |
+
Social and Community Service Managers,4,72,55,72,59,66,54,72,57,72,61,41,45,19,13,69,59,31,29,69,59,69,57
|
281 |
+
Treasurers and Controllers,4,66,61,78,68,50,48,72,64,72,61,69,61,16,14,78,61,6,Not relevant,75,61,66,59
|
282 |
+
"Health and Safety Engineers, Except Mining Safety Engineers and Inspectors",4,66,55,75,60,56,49,61,55,72,60,49,47,25,21,75,65,61,55,74,59,74,59
|
283 |
+
Aerospace Engineers,4,66,55,78,66,60,54,69,55,72,59,72,68,28,Not available,75,71,75,73,72,61,72,64
|
284 |
+
Business Intelligence Analysts,4,69,59,75,61,50,43,53,48,72,59,60,55,41,36,75,63,19,11,72,57,69,59
|
285 |
+
Compliance Managers,4,69,55,75,61,56,50,69,66,72,59,28,32,19,13,75,59,10,7,72,59,72,59
|
286 |
+
Construction Managers,4,66,55,69,59,50,45,72,61,72,59,56,52,13,7,69,59,22,25,72,59,56,55
|
287 |
+
Coroners,3,60,54,75,59,50,43,56,50,72,59,41,36,13,7,75,61,53,54,75,59,72,59
|
288 |
+
Environmental Restoration Planners,5,63,57,75,59,50,46,69,55,72,59,56,48,31,27,72,61,63,55,72,59,72,61
|
289 |
+
Logisticians,4,63,50,75,59,50,50,72,66,72,59,50,48,22,25,72,59,19,13,72,57,60,54
|
290 |
+
Manufacturing Engineers,4,66,64,69,57,56,55,72,66,72,59,75,64,22,36,75,68,53,54,72,59,69,63
|
291 |
+
Marketing Managers,4,72,59,72,61,53,50,69,61,72,59,44,45,22,18,72,61,19,21,72,59,56,55
|
292 |
+
Producers and Directors,4,53,53,72,57,45,42,70,60,72,59,31,35,17,12,69,60,2,Not relevant,75,58,66,54
|
293 |
+
Quality Control Systems Managers,4,63,57,69,59,60,50,72,59,72,59,53,48,25,21,78,57,35,Not available,69,54,69,54
|
294 |
+
Soil and Plant Scientists,5,75,64,75,63,56,55,56,59,72,59,56,55,28,29,75,71,75,70,75,66,72,63
|
295 |
+
Acupuncturists,5,53,46,69,55,41,41,56,50,72,57,25,29,6,Not relevant,60,57,38,30,63,55,53,50
|
296 |
+
Animal Scientists,5,72,63,75,61,56,46,63,57,72,57,60,50,22,14,75,66,85,63,75,59,75,61
|
297 |
+
Brownfield Redevelopment Specialists and Site Managers,4,56,55,75,61,50,43,75,59,72,57,66,55,16,11,75,64,50,46,75,59,72,59
|
298 |
+
Computer Systems Analysts,4,63,59,72,61,50,45,56,57,72,57,50,50,53,52,72,63,31,30,69,57,63,57
|
299 |
+
Conservation Scientists,4,56,54,69,57,44,46,63,54,72,57,60,54,22,21,72,59,63,55,69,55,69,57
|
300 |
+
Credit Counselors,4,66,50,69,55,53,45,50,43,72,57,53,43,13,11,72,55,0,Not relevant,75,57,69,54
|
301 |
+
Diagnostic Medical Sonographers,3,60,45,63,50,50,43,63,46,72,57,28,32,6,Not relevant,69,55,56,41,69,52,56,48
|
302 |
+
Editors,4,53,55,72,57,47,43,50,48,72,57,28,34,16,11,97,73,0,Not relevant,69,57,81,71
|
303 |
+
Electrical Engineers,4,63,48,72,57,47,43,63,50,72,57,56,57,25,21,72,61,53,50,69,54,72,55
|
304 |
+
"Energy Engineers, Except Wind and Solar",4,69,55,75,59,47,43,72,55,72,57,69,59,25,18,78,68,66,63,69,57,72,59
|
305 |
+
Environmental Compliance Inspectors,4,69,59,75,61,50,46,69,63,72,57,50,45,16,16,75,68,50,46,72,61,72,59
|
306 |
+
Environmental Engineering Technologists and Technicians,4,69,55,72,57,50,43,60,54,72,57,50,54,28,29,72,57,60,54,60,57,53,55
|
307 |
+
Fire-Prevention and Protection Engineers,4,66,55,78,59,47,48,50,48,72,57,47,45,22,23,75,57,63,55,72,57,72,57
|
308 |
+
First-Line Supervisors of Production and Operating Workers,3,53,45,69,54,53,45,69,55,72,57,35,41,6,Not relevant,63,54,13,9,72,54,53,52
|
309 |
+
Geodetic Surveyors,4,56,55,75,57,50,50,60,55,72,57,78,68,35,43,75,63,53,52,56,55,56,59
|
310 |
+
Geographers,5,69,55,72,57,56,52,50,50,72,57,47,43,16,13,75,68,66,55,75,61,75,68
|
311 |
+
Hydrologists,5,66,63,75,64,50,48,63,57,72,57,69,63,28,37,72,66,72,63,69,59,66,59
|
312 |
+
Industrial Production Managers,4,66,57,75,57,69,57,75,70,72,57,60,54,16,11,72,57,16,16,75,57,60,57
|
313 |
+
Insurance Sales Agents,4,50,48,69,55,44,39,47,43,72,57,50,43,19,11,75,57,3,Not relevant,72,57,66,52
|
314 |
+
Licensed Practical and Licensed Vocational Nurses,3,60,46,69,57,53,45,72,57,72,57,47,41,6,Not relevant,69,59,41,37,72,57,56,45
|
315 |
+
Logistics Analysts,4,53,54,75,59,44,43,69,57,72,57,50,54,25,25,75,57,19,11,69,48,60,57
|
316 |
+
Marine Engineers and Naval Architects,4,61,63,74,63,47,43,63,57,72,57,66,69,27,26,74,68,58,62,72,57,63,57
|
317 |
+
Market Research Analysts and Marketing Specialists,4,63,57,75,57,50,43,56,52,72,57,56,48,28,29,75,66,31,32,72,57,75,59
|
318 |
+
Mechanical Engineers,4,60,63,72,61,44,50,53,61,72,57,72,70,38,34,72,70,72,66,53,55,56,57
|
319 |
+
"Mining and Geological Engineers, Including Mining Safety Engineers",4,63,59,75,64,53,48,69,64,72,57,69,66,41,43,75,68,63,57,75,59,75,61
|
320 |
+
Ophthalmic Medical Technologists,3,50,43,56,52,50,43,50,45,72,57,41,37,16,13,53,55,31,39,72,57,53,50
|
321 |
+
Oral and Maxillofacial Surgeons,5,72,64,75,68,47,48,72,55,72,57,41,39,13,7,75,75,63,55,72,59,63,55
|
322 |
+
Paralegals and Legal Assistants,3,53,46,60,50,31,30,50,43,72,57,22,23,13,9,75,57,16,11,69,54,69,55
|
323 |
+
Petroleum Engineers,4,69,55,75,63,50,43,69,55,72,57,56,57,22,16,75,68,60,57,72,57,72,61
|
324 |
+
Purchasing Managers,4,60,55,72,57,53,52,63,55,72,57,50,48,22,16,69,54,6,Not relevant,72,55,69,57
|
325 |
+
Real Estate Brokers,4,66,54,72,55,38,29,53,48,72,57,47,43,13,7,72,59,3,Not relevant,75,57,60,50
|
326 |
+
Regulatory Affairs Managers,4,60,55,72,59,50,50,72,59,72,57,38,41,19,11,75,61,38,29,75,57,75,57
|
327 |
+
Robotics Engineers,4,69,64,75,66,60,54,72,55,72,57,69,66,53,55,72,70,53,54,56,55,69,55
|
328 |
+
Sustainability Specialists,4,56,48,72,57,53,45,63,50,72,57,47,41,13,9,75,59,31,25,75,59,75,59
|
329 |
+
Tax Preparers,3,53,45,63,52,44,43,53,43,72,57,53,46,16,9,75,57,0,Not relevant,56,50,50,43
|
330 |
+
Travel Guides,3,47,41,56,50,47,45,47,46,72,57,44,36,16,13,56,50,6,Not relevant,72,46,53,45
|
331 |
+
Validation Engineers,4,56,52,75,59,50,45,72,57,72,57,53,52,22,14,78,64,69,63,75,57,75,59
|
332 |
+
Water/Wastewater Engineers,4,56,57,75,59,53,54,66,57,72,57,72,64,28,36,75,63,63,Not available,69,57,75,57
|
333 |
+
First-Line Supervisors of Firefighting and Prevention Workers,3,69,55,75,59,60,52,75,63,72,56,44,46,14,8,64,56,36,32,74,57,61,54
|
334 |
+
Archivists,5,56,46,60,55,47,41,50,45,72,55,25,30,19,13,75,57,25,16,56,55,75,57
|
335 |
+
Biomass Power Plant Managers,4,53,48,75,57,50,45,72,66,72,55,50,46,16,13,72,61,38,36,75,57,53,54
|
336 |
+
Brokerage Clerks,3,50,43,60,52,41,39,53,43,72,55,50,50,25,25,69,54,0,Not relevant,72,52,53,50
|
337 |
+
Cardiovascular Technologists and Technicians,3,53,48,69,54,47,43,69,54,72,55,41,36,16,9,66,59,50,41,69,52,53,50
|
338 |
+
Chemical Technicians,3,60,46,75,59,53,46,72,55,72,55,50,45,13,9,75,59,78,59,60,48,72,57
|
339 |
+
Clinical Data Managers,4,66,57,75,61,47,46,66,59,72,55,63,55,56,52,72,61,35,32,72,57,69,57
|
340 |
+
Commercial Pilots,3,66,57,75,57,56,48,75,57,72,55,44,37,16,11,66,57,47,43,66,52,47,45
|
341 |
+
Computer Hardware Engineers,4,69,59,75,59,47,45,53,46,72,55,56,48,38,39,75,64,47,46,72,57,72,59
|
342 |
+
Construction and Building Inspectors,3,53,45,69,55,50,45,50,45,72,55,50,46,16,13,72,55,41,29,72,55,50,43
|
343 |
+
"First-Line Supervisors of Helpers, Laborers, and Material Movers, Hand",2,47,41,69,54,50,48,60,50,72,55,28,34,10,5,53,54,6,Not relevant,69,54,50,48
|
344 |
+
"First-Line Supervisors of Landscaping, Lawn Service, and Groundskeeping Workers",3,53,43,69,54,53,43,75,54,72,55,47,41,16,11,53,52,16,14,69,57,50,43
|
345 |
+
Hearing Aid Specialists,3,53,45,53,52,50,43,53,43,72,55,28,37,13,9,56,48,19,13,60,52,53,43
|
346 |
+
Industrial Engineering Technologists and Technicians,3,50,52,72,55,44,43,60,55,72,55,53,54,22,23,75,57,47,45,56,54,53,54
|
347 |
+
Magnetic Resonance Imaging Technologists,3,50,43,56,52,47,43,66,55,72,55,38,37,19,13,72,55,41,32,66,54,53,46
|
348 |
+
Medical Assistants,3,56,48,66,52,53,45,63,50,72,55,41,37,13,9,69,57,41,32,72,57,60,46
|
349 |
+
Museum Technicians and Conservators,4,50,45,56,48,47,43,53,46,72,55,31,36,13,9,66,59,35,32,66,50,56,54
|
350 |
+
Nuclear Monitoring Technicians,3,50,45,72,57,53,46,72,57,72,55,53,45,13,9,69,57,53,45,63,48,53,52
|
351 |
+
Nuclear Power Reactor Operators,3,53,45,72,57,50,43,72,57,72,55,44,39,25,18,75,55,44,43,56,46,63,43
|
352 |
+
Occupational Health and Safety Specialists,4,60,57,72,59,56,50,66,59,72,55,60,48,19,18,72,57,47,48,75,59,66,55
|
353 |
+
Occupational Therapy Assistants,3,53,43,56,46,47,45,60,48,72,55,35,32,6,Not relevant,66,52,22,23,69,48,66,52
|
354 |
+
"Poets, Lyricists and Creative Writers",4,63,55,69,55,47,39,47,46,72,55,13,7,16,9,81,66,10,7,66,55,94,82
|
355 |
+
Police Identification and Records Officers,3,53,46,72,57,44,41,53,46,72,55,28,34,13,9,66,59,19,14,69,55,60,46
|
356 |
+
Precision Agriculture Technicians,4,63,54,72,52,44,39,56,50,72,55,56,48,31,23,72,57,50,45,69,48,60,48
|
357 |
+
Psychiatric Technicians,3,50,46,66,55,53,50,72,55,72,55,25,27,13,7,69,57,22,21,75,57,56,45
|
358 |
+
"Purchasing Agents, Except Wholesale, Retail, and Farm Products",4,69,55,69,55,50,45,69,55,72,55,47,41,6,Not relevant,75,57,3,Not relevant,72,57,69,54
|
359 |
+
Residential Advisors,3,50,43,66,57,44,41,69,52,72,55,25,29,10,7,53,48,10,5,69,55,50,43
|
360 |
+
Respiratory Therapists,3,66,52,72,57,53,43,72,55,72,55,44,41,13,7,66,57,50,50,69,57,53,50
|
361 |
+
Set and Exhibit Designers,5,53,45,69,54,47,39,53,50,72,55,50,48,19,13,72,57,19,13,69,52,56,45
|
362 |
+
Special Effects Artists and Animators,4,53,48,69,54,47,43,50,46,72,55,28,34,28,23,69,57,3,Not relevant,56,50,53,43
|
363 |
+
Statisticians,5,66,55,78,70,50,45,47,45,72,55,94,82,50,52,75,70,63,57,69,61,63,63
|
364 |
+
Chemists,4,60,59,75,59,47,45,56,54,72,54,72,63,28,25,75,71,81,73,63,57,66,68
|
365 |
+
Computer Network Architects,4,56,52,75,61,47,46,56,50,72,54,56,55,63,48,72,61,28,23,69,57,66,54
|
366 |
+
Customer Service Representatives,2,50,41,53,46,41,41,50,43,72,54,25,30,13,9,60,48,0,Not relevant,72,54,44,43
|
367 |
+
"Directors, Religious Activities and Education",4,63,54,69,55,63,54,50,55,72,54,35,41,19,11,72,59,19,13,75,57,60,55
|
368 |
+
Energy Auditors,3,53,46,69,54,50,43,56,48,72,54,60,45,13,11,72,55,50,43,69,48,69,54
|
369 |
+
First-Line Supervisors of Personal Service Workers,3,50,43,72,54,50,43,56,50,72,54,28,30,10,5,63,50,13,9,69,54,53,45
|
370 |
+
Fish and Game Wardens,4,50,50,72,57,47,43,60,50,72,54,41,41,13,7,66,59,44,39,69,52,53,48
|
371 |
+
"Production, Planning, and Expediting Clerks",3,41,41,60,55,38,36,60,50,72,54,41,36,16,9,72,57,6,Not relevant,66,48,60,45
|
372 |
+
Solar Sales Representatives and Assessors,3,53,48,63,54,38,36,53,48,72,54,44,46,16,11,63,55,10,13,75,55,56,48
|
373 |
+
Bill and Account Collectors,2,47,39,53,50,28,30,50,41,72,52,41,37,6,Not relevant,53,52,0,Not relevant,72,52,56,45
|
374 |
+
Demonstrators and Product Promoters,2,47,43,50,43,44,39,50,45,72,52,28,27,3,Not relevant,56,46,0,Not relevant,72,55,50,43
|
375 |
+
First-Line Supervisors of Retail Sales Workers,2,50,48,63,55,50,50,63,55,72,52,44,43,19,14,50,55,0,Not relevant,69,55,50,52
|
376 |
+
Medical Appliance Technicians,3,50,43,69,50,47,41,56,45,72,52,44,41,10,5,66,52,22,23,66,45,50,43
|
377 |
+
Writers and Authors,4,50,45,63,52,41,37,50,45,72,52,28,27,10,9,81,59,16,16,66,50,81,59
|
378 |
+
First-Line Supervisors of Gambling Services Workers,2,44,41,63,54,38,32,75,49,72,51,38,30,5,Not relevant,50,46,11,Not relevant,72,50,50,43
|
379 |
+
Medical Secretaries and Administrative Assistants,2,31,32,53,43,28,30,50,41,72,50,28,29,10,5,63,45,3,Not relevant,75,52,53,43
|
380 |
+
Aviation Inspectors,3,53,46,75,57,47,43,60,48,72,48,31,34,10,7,72,48,47,50,72,57,66,46
|
381 |
+
Correctional Officers and Jailers,2,50,43,66,52,50,43,72,55,72,48,25,29,13,7,63,54,16,9,75,52,53,45
|
382 |
+
Dental Assistants,3,53,45,50,45,38,36,53,43,72,48,28,29,10,5,56,46,25,25,60,45,50,43
|
383 |
+
"Explosives Workers, Ordnance Handling Experts, and Blasters",2,53,45,66,50,50,41,69,52,72,48,38,41,0,Not relevant,53,52,22,20,60,45,47,41
|
384 |
+
Flight Attendants,2,53,43,53,52,44,32,72,48,72,46,25,27,10,5,53,50,10,7,78,54,50,41
|
385 |
+
Medical and Clinical Laboratory Technicians,3,50,45,60,48,47,45,53,45,72,45,44,36,22,14,63,48,56,48,60,45,53,43
|
386 |
+
"Preschool Teachers, Except Special Education",3,53,43,69,45,72,57,69,50,72,45,25,27,0,Not relevant,69,46,16,9,75,45,50,43
|
387 |
+
"Hairdressers, Hairstylists, and Cosmetologists",3,56,43,60,50,47,43,50,43,72,43,35,29,10,5,50,43,16,14,69,43,47,41
|
388 |
+
Nannies,2,50,43,63,46,56,46,75,55,72,43,16,11,0,Not relevant,50,43,19,14,72,48,53,41
|
389 |
+
"Switchboard Operators, Including Answering Service",2,41,32,47,39,28,29,47,34,72,43,19,20,13,7,50,43,0,Not relevant,75,39,50,34
|
390 |
+
"Transportation, Storage, and Distribution Managers",4,57,52,73,58,52,48,72,59,71,57,52,45,12,8,72,57,11,Not relevant,73,57,66,52
|
391 |
+
"Captains, Mates, and Pilots of Water Vessels",3,57,47,71,52,45,42,68,52,71,51,42,38,14,Not relevant,57,52,23,21,69,49,49,45
|
392 |
+
"Claims Adjusters, Examiners, and Investigators",4,58,47,72,57,36,37,53,45,70,56,49,44,11,9,72,58,11,Not relevant,70,55,67,54
|
393 |
+
Librarians and Media Collections Specialists,5,56,50,63,53,55,48,55,49,70,54,27,29,11,Not relevant,66,54,11,Not relevant,66,52,61,53
|
394 |
+
Radiologic Technologists and Technicians,3,52,44,60,48,42,40,56,46,70,54,28,32,16,9,66,55,34,31,70,54,56,46
|
395 |
+
"First-Line Supervisors of Farming, Fishing, and Forestry Workers",3,54,47,67,51,51,45,69,54,70,53,42,38,11,Not relevant,56,53,33,30,67,52,52,48
|
396 |
+
Firefighters,3,53,43,67,54,53,43,70,53,70,50,33,32,6,Not relevant,58,50,28,23,64,46,49,42
|
397 |
+
Midwives,5,60,52,75,57,56,48,75,66,69,63,31,36,16,11,66,61,47,41,69,57,53,52
|
398 |
+
Computer and Information Research Scientists,5,63,70,75,61,50,50,53,57,69,59,60,63,66,64,69,64,53,48,63,59,60,59
|
399 |
+
Cost Estimators,4,56,55,72,61,47,43,50,52,69,59,75,61,22,23,72,59,13,9,69,54,63,54
|
400 |
+
Photonics Engineers,4,66,71,75,68,50,46,50,52,69,59,66,70,31,39,72,71,63,57,66,57,72,68
|
401 |
+
Remote Sensing Scientists and Technologists,5,53,55,75,61,47,45,63,55,69,59,72,61,38,34,75,70,75,59,72,55,72,68
|
402 |
+
Social Science Research Assistants,4,53,52,69,55,50,45,47,45,69,59,53,55,41,39,75,68,56,48,60,54,69,55
|
403 |
+
Advertising Sales Agents,4,47,52,56,54,41,37,50,48,69,57,44,39,22,16,60,55,0,Not relevant,78,57,53,48
|
404 |
+
Civil Engineering Technologists and Technicians,3,47,43,72,52,31,37,56,48,69,57,66,48,22,14,69,59,44,37,60,50,56,50
|
405 |
+
"Compensation, Benefits, and Job Analysis Specialists",4,60,52,72,57,50,50,56,52,69,57,47,48,19,21,72,59,35,32,69,57,60,55
|
406 |
+
Computer Programmers,4,53,46,69,55,35,37,50,45,69,57,53,45,94,70,60,50,44,39,53,48,56,46
|
407 |
+
Dental Hygienists,3,50,43,63,45,44,43,53,43,69,57,25,23,10,7,50,48,35,34,63,43,53,45
|
408 |
+
Financial Quantitative Analysts,5,63,57,78,66,50,46,50,45,69,57,81,70,44,Not available,75,64,22,21,69,54,60,55
|
409 |
+
Insurance Underwriters,4,53,48,69,55,44,43,50,43,69,57,47,41,13,11,69,54,10,5,66,52,69,54
|
410 |
+
Legal Secretaries and Administrative Assistants,3,44,39,53,45,31,29,50,43,69,57,25,29,10,7,72,55,0,Not relevant,69,46,72,55
|
411 |
+
Medical and Clinical Laboratory Technologists,4,56,55,69,57,47,43,56,55,69,57,50,43,25,27,69,59,66,61,56,54,53,52
|
412 |
+
Neurodiagnostic Technologists,3,50,48,72,55,50,46,66,52,69,57,35,32,22,16,63,57,44,39,69,52,56,50
|
413 |
+
Procurement Clerks,3,56,50,66,52,31,32,63,48,69,57,47,34,10,7,75,55,0,Not relevant,75,54,69,46
|
414 |
+
"Property, Real Estate, and Community Association Managers",4,50,45,63,55,44,45,53,45,69,57,50,43,13,7,72,57,10,7,75,57,66,57
|
415 |
+
Search Marketing Strategists,4,69,55,69,55,47,43,60,54,69,57,44,41,44,30,72,59,6,Not relevant,66,54,63,54
|
416 |
+
Video Game Designers,4,63,52,66,55,50,43,56,50,69,57,41,43,75,57,66,57,6,Not available,60,50,56,52
|
417 |
+
Biofuels Production Managers,4,56,52,72,55,60,50,69,55,69,55,50,46,28,23,72,57,50,50,66,57,63,50
|
418 |
+
Business Continuity Planners,4,69,54,72,64,53,52,63,55,69,55,44,41,25,18,72,59,3,Not relevant,75,57,72,57
|
419 |
+
Correspondence Clerks,2,41,39,69,54,38,32,44,37,69,55,44,34,13,7,72,55,10,5,60,48,75,57
|
420 |
+
Cytotechnologists,5,50,50,69,55,44,43,50,43,69,55,41,39,25,14,72,55,47,41,53,48,50,48
|
421 |
+
Document Management Specialists,4,56,46,69,54,50,43,66,45,69,55,31,32,38,27,72,55,6,Not relevant,53,46,69,55
|
422 |
+
Gambling Managers,3,66,52,75,57,56,52,72,59,69,55,50,45,16,9,63,57,16,11,75,57,66,54
|
423 |
+
Information Security Analysts,4,56,55,72,59,47,45,60,55,69,55,31,34,41,32,75,59,22,23,66,54,63,54
|
424 |
+
Network and Computer Systems Administrators,4,53,54,72,55,44,52,69,55,69,55,50,48,66,55,72,57,31,36,60,55,53,54
|
425 |
+
Park Naturalists,4,60,45,69,55,56,46,53,45,69,55,25,29,19,14,72,55,41,34,75,55,66,55
|
426 |
+
Radiation Therapists,3,50,43,63,54,47,43,56,48,69,55,44,41,19,16,69,55,44,43,56,50,53,46
|
427 |
+
Surveyors,4,56,48,72,57,53,50,50,50,69,55,75,57,22,21,72,57,47,41,72,55,66,54
|
428 |
+
Technical Writers,4,56,52,66,55,38,32,50,43,69,55,16,9,10,5,78,70,6,Not relevant,69,54,97,71
|
429 |
+
Transportation Engineers,4,60,57,72,59,53,45,53,50,69,55,72,66,28,36,75,63,38,43,75,57,69,55
|
430 |
+
Veterinary Technologists and Technicians,3,53,43,69,57,50,43,56,50,69,55,44,37,19,11,66,54,47,41,66,54,56,43
|
431 |
+
Web Administrators,4,53,54,75,59,50,43,60,50,69,55,28,30,53,41,72,59,28,34,56,50,56,48
|
432 |
+
"Wholesale and Retail Buyers, Except Farm Products",3,60,55,69,57,47,46,53,57,69,55,53,48,19,13,56,55,19,13,69,55,50,48
|
433 |
+
"Adult Basic Education, Adult Secondary Education, and English as a Second Language Instructors",4,63,46,63,50,69,55,66,55,69,54,41,36,10,9,69,55,19,9,69,57,66,55
|
434 |
+
Automotive Engineers,4,56,66,78,64,47,46,56,57,69,54,69,71,41,43,72,68,53,59,72,55,69,57
|
435 |
+
Biological Technicians,4,63,55,72,57,47,39,56,54,69,54,50,52,22,25,75,66,69,52,56,54,60,54
|
436 |
+
Embalmers,3,50,43,53,45,28,39,50,45,69,54,25,29,6,Not relevant,50,48,41,32,72,54,53,43
|
437 |
+
Film and Video Editors,4,56,46,63,50,41,39,50,43,69,54,22,25,13,9,60,54,0,Not relevant,56,46,53,45
|
438 |
+
Fitness and Wellness Coordinators,4,60,50,72,55,56,50,60,55,69,54,35,37,19,13,69,55,16,20,72,57,63,54
|
439 |
+
Forest and Conservation Technicians,3,50,43,69,48,50,43,53,52,69,54,44,39,25,23,60,54,44,32,56,50,50,45
|
440 |
+
Insurance Claims and Policy Processing Clerks,2,45,37,58,50,30,29,45,39,69,54,45,42,16,10,64,53,2,Not relevant,64,54,56,43
|
441 |
+
Nuclear Medicine Technologists,3,53,45,72,52,44,43,63,50,69,54,53,43,16,13,63,57,56,50,69,54,63,48
|
442 |
+
Retail Salespersons,2,50,41,53,45,41,32,50,45,69,54,41,29,6,Not relevant,50,45,0,Not relevant,69,45,50,43
|
443 |
+
Wind Energy Development Managers,4,60,57,75,61,44,41,63,55,69,54,50,50,19,18,72,61,19,16,72,54,72,55
|
444 |
+
Actors,2,41,37,50,43,44,36,50,43,69,52,0,Not relevant,0,Not relevant,72,55,13,7,72,57,47,48
|
445 |
+
Agricultural Inspectors,2,56,48,66,57,47,43,69,59,69,52,41,39,13,7,69,57,44,39,63,55,53,52
|
446 |
+
Chefs and Head Cooks,3,53,54,69,55,53,46,72,59,69,52,53,45,13,7,53,46,16,11,72,55,53,43
|
447 |
+
Commercial Divers,3,50,45,72,54,47,43,53,46,69,52,28,30,0,Not relevant,56,50,38,32,66,48,50,43
|
448 |
+
First-Line Supervisors of Construction Trades and Extraction Workers,3,50,45,66,48,53,43,60,48,69,52,44,43,6,Not relevant,60,52,16,11,69,54,50,45
|
449 |
+
Funeral Home Managers,3,44,43,53,52,47,43,66,52,69,52,35,37,13,11,66,54,6,Not relevant,69,55,60,52
|
450 |
+
Home Health Aides,2,50,43,60,46,50,43,56,45,69,52,31,29,0,Not relevant,56,46,16,13,53,43,53,41
|
451 |
+
"Opticians, Dispensing",3,50,41,60,52,47,41,50,43,69,52,47,39,10,5,66,54,19,14,75,54,56,45
|
452 |
+
Photographers,3,53,45,53,46,47,41,53,45,69,52,25,25,16,9,53,45,19,21,69,46,47,41
|
453 |
+
Radio Frequency Identification Device Specialists,4,53,50,72,55,41,46,53,54,69,52,41,48,38,Not available,66,57,25,27,69,52,56,52
|
454 |
+
Robotics Technicians,3,53,52,72,57,50,45,53,46,69,52,50,54,47,39,72,57,44,46,56,46,56,45
|
455 |
+
"Title Examiners, Abstractors, and Searchers",2,50,45,66,52,35,30,50,43,69,52,31,32,6,Not relevant,78,55,6,Not relevant,66,50,60,52
|
456 |
+
Food Service Managers,2,60,54,66,54,50,46,69,55,69,50,47,41,13,9,66,52,16,16,69,52,50,45
|
457 |
+
"Office Clerks, General",2,44,39,50,43,28,32,47,41,69,50,28,30,6,Not relevant,69,50,0,Not relevant,66,43,53,45
|
458 |
+
Power Distributors and Dispatchers,3,50,43,69,54,44,37,69,46,69,50,44,39,19,13,66,52,22,21,66,46,53,45
|
459 |
+
Sound Engineering Technicians,3,53,45,56,52,44,41,53,50,69,50,28,29,19,14,60,50,10,5,66,45,56,45
|
460 |
+
Spa Managers,3,63,55,72,57,60,52,75,59,69,50,44,41,13,11,60,54,3,Not relevant,75,57,53,52
|
461 |
+
Animal Control Workers,2,50,41,63,50,38,37,50,41,69,48,22,18,10,5,53,43,6,Not relevant,69,43,50,41
|
462 |
+
"Buyers and Purchasing Agents, Farm Products",4,53,45,72,54,38,43,53,45,69,48,50,43,13,11,60,50,16,20,72,55,53,45
|
463 |
+
Payroll and Timekeeping Clerks,2,44,41,53,45,35,36,50,41,69,48,50,43,16,9,69,54,6,Not relevant,56,45,53,45
|
464 |
+
Athletes and Sports Competitors,2,50,43,69,45,47,43,56,43,69,46,28,21,0,Not relevant,53,43,19,14,72,43,44,41
|
465 |
+
"Camera Operators, Television, Video, and Film",3,47,43,53,50,44,41,53,45,69,46,25,27,10,7,56,46,0,Not relevant,56,45,47,41
|
466 |
+
Locomotive Engineers,2,53,43,66,45,47,43,66,54,69,46,38,37,0,Not relevant,60,50,10,5,66,43,50,41
|
467 |
+
Passenger Attendants,2,41,36,47,46,16,21,56,46,69,46,28,20,10,5,50,41,0,Not relevant,69,41,38,34
|
468 |
+
Bartenders,2,50,43,53,41,47,41,50,43,69,45,31,30,6,Not relevant,50,43,0,Not relevant,53,43,44,43
|
469 |
+
Counter and Rental Clerks,2,44,32,53,41,28,29,50,41,69,45,31,32,10,7,56,45,0,Not relevant,60,43,50,43
|
470 |
+
First-Line Supervisors of Food Preparation and Serving Workers,2,50,46,56,57,53,45,72,54,69,45,50,43,10,5,60,50,0,Not relevant,72,54,47,45
|
471 |
+
Driver/Sales Workers,2,44,30,53,48,25,27,47,37,69,43,41,27,0,Not relevant,50,43,0,Not relevant,66,41,44,43
|
472 |
+
Pest Control Workers,2,53,41,69,48,44,39,66,43,69,43,41,37,0,Not relevant,50,43,25,25,66,43,66,43
|
473 |
+
Waiters and Waitresses,2,47,30,47,39,35,30,50,39,69,41,28,25,3,Not relevant,44,34,0,Not relevant,66,36,25,30
|
474 |
+
"Court, Municipal, and License Clerks",2,48,43,53,49,29,27,52,43,68,52,34,29,7,Not relevant,65,53,12,Not relevant,66,52,63,50
|
475 |
+
Architectural and Civil Drafters,3,50,45,64,53,41,42,50,47,67,48,50,54,27,21,63,54,27,29,56,47,53,47
|
476 |
+
Cytogenetic Technologists,4,56,48,72,57,47,43,53,48,66,57,50,43,10,7,72,64,56,54,66,57,69,57
|
477 |
+
"Electronics Engineers, Except Computer",4,60,54,75,57,47,45,63,52,66,57,56,52,41,41,75,59,56,45,69,57,69,57
|
478 |
+
Fuel Cell Engineers,5,60,54,69,59,56,45,63,54,66,57,56,55,31,Not available,72,66,66,55,63,54,66,57
|
479 |
+
"Teaching Assistants, Postsecondary",5,50,45,53,48,60,50,53,46,66,57,31,29,19,14,72,61,25,23,63,50,56,48
|
480 |
+
Aerospace Engineering and Operations Technologists and Technicians,3,50,43,72,57,47,41,53,45,66,55,50,43,28,23,69,54,53,54,66,45,53,45
|
481 |
+
Foresters,4,50,52,72,61,47,43,75,63,66,55,50,52,10,5,75,57,47,48,75,54,63,59
|
482 |
+
Nanosystems Engineers,5,69,71,75,64,50,52,56,59,66,55,69,73,35,39,72,75,72,68,75,61,72,70
|
483 |
+
Software Quality Assurance Analysts and Testers,4,56,43,75,55,44,41,63,54,66,55,31,32,69,50,72,57,50,46,69,50,66,55
|
484 |
+
Telecommunications Engineering Specialists,3,60,54,66,54,47,41,53,45,66,55,50,43,35,29,66,55,22,20,56,52,56,54
|
485 |
+
Electrical and Electronics Drafters,3,49,45,58,50,36,38,47,41,66,54,44,43,19,14,66,54,22,22,67,46,55,48
|
486 |
+
"First-Line Supervisors of Mechanics, Installers, and Repairers",3,56,54,69,55,53,54,75,57,66,54,47,45,22,16,66,57,19,20,69,55,50,50
|
487 |
+
Mechatronics Engineers,4,60,55,63,59,47,48,56,54,66,54,60,55,31,Not available,63,57,47,Not available,63,54,63,54
|
488 |
+
Ophthalmic Medical Technicians,3,50,45,50,45,41,37,50,43,66,54,38,36,13,7,53,52,25,27,56,52,53,43
|
489 |
+
Solar Energy Installation Managers,3,56,46,66,54,50,43,69,52,66,54,41,46,19,14,63,54,16,13,63,52,60,48
|
490 |
+
Music Directors and Composers,4,53,44,66,51,47,42,59,49,66,53,24,21,14,9,59,49,11,8,64,52,59,50
|
491 |
+
Broadcast Technicians,3,53,45,69,48,47,43,63,52,66,52,44,41,28,27,53,52,22,14,53,46,56,45
|
492 |
+
Geothermal Production Managers,3,63,46,75,55,56,48,72,63,66,52,56,54,22,18,72,61,35,Not available,72,57,66,54
|
493 |
+
Mechanical Engineering Technologists and Technicians,3,56,46,66,54,47,45,60,48,66,52,53,48,25,18,72,59,47,43,63,50,63,50
|
494 |
+
Solar Energy Systems Engineers,4,60,52,66,55,47,43,53,52,66,52,53,55,28,23,72,57,53,54,63,54,66,54
|
495 |
+
Traffic Technicians,3,50,45,56,50,41,41,53,45,66,52,47,45,25,18,56,57,44,41,56,48,53,46
|
496 |
+
Food Science Technicians,3,50,46,56,52,47,41,50,45,66,48,47,45,13,7,66,57,56,46,63,46,63,46
|
497 |
+
Graphic Designers,4,53,45,60,52,41,39,50,45,66,48,25,30,16,11,56,54,6,Not relevant,60,50,50,45
|
498 |
+
Psychiatric Aides,2,53,43,53,46,50,45,69,52,66,48,25,25,0,Not relevant,50,45,16,11,69,43,50,43
|
499 |
+
Receptionists and Information Clerks,2,50,34,56,45,35,34,44,36,66,48,28,30,10,5,56,46,0,Not relevant,66,43,56,45
|
500 |
+
Forest Fire Inspectors and Prevention Specialists,3,50,46,75,55,53,45,60,48,66,46,28,34,16,9,53,48,22,25,69,48,53,43
|
501 |
+
Massage Therapists,3,50,43,50,46,44,41,50,43,66,46,25,21,0,Not relevant,50,45,19,14,66,52,50,41
|
502 |
+
Baggage Porters and Bellhops,2,31,30,50,39,31,29,47,32,66,45,25,27,6,Not relevant,47,37,0,Not relevant,66,37,44,30
|
503 |
+
Elevator and Escalator Installers and Repairers,3,53,43,66,43,31,32,56,45,66,45,22,23,16,11,53,46,38,37,53,41,41,39
|
504 |
+
Physical Therapist Aides,2,47,39,50,41,35,39,53,46,66,45,25,27,6,Not relevant,50,43,25,25,53,43,47,39
|
505 |
+
Recycling Coordinators,2,53,45,66,50,50,43,63,50,66,45,38,39,10,7,63,50,6,Not relevant,72,48,53,45
|
506 |
+
Aircraft Cargo Handling Supervisors,2,50,41,69,50,63,52,66,55,66,43,50,41,16,9,56,43,13,7,66,45,53,46
|
507 |
+
Bicycle Repairers,2,47,36,66,45,44,34,47,41,66,43,28,29,3,Not relevant,50,43,6,Not relevant,60,43,47,36
|
508 |
+
"Computer, Automated Teller, and Office Machine Repairers",3,50,43,63,45,41,37,50,43,66,43,22,25,28,18,53,45,22,23,56,43,50,43
|
509 |
+
Nursing Assistants,3,47,39,53,45,35,30,56,43,66,43,28,27,0,Not relevant,53,43,19,13,53,43,44,39
|
510 |
+
Subway and Streetcar Operators,2,50,43,50,46,41,37,56,45,66,43,35,29,0,Not relevant,53,45,0,Not relevant,60,39,44,36
|
511 |
+
"Hosts and Hostesses, Restaurant, Lounge, and Coffee Shop",2,41,34,47,37,31,30,44,29,66,41,28,27,6,Not relevant,47,34,0,Not relevant,60,41,35,30
|
512 |
+
"Farmers, Ranchers, and Other Agricultural Managers",4,57,49,72,55,51,45,70,53,65,52,43,40,16,10,62,54,47,41,72,54,54,51
|
513 |
+
Nanotechnology Engineering Technologists and Technicians,4,52,47,66,52,44,46,64,51,64,52,53,53,31,27,67,55,56,54,60,53,58,53
|
514 |
+
Credit Analysts,4,66,52,72,57,35,36,50,43,63,57,60,59,16,14,66,57,10,5,66,57,53,55
|
515 |
+
Database Administrators,4,63,55,72,59,50,48,60,59,63,55,53,50,60,55,63,63,25,21,60,55,60,55
|
516 |
+
Geographic Information Systems Technologists and Technicians,4,61,53,69,56,49,44,50,47,63,55,56,55,45,43,70,62,56,Not available,64,53,63,54
|
517 |
+
"Insurance Appraisers, Auto Damage",3,47,43,60,54,28,21,38,41,63,55,41,39,6,Not relevant,63,52,3,Not relevant,69,54,69,46
|
518 |
+
Desktop Publishers,3,50,43,69,55,47,43,50,50,63,54,25,30,41,37,69,57,0,Not relevant,63,52,53,52
|
519 |
+
Biofuels/Biodiesel Technology and Product Development Managers,4,56,54,66,59,47,46,56,55,63,52,53,45,25,20,66,61,53,Not available,66,50,66,55
|
520 |
+
Bioinformatics Technicians,4,63,55,63,54,44,41,56,50,63,52,60,55,53,43,69,61,53,48,60,52,63,54
|
521 |
+
Computer Network Support Specialists,4,56,48,69,54,41,46,56,52,63,52,28,37,31,Not available,60,55,22,21,56,50,50,50
|
522 |
+
Data Warehousing Specialists,4,50,46,72,55,41,39,47,45,63,52,50,46,69,54,72,57,22,Not available,60,52,56,48
|
523 |
+
Database Architects,4,53,52,72,61,47,45,56,52,63,52,50,48,56,59,66,63,25,Not available,63,54,60,57
|
524 |
+
Occupational Therapy Aides,3,50,43,56,48,50,43,56,45,63,52,25,25,3,Not relevant,53,48,16,11,66,50,53,43
|
525 |
+
Online Merchants,4,47,45,63,55,35,36,53,52,63,52,50,45,35,25,66,54,6,Not relevant,63,48,60,46
|
526 |
+
Tellers,2,47,43,53,46,31,36,53,45,63,52,50,39,6,Not relevant,53,46,0,Not relevant,56,43,50,43
|
527 |
+
Ship Engineers,3,50,45,72,54,41,37,66,52,63,50,28,34,19,11,56,48,38,36,63,45,53,41
|
528 |
+
Web Developers,3,63,52,69,55,47,45,50,48,63,50,44,41,78,61,66,57,25,32,56,46,53,50
|
529 |
+
Billing and Posting Clerks,2,45,38,53,45,28,29,49,37,63,48,42,37,25,17,58,46,0,Not relevant,59,44,44,42
|
530 |
+
Non-Destructive Testing Specialists,2,66,50,66,50,53,48,63,50,63,48,50,45,19,16,66,54,44,39,56,45,56,45
|
531 |
+
"Telecommunications Equipment Installers and Repairers, Except Line Installers",3,53,43,66,54,47,41,60,46,63,48,31,32,25,23,60,52,25,29,56,45,50,45
|
532 |
+
Retail Loss Prevention Specialists,2,56,43,69,52,47,39,63,50,63,46,41,39,16,14,56,52,6,Not relevant,63,50,53,46
|
533 |
+
Veterinary Assistants and Laboratory Animal Caretakers,2,47,43,56,45,28,30,53,45,63,46,44,37,6,Not relevant,53,45,41,34,50,43,53,46
|
534 |
+
Gambling and Sports Book Writers and Runners,2,41,36,47,41,31,30,53,45,63,45,50,39,10,5,44,45,6,Not relevant,53,41,47,39
|
535 |
+
Merchandise Displayers and Window Trimmers,3,47,43,56,48,35,29,44,41,63,45,25,20,13,7,50,45,6,Not relevant,56,46,47,41
|
536 |
+
Railroad Conductors and Yardmasters,2,50,43,66,52,44,39,69,57,63,45,31,37,13,7,53,46,13,7,69,45,50,41
|
537 |
+
Skincare Specialists,3,53,41,50,43,47,39,50,43,63,45,13,9,0,Not relevant,53,45,10,9,66,43,35,39
|
538 |
+
Cargo and Freight Agents,2,44,39,56,52,25,27,50,45,63,43,31,36,10,5,56,45,0,Not relevant,66,43,50,43
|
539 |
+
Pharmacy Aides,2,47,36,50,41,38,32,44,37,63,43,38,34,13,7,56,46,13,7,60,41,44,36
|
540 |
+
Segmental Pavers,2,41,36,56,43,35,34,47,41,63,43,25,29,0,Not relevant,44,39,3,Not relevant,63,39,41,37
|
541 |
+
"Locker Room, Coatroom, and Dressing Room Attendants",2,28,29,38,39,10,5,44,34,63,41,10,5,0,Not relevant,41,34,0,Not relevant,66,39,31,30
|
542 |
+
Personal Care Aides,2,44,39,50,43,44,37,53,45,63,41,22,23,0,Not relevant,47,39,19,11,56,41,47,39
|
543 |
+
Security Guards,2,50,36,53,41,38,32,56,45,63,41,19,11,0,Not relevant,53,43,13,7,56,39,50,41
|
544 |
+
Baristas,1,41,37,47,39,35,29,50,36,63,37,28,29,0,Not relevant,50,39,0,Not relevant,60,37,41,34
|
545 |
+
"Heating, Air Conditioning, and Refrigeration Mechanics and Installers",3,52,44,63,50,47,39,53,46,61,45,42,39,13,9,55,46,25,21,53,44,49,43
|
546 |
+
Fast Food and Counter Workers,1,39,29,45,35,33,32,49,32,61,37,39,28,2,Not relevant,44,33,0,Not relevant,52,38,33,31
|
547 |
+
Mathematicians,5,75,75,81,73,60,54,50,43,60,59,100,86,38,37,75,71,66,66,60,61,63,64
|
548 |
+
Chemical Engineers,4,69,64,75,70,47,52,56,55,60,57,72,66,35,41,72,63,81,73,66,55,56,55
|
549 |
+
Surgical Technologists,3,50,43,53,45,50,45,69,50,60,55,41,39,3,Not relevant,50,54,31,30,53,43,47,43
|
550 |
+
Chemical Plant and System Operators,2,56,43,63,54,47,41,66,54,60,54,41,41,19,14,56,54,47,41,53,45,50,43
|
551 |
+
Quality Control Analysts,3,53,45,56,52,44,41,69,55,60,54,50,46,19,11,69,55,44,41,53,52,56,48
|
552 |
+
Remote Sensing Technicians,4,50,50,69,55,44,43,60,52,60,54,63,55,44,46,63,59,41,39,63,52,56,54
|
553 |
+
Wind Energy Engineers,4,50,54,75,64,44,41,53,57,60,54,63,64,28,Not available,69,66,56,54,60,50,60,54
|
554 |
+
Statistical Assistants,4,66,54,69,55,47,43,50,43,60,52,85,70,50,50,69,57,28,36,60,54,63,54
|
555 |
+
Electrical and Electronic Engineering Technologists and Technicians,3,53,48,67,54,42,41,55,50,60,51,55,50,30,Not available,64,58,43,42,56,48,53,47
|
556 |
+
Cartographers and Photogrammetrists,4,56,48,63,54,47,43,53,45,60,50,47,45,22,16,75,59,22,21,53,45,63,52
|
557 |
+
Phlebotomists,3,50,43,56,46,47,43,53,43,60,50,28,30,16,9,53,46,35,30,60,54,53,43
|
558 |
+
Photonics Technicians,3,56,46,56,52,38,43,56,48,60,50,38,37,31,23,66,52,35,Not available,53,45,53,46
|
559 |
+
Endoscopy Technicians,3,53,43,63,46,38,34,53,45,60,48,25,30,10,5,66,57,19,13,60,45,56,43
|
560 |
+
Fabric and Apparel Patternmakers,3,53,43,69,48,50,43,53,46,60,48,53,43,25,18,53,46,3,Not relevant,53,43,50,41
|
561 |
+
Photographic Process Workers and Processing Machine Operators,2,47,41,53,45,38,41,53,46,60,48,25,32,35,23,56,46,16,14,56,43,44,41
|
562 |
+
Avionics Technicians,3,50,45,69,54,41,37,53,46,60,46,28,30,16,13,56,50,47,41,60,43,56,45
|
563 |
+
Electrical Power-Line Installers and Repairers,2,50,43,53,43,44,39,56,43,60,46,25,27,6,Not relevant,50,43,19,14,47,41,38,39
|
564 |
+
Gambling Cage Workers,2,31,32,50,46,28,30,50,43,60,46,63,41,6,Not relevant,50,43,0,Not relevant,69,45,50,43
|
565 |
+
"Hotel, Motel, and Resort Desk Clerks",2,44,32,47,50,41,37,50,43,60,46,41,30,19,13,50,50,0,Not relevant,69,43,47,41
|
566 |
+
Recreational Vehicle Service Technicians,2,50,45,60,50,35,34,50,43,60,46,25,25,13,7,50,41,16,13,60,45,47,39
|
567 |
+
Self-Enrichment Teachers,3,53,45,53,45,60,50,53,45,60,46,25,23,19,11,53,54,10,5,66,52,50,45
|
568 |
+
Transportation Inspectors,4,41,41,60,46,35,36,60,46,60,46,41,34,10,5,66,52,25,29,66,48,60,48
|
569 |
+
"Ambulance Drivers and Attendants, Except Emergency Medical Technicians",2,53,43,63,43,35,30,50,41,60,45,25,23,3,Not relevant,53,45,16,9,53,43,47,41
|
570 |
+
Audiovisual Equipment Installers and Repairers,3,60,45,60,52,53,41,47,41,60,45,35,34,28,21,63,50,31,25,53,43,44,36
|
571 |
+
Chemical Equipment Operators and Tenders,2,50,41,60,45,44,36,69,45,60,45,47,41,16,9,60,48,41,30,53,43,50,43
|
572 |
+
"Door-to-Door Sales Workers, News and Street Vendors, and Related Workers",1,41,37,47,45,31,29,44,41,60,45,22,16,16,9,50,39,0,Not relevant,75,48,47,39
|
573 |
+
Farm Labor Contractors,2,35,34,50,46,31,30,44,37,60,45,28,30,10,7,44,41,6,Not relevant,63,48,44,39
|
574 |
+
Home Appliance Repairers,2,47,32,69,46,28,30,47,41,60,45,28,29,16,9,53,41,19,18,63,43,44,39
|
575 |
+
Postal Service Clerks,2,41,29,50,46,28,29,50,36,60,45,44,36,16,9,53,45,0,Not relevant,56,43,47,43
|
576 |
+
Power Plant Operators,2,47,43,72,52,41,34,56,48,60,45,28,27,19,11,53,46,25,27,63,43,50,41
|
577 |
+
Water and Wastewater Treatment Plant and System Operators,3,47,45,56,46,41,39,66,54,60,45,50,43,16,9,53,46,41,30,56,43,47,41
|
578 |
+
Barbers,3,38,36,47,39,22,23,47,39,60,43,22,16,0,Not relevant,44,30,6,Not relevant,53,39,25,29
|
579 |
+
Data Entry Keyers,2,44,30,47,41,28,30,56,32,60,43,25,29,19,14,66,48,0,Not relevant,47,43,50,43
|
580 |
+
"Electrical and Electronics Installers and Repairers, Transportation Equipment",3,31,34,66,43,28,32,53,43,60,43,28,32,16,11,53,45,28,32,50,43,50,43
|
581 |
+
Electricians,3,53,46,60,52,50,50,53,50,60,43,50,46,0,Not relevant,50,46,31,30,53,45,47,43
|
582 |
+
"Electronic Equipment Installers and Repairers, Motor Vehicles",3,44,34,63,45,38,32,47,41,60,43,31,32,22,16,53,45,22,21,50,43,47,41
|
583 |
+
Gambling Dealers,2,31,34,44,41,25,29,50,43,60,43,44,29,0,Not relevant,50,37,0,Not relevant,60,41,31,32
|
584 |
+
"Model Makers, Wood",3,50,37,56,45,31,27,60,41,60,43,35,Not available,10,9,60,45,16,14,53,41,44,39
|
585 |
+
"Rail Yard Engineers, Dinkey Operators, and Hostlers",2,50,39,56,43,44,36,66,45,60,43,35,29,6,Not relevant,53,45,13,7,63,45,47,36
|
586 |
+
"Service Unit Operators, Oil and Gas",2,50,43,69,46,47,34,66,48,60,43,44,34,19,13,50,43,10,5,50,43,50,43
|
587 |
+
Manufactured Building and Mobile Home Installers,2,60,43,69,46,60,45,63,48,60,41,41,41,0,Not relevant,53,45,16,13,60,41,41,41
|
588 |
+
"Radio, Cellular, and Tower Equipment Installers and Repairers",3,47,39,56,45,41,34,53,45,60,41,41,43,25,18,53,48,10,13,53,43,47,39
|
589 |
+
"Rotary Drill Operators, Oil and Gas",2,47,43,66,46,50,45,63,46,60,41,35,27,0,Not relevant,53,43,6,Not relevant,56,41,50,43
|
590 |
+
Motorboat Operators,2,50,39,56,48,38,39,56,48,60,39,35,29,0,Not relevant,41,39,19,20,63,41,38,37
|
591 |
+
Hoist and Winch Operators,2,47,30,69,37,38,36,66,37,60,34,41,27,0,Not relevant,44,34,6,Not relevant,53,32,31,32
|
592 |
+
Musicians and Singers,3,45,41,52,44,36,36,49,45,59,44,14,Not relevant,0,Not relevant,49,43,0,Not relevant,53,44,42,38
|
593 |
+
"Geological Technicians, Except Hydrologic Technicians",4,45,41,66,48,38,35,55,47,58,47,41,40,19,15,66,57,53,52,56,47,56,48
|
594 |
+
"Railroad Brake, Signal, and Switch Operators and Locomotive Firers",2,38,35,55,39,38,36,61,44,58,38,31,25,0,Not relevant,50,40,5,Not relevant,50,35,42,37
|
595 |
+
"Bookkeeping, Accounting, and Auditing Clerks",3,44,45,56,46,25,27,50,41,56,54,60,48,10,5,56,54,3,Not relevant,53,45,53,45
|
596 |
+
Mechanical Drafters,3,56,52,56,46,47,41,50,45,56,50,56,55,31,32,56,55,22,25,53,54,50,45
|
597 |
+
Transportation Security Screeners,2,47,43,56,50,38,39,60,45,56,50,22,23,13,13,50,43,19,14,60,43,47,37
|
598 |
+
Agricultural Technicians,3,50,43,56,57,44,43,53,46,56,48,53,43,16,11,63,55,50,43,50,45,56,52
|
599 |
+
Aircraft Mechanics and Service Technicians,3,50,45,72,57,41,41,60,45,56,48,31,32,13,7,69,57,38,37,60,46,47,43
|
600 |
+
Automotive Engineering Technicians,3,50,45,63,48,35,37,53,48,56,48,53,48,28,27,66,57,41,43,63,48,56,46
|
601 |
+
Biofuels Processing Technicians,2,47,39,53,45,38,39,60,46,56,48,47,41,16,14,63,54,47,36,56,50,53,43
|
602 |
+
Freight Forwarders,2,53,45,56,48,41,43,63,46,56,48,50,43,13,11,63,46,0,Not relevant,60,48,60,46
|
603 |
+
Exercise Trainers and Group Fitness Instructors,3,50,41,50,45,56,52,56,52,56,46,19,11,6,Not relevant,47,45,16,9,63,46,44,39
|
604 |
+
Gambling Surveillance Officers and Gambling Investigators,2,53,45,69,54,38,41,78,55,56,46,28,25,10,5,56,50,6,Not relevant,66,52,53,45
|
605 |
+
Gas Plant Operators,3,44,45,63,48,38,36,69,50,56,46,38,39,16,13,53,48,31,29,56,46,56,43
|
606 |
+
"Makeup Artists, Theatrical and Performance",3,50,46,53,46,38,36,50,45,56,46,25,30,6,Not relevant,56,46,16,9,63,45,44,39
|
607 |
+
Solar Thermal Installers and Technicians,3,50,45,56,50,38,41,56,46,56,46,38,39,16,11,60,46,13,Not available,56,45,47,45
|
608 |
+
Bailiffs,3,44,30,50,45,28,29,60,46,56,45,13,11,3,Not relevant,47,41,0,Not relevant,60,43,31,32
|
609 |
+
Dietetic Technicians,3,53,45,53,45,53,45,53,55,56,45,47,43,13,7,53,46,25,25,60,46,53,45
|
610 |
+
Hydroelectric Plant Technicians,3,53,45,66,46,47,37,63,54,56,45,50,48,22,21,56,52,35,32,60,43,50,41
|
611 |
+
Library Technicians,3,47,41,50,46,50,41,47,41,56,45,25,30,16,11,60,55,6,Not relevant,56,43,47,43
|
612 |
+
Security and Fire Alarm Systems Installers,3,47,43,60,50,35,34,50,45,56,45,28,30,19,13,53,46,19,18,60,43,47,41
|
613 |
+
Tour Guides and Escorts,3,31,34,47,45,31,37,50,43,56,45,25,16,0,Not relevant,50,43,0,Not relevant,72,46,31,32
|
614 |
+
Word Processors and Typists,2,31,29,44,36,22,21,50,34,56,45,41,36,19,13,63,50,0,Not relevant,50,41,56,46
|
615 |
+
Automotive Service Technicians and Mechanics,3,50,43,64,46,31,35,49,43,56,44,27,27,17,12,50,40,20,24,50,41,45,37
|
616 |
+
Dancers,3,44,41,50,37,38,39,47,43,56,43,10,5,0,Not relevant,44,41,0,Not relevant,47,43,38,36
|
617 |
+
"Derrick Operators, Oil and Gas",1,44,37,63,45,44,41,60,50,56,43,35,36,0,Not relevant,47,41,6,Not relevant,60,43,44,37
|
618 |
+
Hazardous Materials Removal Workers,3,50,43,63,52,38,32,66,45,56,43,25,30,6,Not relevant,53,43,25,25,53,41,50,41
|
619 |
+
"Library Assistants, Clerical",2,31,30,50,41,38,30,47,39,56,43,28,30,13,7,56,46,0,Not relevant,50,43,50,43
|
620 |
+
Medical Equipment Preparers,2,50,43,63,41,44,37,60,43,56,43,31,32,16,11,53,41,22,14,53,39,47,39
|
621 |
+
Millwrights,2,47,45,66,45,50,41,53,45,56,43,41,39,16,9,50,43,13,9,50,43,44,41
|
622 |
+
"Molding, Coremaking, and Casting Machine Setters, Operators, and Tenders, Metal and Plastic",2,47,32,50,37,31,32,53,43,56,43,31,30,10,7,53,43,3,Not relevant,50,34,41,36
|
623 |
+
"Pesticide Handlers, Sprayers, and Applicators, Vegetation",2,47,34,53,41,31,29,47,39,56,43,31,29,0,Not relevant,50,41,25,20,53,43,38,32
|
624 |
+
Stationary Engineers and Boiler Operators,3,50,37,60,45,31,30,56,45,56,43,25,21,6,Not relevant,53,43,38,30,50,43,50,39
|
625 |
+
"Umpires, Referees, and Other Sports Officials",2,50,43,60,50,50,41,53,45,56,43,38,30,0,Not relevant,50,45,10,11,66,45,44,36
|
626 |
+
"Cooks, Short Order",2,47,37,50,39,28,32,47,41,56,41,25,29,3,Not relevant,50,39,0,Not relevant,50,41,31,37
|
627 |
+
Couriers and Messengers,2,41,32,50,37,28,27,44,30,56,41,38,30,0,Not relevant,50,41,3,Not relevant,56,37,50,39
|
628 |
+
Log Graders and Scalers,2,50,39,56,43,35,30,50,43,56,41,44,39,13,7,47,41,19,11,53,41,50,43
|
629 |
+
Semiconductor Processing Technicians,2,38,32,60,41,31,29,56,43,56,41,22,25,16,11,60,48,22,18,47,41,44,37
|
630 |
+
Parking Attendants,2,31,25,47,39,28,29,44,34,56,39,44,32,0,Not relevant,38,27,0,Not relevant,63,34,44,29
|
631 |
+
Solar Photovoltaic Installers,2,50,43,56,50,38,34,53,45,56,39,38,45,6,Not relevant,50,39,19,21,50,41,35,37
|
632 |
+
"Plumbers, Pipefitters, and Steamfitters",3,50,43,59,48,42,39,50,42,55,45,36,38,2,Not relevant,52,44,14,Not relevant,53,40,38,39
|
633 |
+
Surveying and Mapping Technicians,3,53,42,63,45,45,42,50,43,55,43,61,51,24,23,63,53,27,29,55,44,53,49
|
634 |
+
Carpenters,2,49,39,52,45,36,35,53,42,55,40,41,42,0,Not relevant,52,41,10,Not relevant,53,39,35,37
|
635 |
+
"Electrical and Electronics Repairers, Commercial and Industrial Equipment",3,50,43,69,54,47,43,53,45,53,52,44,41,28,30,53,57,44,39,53,45,50,43
|
636 |
+
Electro-Mechanical and Mechatronics Technologists and Technicians,3,47,43,69,54,47,43,72,57,53,48,47,41,31,29,56,55,44,41,56,45,56,48
|
637 |
+
Audio and Video Technicians,3,50,43,63,54,44,43,69,48,53,46,25,29,25,18,63,52,0,Not relevant,53,45,53,45
|
638 |
+
Computer Numerically Controlled Tool Operators,3,50,45,66,57,44,43,69,55,53,46,47,41,44,37,56,52,25,21,50,43,44,41
|
639 |
+
"Fine Artists, Including Painters, Sculptors, and Illustrators",3,56,48,56,46,35,34,44,41,53,46,28,20,16,9,50,45,0,Not relevant,50,41,47,39
|
640 |
+
"Aircraft Structure, Surfaces, Rigging, and Systems Assemblers",2,47,43,53,45,41,41,53,45,53,45,38,39,13,14,50,45,19,21,50,43,44,43
|
641 |
+
Camera and Photographic Equipment Repairers,3,50,45,63,48,41,32,47,41,53,45,35,36,19,18,53,50,28,27,50,43,41,43
|
642 |
+
Costume Attendants,2,38,32,47,41,22,23,53,43,53,45,13,14,0,Not relevant,47,45,0,Not relevant,53,43,38,34
|
643 |
+
"Electrical and Electronics Repairers, Powerhouse, Substation, and Relay",3,47,43,69,48,31,32,50,43,53,45,31,34,22,16,60,50,41,34,53,41,47,43
|
644 |
+
First-Line Supervisors of Housekeeping and Janitorial Workers,2,47,41,53,46,53,43,56,55,53,45,28,30,0,Not relevant,50,46,0,Not relevant,56,48,47,43
|
645 |
+
"Furnace, Kiln, Oven, Drier, and Kettle Operators and Tenders",2,35,34,53,43,28,21,53,45,53,45,31,29,6,Not relevant,53,43,22,16,53,43,41,37
|
646 |
+
"Inspectors, Testers, Sorters, Samplers, and Weighers",2,35,34,56,46,25,30,50,45,53,45,41,36,13,9,53,43,16,14,53,43,56,45
|
647 |
+
"Lifeguards, Ski Patrol, and Other Recreational Protective Service Workers",2,44,39,50,43,53,43,69,50,53,45,10,9,0,Not relevant,47,41,13,9,63,43,38,37
|
648 |
+
Proofreaders and Copy Markers,4,38,34,50,43,25,20,47,39,53,45,22,14,6,Not relevant,81,61,3,Not relevant,56,45,66,57
|
649 |
+
Wind Turbine Service Technicians,3,53,45,63,45,50,43,56,45,53,45,28,39,16,9,56,46,25,29,53,43,47,39
|
650 |
+
Animal Trainers,2,56,45,60,48,63,55,53,50,53,43,22,23,3,Not relevant,47,45,19,20,63,43,47,39
|
651 |
+
Butchers and Meat Cutters,2,38,30,50,43,31,29,50,41,53,43,35,29,3,Not relevant,50,43,6,Not relevant,50,43,31,39
|
652 |
+
Childcare Workers,2,50,43,53,43,50,45,63,45,53,43,28,27,0,Not relevant,50,43,3,Not relevant,53,43,50,41
|
653 |
+
Computer Numerically Controlled Tool Programmers,3,56,52,56,50,47,39,63,52,53,43,56,50,78,59,56,50,22,25,50,43,56,43
|
654 |
+
Construction Laborers,2,28,30,44,37,28,29,41,36,53,43,25,20,0,Not relevant,44,37,13,7,56,41,31,29
|
655 |
+
Conveyor Operators and Tenders,1,44,37,50,41,28,29,60,45,53,43,25,27,6,Not relevant,47,41,19,21,50,41,44,39
|
656 |
+
Crane and Tower Operators,3,47,34,56,43,31,32,53,43,53,43,41,30,0,Not relevant,50,43,3,Not relevant,50,41,41,34
|
657 |
+
"Electric Motor, Power Tool, and Related Repairers",3,47,45,69,48,44,39,47,45,53,43,41,39,19,13,50,43,28,30,50,43,47,39
|
658 |
+
"Farmworkers, Farm, Ranch, and Aquacultural Animals",2,47,34,60,43,28,30,56,46,53,43,28,25,0,Not relevant,50,39,22,20,50,41,41,39
|
659 |
+
File Clerks,2,44,32,50,43,28,30,50,32,53,43,25,30,13,9,69,43,0,Not relevant,50,43,50,43
|
660 |
+
"Floor Layers, Except Carpet, Wood, and Hard Tiles",2,44,36,47,41,28,27,47,45,53,43,28,30,0,Not relevant,35,34,6,Not relevant,53,37,35,32
|
661 |
+
"Forging Machine Setters, Operators, and Tenders, Metal and Plastic",2,35,30,47,41,35,32,53,45,53,43,28,30,6,Not relevant,53,41,10,9,47,41,44,39
|
662 |
+
Funeral Attendants,2,25,21,44,39,22,20,53,41,53,43,19,18,3,Not relevant,41,37,10,7,60,43,35,34
|
663 |
+
Furniture Finishers,2,44,39,53,45,38,32,53,41,53,43,25,25,3,Not relevant,44,39,3,Not relevant,50,34,35,32
|
664 |
+
Gas Compressor and Gas Pumping Station Operators,2,47,34,66,43,31,34,53,43,53,43,31,30,10,7,53,45,22,18,50,43,50,41
|
665 |
+
Gem and Diamond Workers,3,38,37,50,45,31,30,50,43,53,43,44,41,0,Not relevant,47,41,10,9,53,43,41,41
|
666 |
+
Industrial Machinery Mechanics,3,53,45,66,50,41,41,53,45,53,43,35,36,19,21,47,43,19,21,50,43,44,39
|
667 |
+
"Insulation Workers, Mechanical",2,41,39,56,41,31,32,50,43,53,43,25,25,0,Not relevant,47,43,13,9,50,39,35,36
|
668 |
+
Locksmiths and Safe Repairers,2,47,41,53,45,31,32,44,39,53,43,38,30,16,11,50,43,0,Not relevant,53,43,41,34
|
669 |
+
Mechanical Door Repairers,2,50,32,63,43,41,30,50,43,53,43,38,36,0,Not relevant,53,41,0,Not relevant,53,43,44,41
|
670 |
+
"Milling and Planing Machine Setters, Operators, and Tenders, Metal and Plastic",2,41,36,50,41,31,27,56,43,53,43,47,39,19,11,50,39,16,9,50,37,38,32
|
671 |
+
Motorboat Mechanics and Service Technicians,3,35,32,60,45,25,29,47,43,53,43,31,29,16,9,44,39,25,25,50,37,38,36
|
672 |
+
Motorcycle Mechanics,3,53,45,53,45,41,32,53,43,53,43,31,30,6,Not relevant,50,43,22,18,53,43,44,41
|
673 |
+
Musical Instrument Repairers and Tuners,3,50,43,63,46,47,36,50,43,53,43,25,29,6,Not relevant,50,43,22,18,53,43,38,39
|
674 |
+
Parking Enforcement Workers,2,47,34,53,43,31,34,56,43,53,43,28,25,13,11,50,41,0,Not relevant,56,43,47,34
|
675 |
+
Pipelayers,2,35,30,50,43,28,29,47,39,53,43,28,30,0,Not relevant,47,41,10,7,47,43,25,30
|
676 |
+
"Plating Machine Setters, Operators, and Tenders, Metal and Plastic",2,28,30,50,39,31,30,53,43,53,43,25,20,0,Not relevant,53,41,25,27,50,39,44,37
|
677 |
+
Prepress Technicians and Workers,3,47,43,53,43,35,32,53,43,53,43,25,29,19,13,50,43,16,13,53,45,47,41
|
678 |
+
Printing Press Operators,2,47,41,53,45,28,30,56,46,53,43,28,29,13,9,53,45,0,Not relevant,53,43,35,37
|
679 |
+
"Pump Operators, Except Wellhead Pumpers",2,47,41,53,45,28,32,63,48,53,43,35,37,19,11,53,43,25,20,53,41,47,39
|
680 |
+
Riggers,2,41,32,53,43,16,16,53,45,53,43,16,14,0,Not relevant,53,34,10,7,50,39,35,34
|
681 |
+
Sailors and Marine Oilers,2,47,41,53,43,38,37,56,45,53,43,38,30,0,Not relevant,47,45,22,14,50,43,44,41
|
682 |
+
"Shipping, Receiving, and Inventory Clerks",2,35,30,50,43,28,32,50,43,53,43,31,32,16,9,53,45,0,Not relevant,56,43,41,39
|
683 |
+
Structural Iron and Steel Workers,2,50,43,53,45,47,43,50,43,53,43,28,30,0,Not relevant,44,43,3,Not relevant,50,34,31,34
|
684 |
+
Team Assemblers,2,31,30,50,41,35,30,53,43,53,43,25,21,16,9,50,41,0,Not relevant,50,43,44,41
|
685 |
+
Textile Bleaching and Dyeing Machine Operators and Tenders,2,31,29,50,37,25,25,50,39,53,43,38,36,0,Not relevant,44,37,19,14,50,37,38,37
|
686 |
+
Weatherization Installers and Technicians,2,47,41,56,46,44,34,60,46,53,43,44,39,16,13,50,43,25,13,53,43,47,43
|
687 |
+
Cashiers,2,35,32,47,37,28,30,47,36,53,41,50,32,3,Not relevant,47,37,0,Not relevant,53,41,31,34
|
688 |
+
"Control and Valve Installers and Repairers, Except Mechanical Door",3,47,43,60,45,38,34,53,43,53,41,28,21,16,11,50,45,19,16,53,43,50,41
|
689 |
+
Farm Equipment Mechanics and Service Technicians,3,50,43,63,52,41,37,50,41,53,41,44,36,19,11,53,41,22,23,53,43,44,36
|
690 |
+
"Food and Tobacco Roasting, Baking, and Drying Machine Operators and Tenders",2,38,37,53,43,38,36,63,43,53,41,13,11,6,Not relevant,53,41,19,13,50,41,47,41
|
691 |
+
Forest and Conservation Workers,3,50,37,53,45,47,37,53,45,53,41,38,30,16,9,47,45,25,21,56,43,47,36
|
692 |
+
"Heat Treating Equipment Setters, Operators, and Tenders, Metal and Plastic",2,44,37,50,43,41,39,53,48,53,41,47,41,19,13,47,43,25,16,53,37,47,37
|
693 |
+
Helpers--Electricians,2,38,34,50,39,28,27,44,32,53,41,25,20,0,Not relevant,35,39,16,11,50,34,25,29
|
694 |
+
Light Truck Drivers,2,28,30,47,41,22,25,50,36,53,41,38,30,0,Not relevant,50,39,3,Not relevant,53,39,47,36
|
695 |
+
Recycling and Reclamation Workers,2,38,32,44,39,25,29,53,39,53,41,22,21,0,Not relevant,41,41,3,Not relevant,44,34,35,36
|
696 |
+
"Roof Bolters, Mining",2,47,41,60,43,31,36,56,45,53,41,28,25,0,Not relevant,35,32,13,11,50,32,28,32
|
697 |
+
"Transportation Vehicle, Equipment and Systems Inspectors, Except Aviation",2,44,29,50,41,25,27,47,41,53,41,25,25,0,Not relevant,50,45,35,34,50,41,41,39
|
698 |
+
Adhesive Bonding Machine Operators and Tenders,2,41,34,47,39,31,30,53,45,53,39,38,34,16,9,50,36,13,7,53,37,44,32
|
699 |
+
Automotive and Watercraft Service Attendants,2,38,29,50,41,31,29,44,34,53,39,35,27,3,Not relevant,44,36,10,5,53,36,41,34
|
700 |
+
"Bus Drivers, Transit and Intercity",2,41,29,53,39,28,25,50,36,53,39,25,25,0,Not relevant,44,34,0,Not relevant,50,32,38,30
|
701 |
+
Craft Artists,3,47,37,50,45,31,32,50,39,53,39,28,29,13,7,53,39,10,5,53,41,47,37
|
702 |
+
"Helpers--Installation, Maintenance, and Repair Workers",2,41,36,53,39,38,30,53,37,53,39,25,23,10,5,41,30,3,Not relevant,50,34,28,29
|
703 |
+
"Loading and Moving Machine Operators, Underground Mining",2,25,25,47,39,22,18,44,36,53,39,13,9,0,Not relevant,47,36,3,Not relevant,41,36,25,25
|
704 |
+
Outdoor Power Equipment and Other Small Engine Mechanics,2,44,39,56,43,38,30,47,39,53,39,25,29,10,5,47,37,19,16,47,36,41,36
|
705 |
+
"Rolling Machine Setters, Operators, and Tenders, Metal and Plastic",2,50,43,53,43,47,39,63,43,53,39,35,36,16,9,50,41,10,5,56,39,41,37
|
706 |
+
Roofers,2,41,34,53,41,28,29,50,39,53,39,31,30,0,Not relevant,44,37,6,Not relevant,50,36,25,29
|
707 |
+
Tile and Stone Setters,2,44,36,56,45,31,32,47,37,53,39,50,45,0,Not relevant,44,39,6,Not relevant,53,39,35,32
|
708 |
+
"Ushers, Lobby Attendants, and Ticket Takers",2,41,30,44,37,16,18,44,37,53,39,22,20,10,5,44,32,0,Not relevant,56,36,31,30
|
709 |
+
Shampooers,2,31,29,38,30,25,25,44,34,53,37,16,16,0,Not relevant,38,32,0,Not relevant,56,36,35,29
|
710 |
+
"Welding, Soldering, and Brazing Machine Setters, Operators, and Tenders",2,38,29,53,43,31,27,50,45,53,37,31,23,3,Not relevant,44,37,19,11,53,41,31,29
|
711 |
+
Orderlies,2,28,27,44,30,28,29,41,29,53,36,19,13,0,Not relevant,38,29,6,Not relevant,50,30,41,32
|
712 |
+
"Meat, Poultry, and Fish Cutters and Trimmers",1,35,32,50,41,31,32,50,37,53,32,31,27,0,Not relevant,35,32,0,Not relevant,50,37,28,30
|
713 |
+
"Mobile Heavy Equipment Mechanics, Except Engines",3,50,43,56,48,41,39,50,45,50,45,47,37,16,9,53,48,22,21,50,43,50,41
|
714 |
+
Animal Breeders,2,50,39,56,46,28,29,50,43,50,43,28,30,13,7,47,41,50,41,50,39,44,39
|
715 |
+
Animal Caretakers,2,35,30,44,41,25,29,53,41,50,43,25,27,6,Not relevant,50,41,13,7,47,39,44,36
|
716 |
+
Automotive Body and Related Repairers,2,47,32,50,43,31,30,50,41,50,43,28,29,19,11,47,41,6,Not relevant,50,39,35,30
|
717 |
+
Biomass Plant Technicians,2,50,43,53,45,50,43,60,46,50,43,44,39,19,11,50,43,31,23,50,43,50,43
|
718 |
+
Boilermakers,3,50,43,63,45,44,39,53,45,50,43,31,29,0,Not relevant,53,43,25,27,47,41,44,41
|
719 |
+
"Cooks, Institution and Cafeteria",2,47,41,50,41,44,39,53,43,50,43,47,39,0,Not relevant,47,41,0,Not relevant,53,41,44,37
|
720 |
+
"Cooks, Restaurant",2,44,39,50,43,28,34,53,45,50,43,38,32,3,Not relevant,47,34,6,Not relevant,50,43,31,36
|
721 |
+
Cooling and Freezing Equipment Operators and Tenders,2,50,45,66,46,38,34,63,48,50,43,35,34,19,11,50,43,19,13,53,41,47,41
|
722 |
+
"Crushing, Grinding, and Polishing Machine Setters, Operators, and Tenders",2,47,41,47,43,44,39,60,43,50,43,41,32,10,5,50,43,28,21,50,43,47,41
|
723 |
+
Dental Laboratory Technicians,2,50,43,53,45,44,43,50,43,50,43,28,30,3,Not relevant,56,45,28,16,50,43,44,41
|
724 |
+
"Drilling and Boring Machine Tool Setters, Operators, and Tenders, Metal and Plastic",2,44,34,50,45,28,30,53,45,50,43,28,32,6,Not relevant,50,41,13,9,50,43,35,39
|
725 |
+
"Earth Drillers, Except Oil and Gas",2,44,32,56,43,31,29,53,45,50,43,31,25,0,Not relevant,44,36,16,11,50,41,35,34
|
726 |
+
Engine and Other Machine Assemblers,2,35,32,50,43,25,29,50,43,50,43,25,29,19,11,53,45,22,23,50,41,31,32
|
727 |
+
Etchers and Engravers,2,35,32,50,45,31,29,53,41,50,43,25,25,16,9,53,41,3,Not relevant,50,37,31,32
|
728 |
+
"Excavating and Loading Machine and Dragline Operators, Surface Mining",2,50,41,50,43,35,32,53,43,50,43,31,32,0,Not relevant,50,43,0,Not relevant,50,39,38,34
|
729 |
+
"Extruding and Forming Machine Setters, Operators, and Tenders, Synthetic and Glass Fibers",2,44,37,47,43,31,30,63,45,50,43,25,27,6,Not relevant,47,39,6,Not relevant,50,41,41,37
|
730 |
+
Food Batchmakers,2,44,30,53,41,28,29,47,43,50,43,44,34,3,Not relevant,53,43,25,25,50,43,47,41
|
731 |
+
Food Cooking Machine Operators and Tenders,2,41,34,50,34,28,29,53,41,50,43,25,27,6,Not relevant,53,39,22,20,41,34,44,37
|
732 |
+
Gambling Change Persons and Booth Cashiers,2,25,30,47,41,25,30,47,36,50,43,47,36,6,Not relevant,53,43,0,Not relevant,50,39,44,37
|
733 |
+
Geothermal Technicians,2,53,43,56,45,28,32,69,52,50,43,44,45,22,16,56,45,28,29,50,43,50,43
|
734 |
+
"Glass Blowers, Molders, Benders, and Finishers",2,47,41,50,43,41,34,56,43,50,43,41,30,10,5,50,43,19,18,44,39,41,37
|
735 |
+
Helpers--Carpenters,2,47,30,50,39,28,29,50,34,50,43,35,32,0,Not relevant,47,32,0,Not relevant,50,34,31,34
|
736 |
+
"Maintenance and Repair Workers, General",3,53,45,56,45,31,34,53,45,50,43,35,32,10,7,50,45,22,16,50,43,47,41
|
737 |
+
"Maintenance Workers, Machinery",3,44,30,50,43,28,27,47,39,50,43,28,23,16,11,50,41,16,11,47,39,28,32
|
738 |
+
Metal-Refining Furnace Operators and Tenders,2,47,30,50,43,31,29,66,45,50,43,38,37,0,Not relevant,50,41,25,23,50,41,44,39
|
739 |
+
"Meter Readers, Utilities",2,44,30,50,39,35,36,47,41,50,43,35,30,22,13,50,41,3,Not relevant,50,43,41,39
|
740 |
+
Motion Picture Projectionists,2,28,30,47,39,25,29,47,41,50,43,13,7,10,9,50,43,0,Not relevant,50,41,28,39
|
741 |
+
"Multiple Machine Tool Setters, Operators, and Tenders, Metal and Plastic",2,47,41,50,45,35,39,53,43,50,43,31,30,22,16,50,43,6,Not relevant,50,41,44,39
|
742 |
+
Operating Engineers and Other Construction Equipment Operators,2,47,37,47,43,28,30,53,43,50,43,25,23,3,Not relevant,47,36,13,9,47,36,25,27
|
743 |
+
"Painters, Construction and Maintenance",2,35,32,50,43,28,20,47,37,50,43,28,27,0,Not relevant,47,39,13,7,38,32,28,29
|
744 |
+
"Patternmakers, Wood",3,44,36,50,45,28,29,53,43,50,43,50,43,16,9,53,43,19,13,47,36,41,30
|
745 |
+
"Petroleum Pump System Operators, Refinery Operators, and Gaugers",2,50,46,60,54,50,43,69,54,50,43,44,48,22,18,63,50,25,27,50,41,60,43
|
746 |
+
Postal Service Mail Carriers,2,25,29,50,39,19,16,41,32,50,43,16,16,0,Not relevant,41,41,0,Not relevant,50,39,28,30
|
747 |
+
"Pourers and Casters, Metal",2,31,30,50,43,31,30,50,43,50,43,22,23,6,Not relevant,44,36,19,16,47,37,31,29
|
748 |
+
Rail Car Repairers,2,44,39,56,48,41,32,47,39,50,43,28,30,0,Not relevant,47,39,19,14,50,34,47,39
|
749 |
+
"Separating, Filtering, Clarifying, Precipitating, and Still Machine Setters, Operators, and Tenders",2,47,41,53,43,44,41,53,45,50,43,41,37,19,11,50,41,38,29,47,41,47,41
|
750 |
+
Signal and Track Switch Repairers,3,47,43,69,48,41,39,47,45,50,43,38,32,25,13,47,41,19,13,47,36,47,43
|
751 |
+
Stonemasons,3,50,37,66,43,38,34,50,39,50,43,41,37,0,Not relevant,47,36,13,11,50,37,47,37
|
752 |
+
Structural Metal Fabricators and Fitters,3,31,23,50,32,10,11,44,36,50,43,25,27,0,Not relevant,50,34,13,9,50,36,25,29
|
753 |
+
"Tailors, Dressmakers, and Custom Sewers",2,41,37,50,43,25,25,44,37,50,43,22,23,0,Not relevant,41,37,0,Not relevant,50,41,38,32
|
754 |
+
"Tank Car, Truck, and Ship Loaders",2,44,39,50,41,38,34,50,45,50,43,38,30,10,5,56,45,13,11,50,41,50,39
|
755 |
+
Telecommunications Line Installers and Repairers,2,44,37,53,45,31,29,50,41,50,43,25,25,16,9,47,43,19,16,53,39,41,41
|
756 |
+
Tool and Die Makers,3,50,45,53,45,28,30,53,43,50,43,44,41,16,9,47,45,19,18,47,39,31,36
|
757 |
+
Upholsterers,2,50,41,63,45,44,39,50,43,50,43,38,36,0,Not relevant,53,43,6,Not relevant,50,41,41,34
|
758 |
+
Watch and Clock Repairers,3,31,32,53,43,25,23,41,32,50,43,25,29,0,Not relevant,47,41,19,18,50,39,31,32
|
759 |
+
"Weighers, Measurers, Checkers, and Samplers, Recordkeeping",2,44,39,60,43,44,36,53,45,50,43,47,39,19,16,56,43,13,11,53,43,47,43
|
760 |
+
Agricultural Equipment Operators,1,31,27,47,39,19,14,44,32,50,41,22,16,0,Not relevant,31,27,16,9,44,37,28,25
|
761 |
+
"Coil Winders, Tapers, and Finishers",2,31,27,47,41,25,27,53,43,50,41,19,16,0,Not relevant,47,39,0,Not relevant,47,36,28,29
|
762 |
+
Continuous Mining Machine Operators,2,44,36,56,45,35,36,50,43,50,41,25,20,0,Not relevant,44,32,10,Not relevant,50,32,28,29
|
763 |
+
"Cooks, Private Household",3,50,45,56,43,38,32,50,43,50,41,31,29,6,Not relevant,50,43,13,7,50,43,44,36
|
764 |
+
Electrical and Electronic Equipment Assemblers,2,41,39,50,43,28,29,53,41,50,41,28,29,6,Not relevant,56,45,22,21,47,39,47,37
|
765 |
+
Fiberglass Laminators and Fabricators,2,47,39,47,41,41,39,53,45,50,41,35,30,0,Not relevant,50,39,19,14,50,37,47,36
|
766 |
+
Highway Maintenance Workers,2,35,30,47,39,25,25,53,39,50,41,28,27,3,Not relevant,44,39,0,Not relevant,50,39,28,27
|
767 |
+
"Lathe and Turning Machine Tool Setters, Operators, and Tenders, Metal and Plastic",2,31,29,47,43,31,25,53,43,50,41,28,32,16,9,50,43,19,11,47,37,31,30
|
768 |
+
Machinists,3,44,41,53,45,28,34,53,45,50,41,47,39,19,16,47,43,13,11,50,43,38,37
|
769 |
+
"Mixing and Blending Machine Setters, Operators, and Tenders",2,50,41,50,41,41,36,56,43,50,41,38,30,19,14,56,41,31,29,50,36,50,39
|
770 |
+
"Model Makers, Metal and Plastic",3,47,41,53,43,35,29,56,43,50,41,41,41,19,13,47,43,19,18,50,37,44,37
|
771 |
+
"Molders, Shapers, and Casters, Except Metal and Plastic",2,47,36,50,41,38,34,50,41,50,41,35,34,0,Not relevant,53,43,3,Not relevant,47,37,38,30
|
772 |
+
"Office Machine Operators, Except Computer",2,44,37,50,37,25,29,50,43,50,41,38,29,19,13,53,41,0,Not relevant,50,43,47,39
|
773 |
+
"Patternmakers, Metal and Plastic",3,41,32,50,43,28,29,50,45,50,41,35,34,28,18,50,43,13,7,50,41,31,30
|
774 |
+
"Potters, Manufacturing",3,25,30,50,45,19,20,50,43,50,41,28,25,3,Not relevant,44,41,13,9,47,41,35,37
|
775 |
+
"Refractory Materials Repairers, Except Brickmasons",2,35,30,47,43,31,30,44,39,50,41,25,25,0,Not relevant,47,37,0,Not relevant,44,39,38,32
|
776 |
+
Septic Tank Servicers and Sewer Pipe Cleaners,1,44,37,53,43,41,34,47,41,50,41,35,34,0,Not relevant,44,41,6,Not relevant,44,36,38,37
|
777 |
+
Bakers,2,50,43,50,43,31,29,56,41,50,39,31,30,0,Not relevant,47,39,19,13,50,41,31,30
|
778 |
+
Brickmasons and Blockmasons,2,47,30,53,43,28,30,50,41,50,39,47,48,0,Not relevant,44,34,19,18,50,36,31,30
|
779 |
+
Bridge and Lock Tenders,2,35,30,50,43,38,30,56,43,50,39,25,27,3,Not relevant,47,34,3,Not relevant,50,41,47,41
|
780 |
+
"Cutting, Punching, and Press Machine Setters, Operators, and Tenders, Metal and Plastic",2,41,32,50,39,25,29,56,43,50,39,35,34,3,Not relevant,47,41,16,13,50,39,41,34
|
781 |
+
"Extruding, Forming, Pressing, and Compacting Machine Setters, Operators, and Tenders",2,41,30,50,39,28,29,60,45,50,39,28,29,6,Not relevant,50,39,19,11,53,34,44,34
|
782 |
+
Floor Sanders and Finishers,1,41,32,44,34,28,27,47,39,50,39,25,21,0,Not relevant,41,34,3,Not relevant,44,32,28,27
|
783 |
+
Manicurists and Pedicurists,2,44,32,38,36,28,27,41,30,50,39,22,18,0,Not relevant,44,30,0,Not relevant,50,37,28,27
|
784 |
+
Packaging and Filling Machine Operators and Tenders,2,35,30,47,32,28,32,53,41,50,39,28,29,3,Not relevant,47,41,0,Not relevant,44,32,41,32
|
785 |
+
"Paper Goods Machine Setters, Operators, and Tenders",2,47,32,50,41,25,30,50,43,50,39,28,29,0,Not relevant,44,32,0,Not relevant,50,39,31,30
|
786 |
+
Pile Driver Operators,2,25,29,47,43,22,23,56,41,50,39,28,20,0,Not relevant,38,32,10,5,44,34,31,27
|
787 |
+
Rail-Track Laying and Maintenance Equipment Operators,2,41,34,53,43,38,32,53,41,50,39,31,29,0,Not relevant,35,32,6,Not relevant,47,32,31,30
|
788 |
+
Shoe Machine Operators and Tenders,2,25,25,50,34,19,16,47,41,50,39,28,23,0,Not relevant,50,39,3,Not relevant,47,37,22,25
|
789 |
+
"Stone Cutters and Carvers, Manufacturing",2,38,29,50,41,31,32,47,37,50,39,31,23,13,7,47,41,10,5,47,34,31,32
|
790 |
+
Stockers and Order Fillers,2,34,30,47,37,22,18,42,33,50,38,33,24,7,Not relevant,43,36,1,Not relevant,52,37,35,31
|
791 |
+
Helpers--Extraction Workers,2,47,37,53,41,41,32,69,45,50,37,38,32,0,Not relevant,44,36,10,7,47,34,35,32
|
792 |
+
"Rock Splitters, Quarry",1,28,30,44,37,25,29,47,36,50,37,22,21,0,Not relevant,44,34,3,Not relevant,41,37,28,30
|
793 |
+
Tire Builders,2,25,25,50,36,25,27,50,41,50,37,22,16,6,Not relevant,31,30,0,Not relevant,41,32,25,25
|
794 |
+
Amusement and Recreation Attendants,1,35,29,44,39,28,29,47,34,50,36,25,25,6,Not relevant,35,29,0,Not relevant,56,39,38,29
|
795 |
+
Helpers--Roofers,2,41,30,47,32,31,32,50,36,50,36,31,25,10,5,35,32,0,Not relevant,47,29,31,30
|
796 |
+
Paperhangers,2,25,25,47,34,25,25,44,36,50,36,25,20,0,Not relevant,35,34,6,Not relevant,50,34,25,29
|
797 |
+
"Textile Cutting Machine Setters, Operators, and Tenders",2,38,29,47,39,25,29,53,46,50,36,28,30,19,11,44,37,0,Not relevant,50,30,41,32
|
798 |
+
"Textile Winding, Twisting, and Drawing Out Machine Setters, Operators, and Tenders",2,35,30,50,43,35,29,50,43,50,36,25,29,0,Not relevant,38,30,0,Not relevant,53,34,35,29
|
799 |
+
Tire Repairers and Changers,2,31,29,50,34,28,32,47,32,50,36,25,27,0,Not relevant,38,29,0,Not relevant,50,32,31,30
|
800 |
+
"Cooks, Fast Food",1,35,32,41,34,25,23,41,32,50,34,25,23,0,Not relevant,41,37,0,Not relevant,44,30,25,29
|
801 |
+
Food Preparation Workers,1,35,30,47,30,35,30,47,30,50,34,28,27,0,Not relevant,41,30,0,Not relevant,50,30,31,30
|
802 |
+
"Food Servers, Nonrestaurant",2,25,30,47,34,25,30,44,32,50,34,25,21,3,Not relevant,47,30,0,Not relevant,50,36,25,30
|
803 |
+
Cement Masons and Concrete Finishers,1,28,25,50,34,35,29,56,41,50,32,41,39,3,Not relevant,35,27,6,Not relevant,53,29,25,27
|
804 |
+
Fence Erectors,2,31,27,50,41,31,29,50,41,50,32,31,37,0,Not relevant,38,30,3,Not relevant,50,30,25,29
|
805 |
+
"Insulation Workers, Floor, Ceiling, and Wall",2,41,30,50,39,28,29,47,39,50,32,31,27,0,Not relevant,41,32,0,Not relevant,50,32,28,30
|
806 |
+
"Janitors and Cleaners, Except Maids and Housekeeping Cleaners",2,38,29,44,30,22,13,38,27,50,32,0,Not relevant,0,Not relevant,35,29,0,Not relevant,41,30,25,21
|
807 |
+
Laundry and Dry-Cleaning Workers,1,41,30,44,36,31,30,50,32,50,32,16,13,0,Not relevant,44,30,0,Not relevant,47,34,28,30
|
808 |
+
Logging Equipment Operators,1,31,30,47,39,31,29,50,43,50,32,35,27,0,Not relevant,38,32,13,7,44,32,44,34
|
809 |
+
Plasterers and Stucco Masons,1,44,30,44,37,41,29,47,37,50,32,25,27,0,Not relevant,44,32,3,Not relevant,47,30,28,32
|
810 |
+
Shoe and Leather Workers and Repairers,2,28,25,47,37,3,Not relevant,44,36,50,32,16,14,0,Not relevant,38,32,3,Not relevant,47,30,22,21
|
811 |
+
Dining Room and Cafeteria Attendants and Bartender Helpers,1,28,30,44,32,25,29,47,30,50,29,22,18,3,Not relevant,35,29,0,Not relevant,47,30,25,18
|
812 |
+
Fishing and Hunting Workers,1,41,31,50,42,30,30,42,43,49,37,20,18,0,Not relevant,41,37,19,17,49,38,30,31
|
813 |
+
Bus and Truck Mechanics and Diesel Engine Specialists,3,44,43,56,46,44,36,50,43,47,43,25,25,16,9,47,41,22,23,53,41,38,36
|
814 |
+
Heavy and Tractor-Trailer Truck Drivers,2,44,32,50,43,38,30,50,43,47,43,25,30,3,Not relevant,50,43,0,Not relevant,50,43,44,36
|
815 |
+
"Coin, Vending, and Amusement Machine Servicers and Repairers",2,41,30,47,41,22,25,47,43,47,41,25,29,10,5,47,41,16,9,47,37,41,36
|
816 |
+
"Cutters and Trimmers, Hand",1,28,29,41,30,25,23,44,37,47,41,25,16,0,Not relevant,44,37,0,Not relevant,47,30,28,30
|
817 |
+
"Grinding and Polishing Workers, Hand",1,35,32,47,41,28,29,44,41,47,41,25,25,6,Not relevant,47,41,6,Not relevant,47,34,35,37
|
818 |
+
"Layout Workers, Metal and Plastic",2,44,37,50,45,28,29,50,43,47,41,53,45,3,Not relevant,50,41,6,Not relevant,47,36,38,41
|
819 |
+
Medical Equipment Repairers,3,50,46,56,52,47,41,53,46,47,41,44,45,16,9,56,54,31,32,47,41,47,41
|
820 |
+
Ophthalmic Laboratory Technicians,2,44,36,50,41,38,34,50,41,47,41,28,32,19,11,50,41,19,13,47,37,44,37
|
821 |
+
Print Binding and Finishing Workers,2,38,34,56,43,38,41,53,43,47,41,28,30,16,13,53,41,3,Not relevant,50,39,44,37
|
822 |
+
Automotive Glass Installers and Repairers,2,41,34,47,39,35,30,47,37,47,39,25,25,3,Not relevant,38,36,13,7,50,37,35,34
|
823 |
+
Crossing Guards and Flaggers,2,31,23,44,36,22,13,47,37,47,39,16,9,0,Not relevant,31,29,0,Not relevant,53,36,25,25
|
824 |
+
"Cutting and Slicing Machine Setters, Operators, and Tenders",2,41,29,50,41,28,27,56,45,47,39,41,30,22,14,53,41,13,7,41,36,35,29
|
825 |
+
Electromechanical Equipment Assemblers,2,35,30,50,41,22,23,47,39,47,39,25,27,13,7,50,43,25,29,50,37,38,30
|
826 |
+
Jewelers and Precious Stone and Metal Workers,3,41,38,53,42,33,30,47,37,47,39,39,37,2,Not relevant,42,42,11,11,49,37,34,34
|
827 |
+
"Mail Clerks and Mail Machine Operators, Except Postal Service",2,31,30,50,41,28,29,50,41,47,39,31,29,13,7,50,37,3,Not relevant,50,39,47,39
|
828 |
+
"Paving, Surfacing, and Tamping Equipment Operators",2,41,30,50,41,31,30,56,41,47,39,25,29,0,Not relevant,38,30,3,Not relevant,47,32,22,23
|
829 |
+
"Postal Service Mail Sorters, Processors, and Processing Machine Operators",2,28,29,50,37,28,30,53,39,47,39,25,20,16,9,50,39,0,Not relevant,50,37,31,27
|
830 |
+
Wellhead Pumpers,2,35,30,53,43,22,20,53,46,47,39,31,23,6,Not relevant,44,41,3,Not relevant,50,43,41,30
|
831 |
+
"Woodworking Machine Setters, Operators, and Tenders, Except Sawing",2,38,30,50,41,31,30,53,41,47,39,35,36,19,16,44,39,13,7,50,36,22,25
|
832 |
+
"Extruding and Drawing Machine Setters, Operators, and Tenders, Metal and Plastic",2,41,32,53,39,31,30,53,46,47,37,38,36,13,7,47,41,22,16,50,36,41,29
|
833 |
+
"Grinding, Lapping, Polishing, and Buffing Machine Tool Setters, Operators, and Tenders, Metal and Plastic",2,41,32,50,41,31,29,53,43,47,37,44,43,19,11,53,41,13,7,50,36,35,29
|
834 |
+
Refuse and Recyclable Material Collectors,2,38,29,50,43,13,13,44,32,47,37,10,7,0,Not relevant,47,34,0,Not relevant,50,32,44,34
|
835 |
+
Sheet Metal Workers,2,44,34,53,43,31,34,50,43,47,37,50,46,6,Not relevant,50,37,19,11,50,41,35,30
|
836 |
+
Tapers,2,31,29,41,34,28,29,47,37,47,37,16,9,0,Not relevant,31,30,3,Not relevant,47,30,25,29
|
837 |
+
Timing Device Assemblers and Adjusters,2,28,32,47,41,28,29,47,37,47,37,25,23,10,7,44,37,25,25,44,37,38,34
|
838 |
+
Tree Trimmers and Pruners,2,41,30,56,43,31,29,53,43,47,37,22,20,0,Not relevant,41,36,19,13,50,39,38,36
|
839 |
+
Cabinetmakers and Bench Carpenters,2,44,39,50,43,31,32,53,45,47,36,47,43,16,11,47,37,10,5,50,36,35,34
|
840 |
+
Industrial Truck and Tractor Operators,2,28,27,44,32,28,25,44,37,47,36,28,27,6,Not relevant,47,36,6,Not relevant,44,29,38,30
|
841 |
+
"Roustabouts, Oil and Gas",1,44,34,53,34,31,29,56,39,47,36,25,25,0,Not relevant,28,27,6,Not relevant,41,30,22,23
|
842 |
+
"Textile Knitting and Weaving Machine Setters, Operators, and Tenders",2,22,21,47,36,22,23,56,41,47,36,16,13,0,Not relevant,38,32,6,Not relevant,47,36,28,27
|
843 |
+
"Cleaning, Washing, and Metal Pickling Equipment Operators and Tenders",2,28,30,47,30,31,30,47,43,47,34,25,16,3,Not relevant,44,32,13,9,47,32,31,34
|
844 |
+
Dredge Operators,2,38,30,50,39,35,36,47,41,47,34,25,27,0,Not relevant,38,34,6,Not relevant,47,32,28,29
|
845 |
+
Fallers,1,35,29,56,43,10,11,56,39,47,34,35,21,0,Not relevant,25,25,19,18,41,34,22,18
|
846 |
+
"Helpers--Pipelayers, Plumbers, Pipefitters, and Steamfitters",2,41,27,47,34,25,27,47,32,47,34,31,20,0,Not relevant,35,29,3,Not relevant,38,32,25,21
|
847 |
+
"Coating, Painting, and Spraying Machine Setters, Operators, and Tenders",2,44,30,50,39,41,36,50,43,47,32,25,29,10,9,47,39,3,Not relevant,47,30,41,32
|
848 |
+
"Helpers--Brickmasons, Blockmasons, Stonemasons, and Tile and Marble Setters",2,35,30,50,34,31,30,50,37,47,32,31,29,0,Not relevant,35,30,6,Not relevant,44,29,25,25
|
849 |
+
"Helpers--Painters, Paperhangers, Plasterers, and Stucco Masons",1,35,29,44,32,31,30,44,34,47,32,3,Not relevant,0,Not relevant,28,25,3,Not relevant,50,29,25,25
|
850 |
+
"Painting, Coating, and Decorating Workers",1,28,29,44,37,25,29,47,37,47,32,22,16,0,Not relevant,44,32,0,Not relevant,44,36,31,27
|
851 |
+
Carpet Installers,2,41,30,50,41,35,37,53,41,47,30,50,48,0,Not relevant,41,32,0,Not relevant,47,32,25,25
|
852 |
+
Helpers--Production Workers,2,25,27,44,32,25,27,47,34,47,29,25,25,6,Not relevant,41,32,6,Not relevant,44,30,22,23
|
853 |
+
"Farmworkers and Laborers, Crop, Nursery, and Greenhouse",1,33,33,47,37,30,31,45,39,45,36,17,17,0,Not relevant,36,30,16,11,45,33,33,30
|
854 |
+
"Welders, Cutters, Solderers, and Brazers",2,30,31,47,38,25,26,49,40,45,36,30,23,5,Not relevant,42,35,6,Not relevant,42,31,27,25
|
855 |
+
Glaziers,2,31,30,50,41,28,27,44,43,44,41,31,34,0,Not relevant,50,41,13,7,47,39,28,27
|
856 |
+
"Tool Grinders, Filers, and Sharpeners",2,44,37,56,41,38,34,50,39,44,41,44,41,13,7,47,43,3,Not relevant,38,34,38,32
|
857 |
+
Machine Feeders and Offbearers,2,25,29,38,37,25,25,50,41,44,37,28,23,0,Not relevant,44,41,6,Not relevant,44,37,35,29
|
858 |
+
Models,2,22,23,41,27,3,Not relevant,22,25,44,37,6,Not relevant,0,Not relevant,38,29,0,Not relevant,44,30,25,29
|
859 |
+
"Sawing Machine Setters, Operators, and Tenders, Wood",2,28,29,50,39,25,27,50,41,44,36,25,21,3,Not relevant,35,37,6,Not relevant,41,30,19,20
|
860 |
+
Drywall and Ceiling Tile Installers,2,28,29,50,37,25,27,47,37,44,34,31,30,0,Not relevant,44,39,3,Not relevant,47,32,28,27
|
861 |
+
"Laborers and Freight, Stock, and Material Movers, Hand",2,28,29,47,34,25,25,41,32,44,34,25,27,0,Not relevant,44,34,0,Not relevant,44,30,35,29
|
862 |
+
Dishwashers,1,25,29,41,30,25,18,41,30,44,32,25,14,0,Not relevant,25,30,0,Not relevant,44,30,25,25
|
863 |
+
Foundry Mold and Coremakers,2,31,25,47,36,25,20,53,37,44,32,22,23,0,Not relevant,28,27,6,Not relevant,41,27,22,23
|
864 |
+
"Graders and Sorters, Agricultural Products",1,28,21,38,32,16,13,47,30,44,32,16,13,0,Not relevant,31,23,6,Not relevant,44,32,31,20
|
865 |
+
Landscaping and Groundskeeping Workers,1,31,29,47,27,28,27,38,27,44,32,19,11,0,Not relevant,31,27,16,13,47,27,19,18
|
866 |
+
Maids and Housekeeping Cleaners,1,28,23,44,30,28,21,44,29,44,30,22,14,0,Not relevant,41,30,0,Not relevant,44,30,28,29
|
867 |
+
Sewing Machine Operators,1,28,27,44,30,28,29,53,36,44,30,25,27,0,Not relevant,41,30,0,Not relevant,28,27,25,29
|
868 |
+
"Packers and Packagers, Hand",2,28,14,44,29,25,16,50,30,44,29,25,18,10,5,41,29,0,Not relevant,41,29,25,27
|
869 |
+
Reinforcing Iron and Rebar Workers,2,35,27,50,41,31,29,47,32,41,34,35,32,0,Not relevant,41,30,6,Not relevant,41,29,22,23
|
870 |
+
"Sewers, Hand",2,38,30,44,34,31,32,41,37,41,34,35,30,0,Not relevant,38,32,0,Not relevant,41,27,35,32
|
871 |
+
Slaughterers and Meat Packers,2,25,21,35,27,25,18,31,27,41,32,19,11,0,Not relevant,22,25,0,Not relevant,44,27,19,14
|
872 |
+
Terrazzo Workers and Finishers,2,35,30,41,34,28,30,44,37,38,29,35,32,0,Not relevant,28,25,16,9,47,29,22,23
|
873 |
+
Cleaners of Vehicles and Equipment,2,25,27,31,34,16,11,41,34,35,30,6,Not relevant,0,Not relevant,28,29,3,Not relevant,41,30,10,7
|
874 |
+
"Pressers, Textile, Garment, and Related Materials",1,28,21,38,32,19,14,35,30,25,29,16,11,0,Not relevant,25,25,0,Not relevant,28,29,19,21
|
occupations_onet_bls_matched.csv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
occupations_onet_work_contexts.csv
ADDED
@@ -0,0 +1,874 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
degree_of_automation_context,occupation,importance_of_being_exact_or_accurate_context,importance_of_repeating_same_tasks_context,structured_versus_unstructured_work_context
|
2 |
+
0.7,Travel Agents,0.95,0.53,0.83
|
3 |
+
0.68,"Postal Service Mail Sorters, Processors, and Processing Machine Operators",0.76,0.67,0.53
|
4 |
+
0.67,Medical and Clinical Laboratory Technologists,1.0,0.85,0.81
|
5 |
+
0.66,Chemical Plant and System Operators,0.87,0.76,0.64
|
6 |
+
0.66,Telephone Operators,0.93,0.97,0.27
|
7 |
+
0.65,Air Traffic Controllers,0.96,0.92,0.73
|
8 |
+
0.65,"Airline Pilots, Copilots, and Flight Engineers",0.96,0.74,0.66
|
9 |
+
0.65,Reservation and Transportation Ticket Agents and Travel Clerks,0.92,0.98,0.42
|
10 |
+
0.64,Biofuels Processing Technicians,0.85,0.72,0.77
|
11 |
+
0.63,"Separating, Filtering, Clarifying, Precipitating, and Still Machine Setters, Operators, and Tenders",0.67,0.5,0.75
|
12 |
+
0.62,"Claims Adjusters, Examiners, and Investigators",0.93,0.83,0.76
|
13 |
+
0.61,Customs Brokers,0.96,0.83,0.63
|
14 |
+
0.61,"Petroleum Pump System Operators, Refinery Operators, and Gaugers",0.79,0.76,0.81
|
15 |
+
0.6,Biofuels Production Managers,0.82,0.63,0.78
|
16 |
+
0.6,Robotics Technicians,0.9,0.46,0.79
|
17 |
+
0.59,Motion Picture Projectionists,0.83,0.4,0.64
|
18 |
+
0.58,Computer Numerically Controlled Tool Operators,0.91,0.71,0.72
|
19 |
+
0.58,Customs and Border Protection Officers,0.89,0.78,0.73
|
20 |
+
0.58,"Lathe and Turning Machine Tool Setters, Operators, and Tenders, Metal and Plastic",0.88,0.69,0.7
|
21 |
+
0.57,Biomass Plant Technicians,0.74,0.83,0.78
|
22 |
+
0.57,Brokerage Clerks,0.93,0.88,0.78
|
23 |
+
0.57,Laundry and Dry-Cleaning Workers,0.73,0.52,0.55
|
24 |
+
0.57,Stationary Engineers and Boiler Operators,0.71,0.69,0.74
|
25 |
+
0.56,"Extruding, Forming, Pressing, and Compacting Machine Setters, Operators, and Tenders",0.8,0.67,0.53
|
26 |
+
0.56,"Food and Tobacco Roasting, Baking, and Drying Machine Operators and Tenders",0.83,0.65,0.54
|
27 |
+
0.56,"Insurance Appraisers, Auto Damage",0.85,0.7,0.86
|
28 |
+
0.56,Insurance Claims and Policy Processing Clerks,0.88,0.87,0.77
|
29 |
+
0.56,Photographic Process Workers and Processing Machine Operators,0.68,0.56,0.68
|
30 |
+
0.55,Gas Plant Operators,0.78,0.57,0.82
|
31 |
+
0.55,Loan Officers,0.88,0.61,0.85
|
32 |
+
0.55,Medical and Health Services Managers,0.88,0.77,0.78
|
33 |
+
0.55,"Milling and Planing Machine Setters, Operators, and Tenders, Metal and Plastic",0.9,0.64,0.55
|
34 |
+
0.55,Ophthalmic Laboratory Technicians,0.82,0.79,0.83
|
35 |
+
0.53,"Extruding and Forming Machine Setters, Operators, and Tenders, Synthetic and Glass Fibers",0.76,0.58,0.65
|
36 |
+
0.53,Medical and Clinical Laboratory Technicians,0.97,0.83,0.73
|
37 |
+
0.53,Power Plant Operators,0.85,0.69,0.66
|
38 |
+
0.52,Geothermal Technicians,0.66,0.68,0.72
|
39 |
+
0.52,Prepress Technicians and Workers,0.91,0.68,0.71
|
40 |
+
0.52,Refuse and Recyclable Material Collectors,0.85,0.72,0.83
|
41 |
+
0.52,Telemarketers,0.7,0.65,0.61
|
42 |
+
0.51,Accountants and Auditors,0.93,0.71,0.79
|
43 |
+
0.51,"Drilling and Boring Machine Tool Setters, Operators, and Tenders, Metal and Plastic",0.93,0.63,0.64
|
44 |
+
0.51,Machinists,0.9,0.72,0.72
|
45 |
+
0.51,"Multiple Machine Tool Setters, Operators, and Tenders, Metal and Plastic",0.92,0.48,0.6
|
46 |
+
0.51,New Accounts Clerks,0.92,0.86,0.62
|
47 |
+
0.51,Nuclear Power Reactor Operators,0.98,0.77,0.51
|
48 |
+
0.51,Payroll and Timekeeping Clerks,0.97,0.98,0.87
|
49 |
+
0.51,Purchasing Managers,0.82,0.63,0.72
|
50 |
+
0.51,Textile Bleaching and Dyeing Machine Operators and Tenders,0.69,0.45,0.56
|
51 |
+
0.51,"Title Examiners, Abstractors, and Searchers",1.0,0.84,0.92
|
52 |
+
0.5,Cooling and Freezing Equipment Operators and Tenders,0.77,0.69,0.74
|
53 |
+
0.5,Credit Counselors,0.83,0.77,0.76
|
54 |
+
0.5,Document Management Specialists,0.76,0.59,0.73
|
55 |
+
0.5,Dredge Operators,0.52,0.35,0.61
|
56 |
+
0.5,Water and Wastewater Treatment Plant and System Operators,0.83,0.73,0.91
|
57 |
+
0.49,Bioinformatics Technicians,0.82,0.53,0.73
|
58 |
+
0.49,"Buyers and Purchasing Agents, Farm Products",0.85,0.8,0.92
|
59 |
+
0.49,"Credit Authorizers, Checkers, and Clerks",0.93,0.83,0.88
|
60 |
+
0.49,"Forging Machine Setters, Operators, and Tenders, Metal and Plastic",0.76,0.64,0.63
|
61 |
+
0.49,Human Resources Specialists,0.84,0.72,0.87
|
62 |
+
0.49,Loan Interviewers and Clerks,0.93,0.83,0.87
|
63 |
+
0.49,Logistics Analysts,0.79,0.75,0.77
|
64 |
+
0.49,"Mail Clerks and Mail Machine Operators, Except Postal Service",0.87,0.81,0.85
|
65 |
+
0.48,Budget Analysts,0.91,0.77,0.75
|
66 |
+
0.48,Computer Network Architects,0.76,0.35,0.77
|
67 |
+
0.48,"Cutting and Slicing Machine Setters, Operators, and Tenders",0.88,0.71,0.65
|
68 |
+
0.48,Database Administrators,0.75,0.55,0.63
|
69 |
+
0.48,Geographic Information Systems Technologists and Technicians,0.92,0.75,0.73
|
70 |
+
0.48,"Grinding, Lapping, Polishing, and Buffing Machine Tool Setters, Operators, and Tenders, Metal and Plastic",0.91,0.67,0.77
|
71 |
+
0.48,Metal-Refining Furnace Operators and Tenders,0.77,0.71,0.63
|
72 |
+
0.48,Radiation Therapists,0.97,0.92,0.71
|
73 |
+
0.47,Bill and Account Collectors,0.76,0.83,0.59
|
74 |
+
0.47,Bridge and Lock Tenders,0.74,0.63,0.71
|
75 |
+
0.47,Chemical Equipment Operators and Tenders,0.82,0.72,0.71
|
76 |
+
0.47,Food Cooking Machine Operators and Tenders,0.67,0.51,0.94
|
77 |
+
0.47,Foundry Mold and Coremakers,0.73,0.38,0.45
|
78 |
+
0.47,Freight Forwarders,0.86,0.73,0.86
|
79 |
+
0.47,Gambling Cage Workers,0.87,0.79,0.52
|
80 |
+
0.47,Insurance Underwriters,0.83,0.63,0.77
|
81 |
+
0.47,Lodging Managers,0.79,0.79,0.92
|
82 |
+
0.47,Machine Feeders and Offbearers,0.75,0.55,0.53
|
83 |
+
0.47,"Meat, Poultry, and Fish Cutters and Trimmers",0.88,0.63,0.47
|
84 |
+
0.47,Pharmacy Aides,0.87,0.7,0.74
|
85 |
+
0.47,Receptionists and Information Clerks,0.81,0.84,0.74
|
86 |
+
0.46,Adhesive Bonding Machine Operators and Tenders,0.72,0.66,0.58
|
87 |
+
0.46,Chemical Engineers,0.82,0.36,0.79
|
88 |
+
0.46,Computer Systems Analysts,0.87,0.79,0.78
|
89 |
+
0.46,"Court, Municipal, and License Clerks",0.86,0.82,0.75
|
90 |
+
0.46,"Crushing, Grinding, and Polishing Machine Setters, Operators, and Tenders",0.62,0.51,0.52
|
91 |
+
0.46,Customer Service Representatives,0.85,0.83,0.77
|
92 |
+
0.46,Data Entry Keyers,0.97,0.95,0.81
|
93 |
+
0.46,"Furnace, Kiln, Oven, Drier, and Kettle Operators and Tenders",0.75,0.59,0.67
|
94 |
+
0.46,Helpers--Roofers,0.74,0.41,0.45
|
95 |
+
0.46,Logisticians,0.74,0.57,0.72
|
96 |
+
0.46,Semiconductor Processing Technicians,0.81,0.7,0.55
|
97 |
+
0.46,"Tax Examiners and Collectors, and Revenue Agents",0.9,0.88,0.71
|
98 |
+
0.45,Animal Scientists,0.79,0.56,0.9
|
99 |
+
0.45,Broadcast Announcers and Radio Disc Jockeys,0.87,0.56,0.85
|
100 |
+
0.45,Compensation and Benefits Managers,0.86,0.42,0.87
|
101 |
+
0.45,Dishwashers,0.62,0.5,0.73
|
102 |
+
0.45,"First-Line Supervisors of Helpers, Laborers, and Material Movers, Hand",0.9,0.82,0.88
|
103 |
+
0.45,Procurement Clerks,0.89,0.85,0.89
|
104 |
+
0.44,Civil Engineering Technologists and Technicians,0.75,0.52,0.66
|
105 |
+
0.44,"Cutting, Punching, and Press Machine Setters, Operators, and Tenders, Metal and Plastic",0.85,0.51,0.71
|
106 |
+
0.44,Dietetic Technicians,0.86,0.59,0.8
|
107 |
+
0.44,Electrical and Electronics Drafters,0.89,0.73,0.7
|
108 |
+
0.44,"Eligibility Interviewers, Government Programs",0.8,0.75,0.73
|
109 |
+
0.44,Food Batchmakers,0.81,0.77,0.44
|
110 |
+
0.44,Gambling and Sports Book Writers and Runners,0.84,0.82,0.56
|
111 |
+
0.44,Gas Compressor and Gas Pumping Station Operators,0.79,0.69,0.83
|
112 |
+
0.44,Geodetic Surveyors,0.94,0.84,0.7
|
113 |
+
0.44,Insurance Sales Agents,0.93,0.7,0.78
|
114 |
+
0.44,"Shipping, Receiving, and Inventory Clerks",0.86,0.84,0.84
|
115 |
+
0.44,Surveyors,0.92,0.62,0.65
|
116 |
+
0.44,Tax Preparers,0.93,0.82,0.79
|
117 |
+
0.43,Computer Hardware Engineers,0.85,0.53,0.76
|
118 |
+
0.43,Cytogenetic Technologists,0.98,0.93,0.62
|
119 |
+
0.43,"Extruding and Drawing Machine Setters, Operators, and Tenders, Metal and Plastic",0.75,0.62,0.5
|
120 |
+
0.43,Medical Transcriptionists,0.95,0.87,0.81
|
121 |
+
0.43,"Mixing and Blending Machine Setters, Operators, and Tenders",0.86,0.72,0.72
|
122 |
+
0.43,"Molders, Shapers, and Casters, Except Metal and Plastic",0.78,0.62,0.49
|
123 |
+
0.43,Ophthalmic Medical Technicians,0.93,0.66,0.65
|
124 |
+
0.43,Patient Representatives,0.89,0.88,0.62
|
125 |
+
0.43,"Pourers and Casters, Metal",0.7,0.5,0.46
|
126 |
+
0.43,Print Binding and Finishing Workers,0.83,0.65,0.62
|
127 |
+
0.43,Real Estate Brokers,0.76,0.51,0.96
|
128 |
+
0.43,Remote Sensing Scientists and Technologists,0.8,0.43,0.72
|
129 |
+
0.43,Robotics Engineers,0.88,0.4,0.77
|
130 |
+
0.43,"Switchboard Operators, Including Answering Service",0.87,0.74,0.74
|
131 |
+
0.43,Web Administrators,0.76,0.64,0.84
|
132 |
+
0.42,Biomass Power Plant Managers,0.83,0.73,0.85
|
133 |
+
0.42,Broadcast Technicians,0.79,0.52,0.72
|
134 |
+
0.42,Cartographers and Photogrammetrists,0.97,0.63,0.74
|
135 |
+
0.42,Chief Executives,0.79,0.56,1.0
|
136 |
+
0.42,Computer Systems Engineers/Architects,0.8,0.55,0.79
|
137 |
+
0.42,"Farmworkers and Laborers, Crop, Nursery, and Greenhouse",0.61,0.32,0.65
|
138 |
+
0.42,"Geological Technicians, Except Hydrologic Technicians",0.88,0.68,0.76
|
139 |
+
0.42,Library Technicians,0.74,0.79,0.82
|
140 |
+
0.42,Nanotechnology Engineering Technologists and Technicians,0.88,0.47,0.75
|
141 |
+
0.42,Online Merchants,0.79,0.61,0.84
|
142 |
+
0.42,Orderlies,0.88,0.78,0.7
|
143 |
+
0.42,Power Distributors and Dispatchers,0.88,0.82,0.73
|
144 |
+
0.42,Probation Officers and Correctional Treatment Specialists,0.84,0.75,0.75
|
145 |
+
0.42,"Rolling Machine Setters, Operators, and Tenders, Metal and Plastic",0.85,0.68,0.69
|
146 |
+
0.41,Baristas,0.67,0.5,0.61
|
147 |
+
0.41,Biochemists and Biophysicists,0.94,0.63,0.84
|
148 |
+
0.41,Boilermakers,0.84,0.61,0.72
|
149 |
+
0.41,Computer User Support Specialists,0.87,0.59,0.84
|
150 |
+
0.41,Conveyor Operators and Tenders,0.86,0.5,0.76
|
151 |
+
0.41,Helpers--Production Workers,0.72,0.55,0.6
|
152 |
+
0.41,"Hotel, Motel, and Resort Desk Clerks",0.79,0.72,0.75
|
153 |
+
0.41,"Interviewers, Except Eligibility and Loan",0.92,0.91,0.69
|
154 |
+
0.41,Magnetic Resonance Imaging Technologists,0.92,0.78,0.67
|
155 |
+
0.41,"Meter Readers, Utilities",0.83,0.73,0.64
|
156 |
+
0.41,Order Clerks,0.8,0.81,0.82
|
157 |
+
0.41,Pharmacists,0.98,0.88,0.84
|
158 |
+
0.41,Postmasters and Mail Superintendents,0.79,0.68,0.72
|
159 |
+
0.41,"Purchasing Agents, Except Wholesale, Retail, and Farm Products",0.86,0.64,0.85
|
160 |
+
0.41,Radiologic Technologists and Technicians,0.9,0.66,0.74
|
161 |
+
0.41,"Securities, Commodities, and Financial Services Sales Agents",0.9,0.61,0.85
|
162 |
+
0.41,Statistical Assistants,0.87,0.61,0.74
|
163 |
+
0.41,Transportation Security Screeners,0.83,0.68,0.41
|
164 |
+
0.4,Airfield Operations Specialists,0.92,0.86,0.91
|
165 |
+
0.4,Database Architects,0.85,0.68,0.76
|
166 |
+
0.4,Endoscopy Technicians,0.9,0.75,0.67
|
167 |
+
0.4,"Family and Consumer Sciences Teachers, Postsecondary",0.72,0.58,0.9
|
168 |
+
0.4,Hoist and Winch Operators,0.95,0.59,0.89
|
169 |
+
0.4,"Maintenance Workers, Machinery",0.78,0.54,0.68
|
170 |
+
0.4,Network and Computer Systems Administrators,0.75,0.58,0.79
|
171 |
+
0.4,Parking Attendants,0.74,0.54,0.6
|
172 |
+
0.4,Printing Press Operators,0.93,0.65,0.76
|
173 |
+
0.4,"Production, Planning, and Expediting Clerks",0.86,0.69,0.8
|
174 |
+
0.4,Segmental Pavers,0.69,0.56,0.68
|
175 |
+
0.4,Surveying and Mapping Technicians,0.9,0.71,0.72
|
176 |
+
0.4,"Textile Knitting and Weaving Machine Setters, Operators, and Tenders",0.66,0.55,0.44
|
177 |
+
0.4,"Textile Winding, Twisting, and Drawing Out Machine Setters, Operators, and Tenders",0.72,0.59,0.48
|
178 |
+
0.4,Travel Guides,0.68,0.39,0.84
|
179 |
+
0.4,Treasurers and Controllers,0.91,0.67,0.84
|
180 |
+
0.39,Aircraft Cargo Handling Supervisors,0.89,0.72,0.87
|
181 |
+
0.39,Aviation Inspectors,0.87,0.84,0.85
|
182 |
+
0.39,Computer and Information Systems Managers,0.76,0.72,0.94
|
183 |
+
0.39,Computer Numerically Controlled Tool Programmers,0.94,0.61,0.73
|
184 |
+
0.39,Financial Managers,0.92,0.68,0.8
|
185 |
+
0.39,Gem and Diamond Workers,0.96,0.88,0.59
|
186 |
+
0.39,"Human Resources Assistants, Except Payroll and Timekeeping",0.93,0.84,0.81
|
187 |
+
0.39,Hydroelectric Plant Technicians,0.86,0.8,0.68
|
188 |
+
0.39,Manufacturing Engineers,0.8,0.39,0.74
|
189 |
+
0.39,Packaging and Filling Machine Operators and Tenders,0.85,0.74,0.65
|
190 |
+
0.39,"Paving, Surfacing, and Tamping Equipment Operators",0.62,0.49,0.7
|
191 |
+
0.39,Photonics Technicians,0.87,0.54,0.64
|
192 |
+
0.39,Postal Service Clerks,0.82,0.74,0.48
|
193 |
+
0.39,"Pressers, Textile, Garment, and Related Materials",0.77,0.46,0.74
|
194 |
+
0.39,Software Quality Assurance Analysts and Testers,0.84,0.58,0.7
|
195 |
+
0.39,"Textile Cutting Machine Setters, Operators, and Tenders",0.84,0.57,0.34
|
196 |
+
0.39,Traffic Technicians,0.85,0.71,0.66
|
197 |
+
0.38,Actuaries,0.88,0.52,0.73
|
198 |
+
0.38,Bakers,0.8,0.52,0.81
|
199 |
+
0.38,Chemical Technicians,0.97,0.66,0.53
|
200 |
+
0.38,Clinical Data Managers,0.86,0.7,0.78
|
201 |
+
0.38,Compliance Officers,0.87,0.74,0.58
|
202 |
+
0.38,Cytotechnologists,0.92,0.88,0.64
|
203 |
+
0.38,Fish and Game Wardens,0.79,0.46,0.89
|
204 |
+
0.38,Health Informatics Specialists,0.82,0.81,0.81
|
205 |
+
0.38,Hydroelectric Production Managers,0.77,0.65,0.87
|
206 |
+
0.38,Ophthalmic Medical Technologists,0.83,0.55,0.64
|
207 |
+
0.38,Parking Enforcement Workers,0.75,0.61,0.62
|
208 |
+
0.38,"Sawing Machine Setters, Operators, and Tenders, Wood",0.9,0.46,0.76
|
209 |
+
0.38,Supply Chain Managers,0.75,0.43,0.8
|
210 |
+
0.38,"Transportation, Storage, and Distribution Managers",0.77,0.56,0.75
|
211 |
+
0.37,Acute Care Nurses,0.96,0.64,0.83
|
212 |
+
0.37,Architectural and Civil Drafters,0.91,0.65,0.64
|
213 |
+
0.37,Cement Masons and Concrete Finishers,0.86,0.52,0.65
|
214 |
+
0.37,Chemists,0.9,0.68,0.77
|
215 |
+
0.37,"Computer, Automated Teller, and Office Machine Repairers",0.75,0.66,0.86
|
216 |
+
0.37,Food Preparation Workers,0.8,0.67,0.53
|
217 |
+
0.37,"Fraud Examiners, Investigators and Analysts",0.91,0.7,0.79
|
218 |
+
0.37,Geothermal Production Managers,0.82,0.63,0.94
|
219 |
+
0.37,"Grinding and Polishing Workers, Hand",0.76,0.54,0.61
|
220 |
+
0.37,Investment Fund Managers,0.81,0.42,0.88
|
221 |
+
0.37,Landscaping and Groundskeeping Workers,0.55,0.32,0.54
|
222 |
+
0.37,"Maintenance and Repair Workers, General",0.74,0.52,0.84
|
223 |
+
0.37,Nuclear Medicine Technologists,0.92,0.62,0.83
|
224 |
+
0.37,Precision Agriculture Technicians,0.7,0.42,0.7
|
225 |
+
0.37,Survey Researchers,0.87,0.46,0.74
|
226 |
+
0.36,Butchers and Meat Cutters,0.73,0.5,0.63
|
227 |
+
0.36,"Cleaning, Washing, and Metal Pickling Equipment Operators and Tenders",0.55,0.52,0.6
|
228 |
+
0.36,Correspondence Clerks,0.85,0.82,0.82
|
229 |
+
0.36,"Dispatchers, Except Police, Fire, and Ambulance",0.9,0.88,0.82
|
230 |
+
0.36,Food Service Managers,0.82,0.74,0.79
|
231 |
+
0.36,"Glass Blowers, Molders, Benders, and Finishers",0.84,0.5,0.71
|
232 |
+
0.36,Intelligence Analysts,0.91,0.69,0.81
|
233 |
+
0.36,Logistics Engineers,0.79,0.58,0.76
|
234 |
+
0.36,Media Programming Directors,0.82,0.56,0.89
|
235 |
+
0.36,Microbiologists,0.97,0.71,0.65
|
236 |
+
0.36,"Molding, Coremaking, and Casting Machine Setters, Operators, and Tenders, Metal and Plastic",0.79,0.62,0.71
|
237 |
+
0.36,"Office Machine Operators, Except Computer",0.69,0.55,0.57
|
238 |
+
0.36,Pharmacy Technicians,1.0,0.85,0.63
|
239 |
+
0.36,Postal Service Mail Carriers,0.88,0.82,0.42
|
240 |
+
0.36,Radiologists,1.0,0.8,0.76
|
241 |
+
0.36,"Sales Representatives, Wholesale and Manufacturing, Except Technical and Scientific Products",0.69,0.61,0.9
|
242 |
+
0.36,Tellers,0.95,0.93,0.69
|
243 |
+
0.36,Wind Energy Operations Managers,0.72,0.52,0.9
|
244 |
+
0.35,Agricultural Engineers,0.78,0.47,0.81
|
245 |
+
0.35,Billing and Posting Clerks,0.9,0.91,0.78
|
246 |
+
0.35,Business Continuity Planners,0.65,0.38,0.74
|
247 |
+
0.35,Credit Analysts,0.88,0.78,0.8
|
248 |
+
0.35,Data Warehousing Specialists,0.86,0.6,0.73
|
249 |
+
0.35,Fence Erectors,0.77,0.61,0.88
|
250 |
+
0.35,Loss Prevention Managers,0.73,0.5,0.79
|
251 |
+
0.35,Nanosystems Engineers,0.81,0.36,0.79
|
252 |
+
0.35,Personal Financial Advisors,0.82,0.52,0.82
|
253 |
+
0.35,Police Identification and Records Officers,0.97,0.8,0.92
|
254 |
+
0.35,Proofreaders and Copy Markers,0.97,0.92,0.56
|
255 |
+
0.35,Registered Nurses,0.86,0.74,0.75
|
256 |
+
0.35,Respiratory Therapists,0.91,0.66,0.74
|
257 |
+
0.35,Stockers and Order Fillers,0.81,0.69,0.64
|
258 |
+
0.34,Agricultural Inspectors,0.91,0.73,0.74
|
259 |
+
0.34,Anesthesiologists,0.96,0.7,0.86
|
260 |
+
0.34,Automotive Engineering Technicians,0.85,0.58,0.58
|
261 |
+
0.34,"Bookkeeping, Accounting, and Auditing Clerks",0.92,0.91,0.7
|
262 |
+
0.34,Couriers and Messengers,0.79,0.62,0.79
|
263 |
+
0.34,Court Reporters and Simultaneous Captioners,0.99,0.71,0.85
|
264 |
+
0.34,"Electrical and Electronics Repairers, Commercial and Industrial Equipment",0.85,0.57,0.83
|
265 |
+
0.34,"Electrical and Electronics Repairers, Powerhouse, Substation, and Relay",0.94,0.8,0.67
|
266 |
+
0.34,Equal Opportunity Representatives and Officers,0.83,0.5,0.89
|
267 |
+
0.34,"Farmers, Ranchers, and Other Agricultural Managers",0.62,0.52,0.88
|
268 |
+
0.34,"First-Line Supervisors of Landscaping, Lawn Service, and Groundskeeping Workers",0.75,0.49,0.83
|
269 |
+
0.34,"Hosts and Hostesses, Restaurant, Lounge, and Coffee Shop",0.63,0.55,0.68
|
270 |
+
0.34,Market Research Analysts and Marketing Specialists,0.86,0.49,0.82
|
271 |
+
0.34,"Paper Goods Machine Setters, Operators, and Tenders",0.78,0.61,0.54
|
272 |
+
0.34,Public Safety Telecommunicators,0.96,0.9,0.68
|
273 |
+
0.34,"Weighers, Measurers, Checkers, and Samplers, Recordkeeping",0.88,0.79,0.63
|
274 |
+
0.33,Appraisers and Assessors of Real Estate,0.87,0.68,0.74
|
275 |
+
0.33,Atmospheric and Space Scientists,0.81,0.46,0.74
|
276 |
+
0.33,Civil Engineers,0.85,0.55,0.75
|
277 |
+
0.33,Computer and Information Research Scientists,0.74,0.31,0.75
|
278 |
+
0.33,Family Medicine Physicians,0.94,0.44,0.87
|
279 |
+
0.33,Financial Examiners,0.75,0.43,0.65
|
280 |
+
0.33,First-Line Supervisors of Office and Administrative Support Workers,0.81,0.52,0.85
|
281 |
+
0.33,First-Line Supervisors of Production and Operating Workers,0.81,0.59,0.8
|
282 |
+
0.33,Flight Attendants,0.79,0.7,0.73
|
283 |
+
0.33,Forest and Conservation Technicians,0.75,0.65,0.74
|
284 |
+
0.33,"Graders and Sorters, Agricultural Products",0.64,0.26,0.41
|
285 |
+
0.33,"Loading and Moving Machine Operators, Underground Mining",0.59,0.35,0.74
|
286 |
+
0.33,Non-Destructive Testing Specialists,0.86,0.66,0.65
|
287 |
+
0.33,Nuclear Technicians,0.95,0.83,0.58
|
288 |
+
0.33,Optometrists,0.94,0.74,0.85
|
289 |
+
0.33,Phlebotomists,0.95,0.81,0.68
|
290 |
+
0.33,"Roustabouts, Oil and Gas",0.8,0.68,0.68
|
291 |
+
0.33,Sheet Metal Workers,0.84,0.61,0.65
|
292 |
+
0.33,"Stone Cutters and Carvers, Manufacturing",0.85,0.58,0.73
|
293 |
+
0.33,Word Processors and Typists,0.92,0.91,0.82
|
294 |
+
0.32,"Bus Drivers, Transit and Intercity",0.71,0.52,0.45
|
295 |
+
0.32,Commercial Pilots,0.9,0.69,0.85
|
296 |
+
0.32,Computer Network Support Specialists,0.86,0.68,0.83
|
297 |
+
0.32,Computer Programmers,0.81,0.54,0.6
|
298 |
+
0.32,"Cooks, Short Order",0.79,0.58,0.74
|
299 |
+
0.32,Cost Estimators,0.88,0.63,0.72
|
300 |
+
0.32,Electromechanical Equipment Assemblers,0.79,0.64,0.62
|
301 |
+
0.32,Etchers and Engravers,0.86,0.59,0.8
|
302 |
+
0.32,Fast Food and Counter Workers,0.7,0.57,0.58
|
303 |
+
0.32,First-Line Supervisors of Food Preparation and Serving Workers,0.87,0.65,0.74
|
304 |
+
0.32,Food Scientists and Technologists,0.79,0.49,0.64
|
305 |
+
0.32,Forest Fire Inspectors and Prevention Specialists,0.76,0.64,0.79
|
306 |
+
0.32,General and Operations Managers,0.75,0.65,0.95
|
307 |
+
0.32,Highway Maintenance Workers,0.78,0.63,0.59
|
308 |
+
0.32,"Library Assistants, Clerical",0.79,0.68,0.75
|
309 |
+
0.32,Materials Engineers,0.78,0.3,0.79
|
310 |
+
0.32,Photonics Engineers,0.85,0.35,0.78
|
311 |
+
0.32,Prosthodontists,0.99,0.78,0.93
|
312 |
+
0.32,Sales Managers,0.68,0.4,0.77
|
313 |
+
0.31,"Ambulance Drivers and Attendants, Except Emergency Medical Technicians",0.85,0.72,0.78
|
314 |
+
0.31,"Business Teachers, Postsecondary",0.56,0.41,0.93
|
315 |
+
0.31,"Control and Valve Installers and Repairers, Except Mechanical Door",0.81,0.57,0.69
|
316 |
+
0.31,"Cutters and Trimmers, Hand",0.89,0.4,0.61
|
317 |
+
0.31,Desktop Publishers,0.86,0.57,0.76
|
318 |
+
0.31,Detectives and Criminal Investigators,0.84,0.57,0.87
|
319 |
+
0.31,Emergency Management Directors,0.69,0.44,0.8
|
320 |
+
0.31,"First-Line Supervisors of Farming, Fishing, and Forestry Workers",0.72,0.48,0.79
|
321 |
+
0.31,General Internal Medicine Physicians,0.86,0.66,0.86
|
322 |
+
0.31,Management Analysts,0.76,0.27,0.81
|
323 |
+
0.31,Nurse Anesthetists,0.95,0.79,0.86
|
324 |
+
0.31,"Physicians, Pathologists",0.97,0.78,0.84
|
325 |
+
0.31,"Plating Machine Setters, Operators, and Tenders, Metal and Plastic",0.81,0.62,0.55
|
326 |
+
0.31,Quality Control Systems Managers,0.93,0.73,0.82
|
327 |
+
0.31,Range Managers,0.61,0.46,0.85
|
328 |
+
0.31,Real Estate Sales Agents,0.76,0.48,0.93
|
329 |
+
0.31,Recycling Coordinators,0.71,0.56,0.93
|
330 |
+
0.31,Social and Community Service Managers,0.8,0.61,0.84
|
331 |
+
0.31,Social and Human Service Assistants,0.77,0.6,0.77
|
332 |
+
0.31,Solar Sales Representatives and Assessors,0.81,0.42,0.91
|
333 |
+
0.31,Sound Engineering Technicians,0.83,0.54,0.77
|
334 |
+
0.31,Telecommunications Engineering Specialists,0.78,0.47,0.74
|
335 |
+
0.31,Urologists,0.99,0.54,0.95
|
336 |
+
0.3,Agricultural Technicians,0.89,0.75,0.7
|
337 |
+
0.3,"Child, Family, and School Social Workers",0.82,0.54,0.85
|
338 |
+
0.3,Cleaners of Vehicles and Equipment,0.69,0.47,0.62
|
339 |
+
0.3,Community Health Workers,0.73,0.51,0.77
|
340 |
+
0.3,"Cooks, Fast Food",0.73,0.28,0.3
|
341 |
+
0.3,Electro-Mechanical and Mechatronics Technologists and Technicians,0.88,0.76,0.57
|
342 |
+
0.3,"Explosives Workers, Ordnance Handling Experts, and Blasters",0.88,0.6,0.65
|
343 |
+
0.3,Fabric and Apparel Patternmakers,0.93,0.56,0.8
|
344 |
+
0.3,Farm Labor Contractors,0.82,0.87,0.99
|
345 |
+
0.3,Funeral Attendants,0.77,0.56,0.63
|
346 |
+
0.3,Government Property Inspectors and Investigators,0.86,0.58,0.75
|
347 |
+
0.3,Industrial Engineering Technologists and Technicians,0.82,0.67,0.79
|
348 |
+
0.3,Industrial Machinery Mechanics,0.68,0.49,0.63
|
349 |
+
0.3,Licensed Practical and Licensed Vocational Nurses,0.93,0.73,0.74
|
350 |
+
0.3,Mechanical Engineers,0.84,0.62,0.9
|
351 |
+
0.3,"Medical Scientists, Except Epidemiologists",0.89,0.74,0.79
|
352 |
+
0.3,Nuclear Engineers,0.86,0.39,0.59
|
353 |
+
0.3,"Opticians, Dispensing",0.94,0.52,0.72
|
354 |
+
0.3,"Painting, Coating, and Decorating Workers",0.71,0.36,0.73
|
355 |
+
0.3,"Patternmakers, Wood",0.93,0.68,0.79
|
356 |
+
0.3,Physical Therapist Aides,0.73,0.48,0.72
|
357 |
+
0.3,Podiatrists,0.9,0.47,0.84
|
358 |
+
0.3,"Property, Real Estate, and Community Association Managers",0.73,0.48,0.81
|
359 |
+
0.3,Railroad Conductors and Yardmasters,0.77,0.67,0.59
|
360 |
+
0.3,Remote Sensing Technicians,0.91,0.74,0.62
|
361 |
+
0.3,Retail Loss Prevention Specialists,0.83,0.7,0.72
|
362 |
+
0.3,Ship Engineers,0.71,0.66,0.89
|
363 |
+
0.3,Soil and Plant Scientists,0.73,0.49,0.83
|
364 |
+
0.3,"Ushers, Lobby Attendants, and Ticket Takers",0.69,0.48,0.42
|
365 |
+
0.3,"Welding, Soldering, and Brazing Machine Setters, Operators, and Tenders",0.76,0.36,0.56
|
366 |
+
0.29,"Administrative Law Judges, Adjudicators, and Hearing Officers",0.88,0.79,0.84
|
367 |
+
0.29,Administrative Services Managers,0.79,0.59,0.76
|
368 |
+
0.29,"Aircraft Structure, Surfaces, Rigging, and Systems Assemblers",0.86,0.66,0.71
|
369 |
+
0.29,Allergists and Immunologists,0.96,0.63,0.88
|
370 |
+
0.29,Athletic Trainers,0.83,0.66,0.76
|
371 |
+
0.29,Audiologists,0.91,0.35,0.8
|
372 |
+
0.29,Automotive Engineers,0.84,0.48,0.79
|
373 |
+
0.29,Business Intelligence Analysts,0.81,0.56,0.86
|
374 |
+
0.29,"Compensation, Benefits, and Job Analysis Specialists",0.88,0.75,0.89
|
375 |
+
0.29,Construction and Building Inspectors,0.74,0.48,0.82
|
376 |
+
0.29,First-Line Supervisors of Material-Moving Machine and Vehicle Operators,0.83,0.76,0.77
|
377 |
+
0.29,Food Science Technicians,0.9,0.72,0.58
|
378 |
+
0.29,Gambling Surveillance Officers and Gambling Investigators,0.96,0.88,0.74
|
379 |
+
0.29,Industrial Engineers,0.81,0.54,0.86
|
380 |
+
0.29,Information Technology Project Managers,0.74,0.63,0.85
|
381 |
+
0.29,"Inspectors, Testers, Sorters, Samplers, and Weighers",0.89,0.66,0.75
|
382 |
+
0.29,Logging Equipment Operators,0.7,0.68,0.71
|
383 |
+
0.29,Marine Engineers and Naval Architects,0.86,0.46,0.75
|
384 |
+
0.29,Materials Scientists,0.81,0.38,0.8
|
385 |
+
0.29,Neurodiagnostic Technologists,0.91,0.69,0.71
|
386 |
+
0.29,Plasterers and Stucco Masons,0.79,0.33,0.5
|
387 |
+
0.29,Rail-Track Laying and Maintenance Equipment Operators,0.73,0.58,0.77
|
388 |
+
0.29,Retail Salespersons,0.79,0.63,0.77
|
389 |
+
0.29,"Sales Representatives, Wholesale and Manufacturing, Technical and Scientific Products",0.84,0.45,0.93
|
390 |
+
0.29,Search Marketing Strategists,0.69,0.46,0.81
|
391 |
+
0.29,"Tool Grinders, Filers, and Sharpeners",0.9,0.45,0.69
|
392 |
+
0.29,Transportation Inspectors,0.91,0.61,0.88
|
393 |
+
0.28,Art Directors,0.87,0.8,0.86
|
394 |
+
0.28,Barbers,0.84,0.46,0.81
|
395 |
+
0.28,Cabinetmakers and Bench Carpenters,0.78,0.42,0.64
|
396 |
+
0.28,Conservation Scientists,0.69,0.35,0.73
|
397 |
+
0.28,Counter and Rental Clerks,0.75,0.67,0.65
|
398 |
+
0.28,Crane and Tower Operators,0.89,0.49,0.74
|
399 |
+
0.28,Driver/Sales Workers,0.8,0.85,0.75
|
400 |
+
0.28,"Education and Childcare Administrators, Preschool and Daycare",0.76,0.67,0.86
|
401 |
+
0.28,"Electronics Engineers, Except Computer",0.79,0.57,0.82
|
402 |
+
0.28,"Environmental Scientists and Specialists, Including Health",0.76,0.57,0.88
|
403 |
+
0.28,First-Line Supervisors of Housekeeping and Janitorial Workers,0.75,0.61,0.69
|
404 |
+
0.28,First-Line Supervisors of Non-Retail Sales Workers,0.81,0.67,0.8
|
405 |
+
0.28,First-Line Supervisors of Police and Detectives,0.84,0.7,0.86
|
406 |
+
0.28,Fuel Cell Engineers,0.7,0.3,0.73
|
407 |
+
0.28,Gambling Managers,0.85,0.65,0.87
|
408 |
+
0.28,Hazardous Materials Removal Workers,0.69,0.54,0.54
|
409 |
+
0.28,"Helpers--Installation, Maintenance, and Repair Workers",0.72,0.53,0.68
|
410 |
+
0.28,"Judges, Magistrate Judges, and Magistrates",0.94,0.58,0.98
|
411 |
+
0.28,Marketing Managers,0.7,0.45,0.91
|
412 |
+
0.28,Medical Secretaries and Administrative Assistants,0.88,0.9,0.76
|
413 |
+
0.28,Millwrights,0.94,0.62,0.67
|
414 |
+
0.28,"Model Makers, Metal and Plastic",1.0,0.67,0.53
|
415 |
+
0.28,Molecular and Cellular Biologists,0.84,0.51,0.76
|
416 |
+
0.28,"Office Clerks, General",0.9,0.81,0.68
|
417 |
+
0.28,"Packers and Packagers, Hand",0.83,0.72,0.59
|
418 |
+
0.28,"Patternmakers, Metal and Plastic",0.78,0.51,0.71
|
419 |
+
0.28,Psychiatric Technicians,0.84,0.71,0.71
|
420 |
+
0.28,"Pump Operators, Except Wellhead Pumpers",0.71,0.75,0.77
|
421 |
+
0.28,"Service Unit Operators, Oil and Gas",0.84,0.77,0.74
|
422 |
+
0.28,Skincare Specialists,0.72,0.66,0.61
|
423 |
+
0.28,"Tailors, Dressmakers, and Custom Sewers",0.88,0.54,0.73
|
424 |
+
0.28,Wind Turbine Service Technicians,0.82,0.8,0.67
|
425 |
+
0.28,"Woodworking Machine Setters, Operators, and Tenders, Except Sawing",0.85,0.67,0.68
|
426 |
+
0.27,Biofuels/Biodiesel Technology and Product Development Managers,0.78,0.47,0.86
|
427 |
+
0.27,Cardiovascular Technologists and Technicians,0.92,0.78,0.77
|
428 |
+
0.27,Chiropractors,0.93,0.82,0.99
|
429 |
+
0.27,Energy Auditors,0.76,0.48,0.64
|
430 |
+
0.27,Executive Secretaries and Executive Administrative Assistants,0.88,0.71,0.92
|
431 |
+
0.27,Film and Video Editors,0.86,0.44,0.6
|
432 |
+
0.27,Financial Quantitative Analysts,0.93,0.53,0.83
|
433 |
+
0.27,Fishing and Hunting Workers,0.51,0.48,0.81
|
434 |
+
0.27,"Food Servers, Nonrestaurant",0.73,0.67,0.72
|
435 |
+
0.27,Human Resources Managers,0.76,0.51,0.93
|
436 |
+
0.27,"Laborers and Freight, Stock, and Material Movers, Hand",0.79,0.6,0.66
|
437 |
+
0.27,Librarians and Media Collections Specialists,0.71,0.47,0.83
|
438 |
+
0.27,Maids and Housekeeping Cleaners,0.66,0.44,0.59
|
439 |
+
0.27,Medical Assistants,0.85,0.76,0.67
|
440 |
+
0.27,Nuclear Monitoring Technicians,0.9,0.67,0.66
|
441 |
+
0.27,"Nursing Instructors and Teachers, Postsecondary",0.92,0.59,0.8
|
442 |
+
0.27,"Painters, Construction and Maintenance",0.73,0.31,0.53
|
443 |
+
0.27,Parts Salespersons,0.83,0.81,0.82
|
444 |
+
0.27,Passenger Attendants,0.61,0.36,0.38
|
445 |
+
0.27,Recycling and Reclamation Workers,0.53,0.41,0.65
|
446 |
+
0.27,Roofers,0.82,0.47,0.74
|
447 |
+
0.27,Spa Managers,0.75,0.59,0.75
|
448 |
+
0.27,Subway and Streetcar Operators,0.86,0.75,0.38
|
449 |
+
0.27,Team Assemblers,0.92,0.45,0.64
|
450 |
+
0.27,Technical Writers,0.89,0.88,0.63
|
451 |
+
0.27,Tire Builders,0.63,0.69,0.36
|
452 |
+
0.27,Tire Repairers and Changers,0.88,0.62,0.67
|
453 |
+
0.27,Training and Development Managers,0.65,0.42,0.83
|
454 |
+
0.27,Training and Development Specialists,0.69,0.34,0.75
|
455 |
+
0.27,Transportation Engineers,0.79,0.59,0.8
|
456 |
+
0.26,Agricultural Equipment Operators,0.68,0.35,0.72
|
457 |
+
0.26,"Architects, Except Landscape and Naval",0.74,0.53,0.72
|
458 |
+
0.26,Architectural and Engineering Managers,0.75,0.62,0.88
|
459 |
+
0.26,Bartenders,0.72,0.52,0.62
|
460 |
+
0.26,"Criminal Justice and Law Enforcement Teachers, Postsecondary",0.68,0.51,0.92
|
461 |
+
0.26,"Dentists, General",0.95,0.82,0.95
|
462 |
+
0.26,Diagnostic Medical Sonographers,0.97,0.92,0.7
|
463 |
+
0.26,Electrical and Electronic Engineering Technologists and Technicians,0.85,0.55,0.82
|
464 |
+
0.26,Elevator and Escalator Installers and Repairers,0.92,0.58,0.9
|
465 |
+
0.26,"Energy Engineers, Except Wind and Solar",0.74,0.43,0.76
|
466 |
+
0.26,File Clerks,0.9,0.67,0.69
|
467 |
+
0.26,Firefighters,0.79,0.58,0.78
|
468 |
+
0.26,First-Line Supervisors of Gambling Services Workers,0.86,0.75,0.66
|
469 |
+
0.26,Foresters,0.67,0.49,0.81
|
470 |
+
0.26,Gambling Change Persons and Booth Cashiers,0.96,0.87,0.57
|
471 |
+
0.26,"Helpers--Brickmasons, Blockmasons, Stonemasons, and Tile and Marble Setters",0.71,0.54,0.7
|
472 |
+
0.26,Industrial Production Managers,0.87,0.54,0.89
|
473 |
+
0.26,Information Security Analysts,0.77,0.58,0.77
|
474 |
+
0.26,Landscape Architects,0.76,0.44,0.72
|
475 |
+
0.26,Log Graders and Scalers,0.78,0.67,0.69
|
476 |
+
0.26,Medical Equipment Preparers,0.9,0.86,0.7
|
477 |
+
0.26,Medical Equipment Repairers,0.8,0.42,0.79
|
478 |
+
0.26,"News Analysts, Reporters, and Journalists",0.89,0.51,0.83
|
479 |
+
0.26,Nurse Practitioners,0.89,0.62,0.83
|
480 |
+
0.26,Paralegals and Legal Assistants,0.87,0.67,0.76
|
481 |
+
0.26,Pest Control Workers,0.78,0.61,0.84
|
482 |
+
0.26,Special Effects Artists and Animators,0.86,0.45,0.67
|
483 |
+
0.26,Statisticians,0.82,0.36,0.74
|
484 |
+
0.26,Water Resource Specialists,0.74,0.28,0.79
|
485 |
+
0.25,Advertising and Promotions Managers,0.83,0.43,0.81
|
486 |
+
0.25,Clergy,0.57,0.3,0.92
|
487 |
+
0.25,Construction Managers,0.71,0.49,0.81
|
488 |
+
0.25,"Cooks, Institution and Cafeteria",0.73,0.4,0.72
|
489 |
+
0.25,Correctional Officers and Jailers,0.85,0.81,0.67
|
490 |
+
0.25,Drywall and Ceiling Tile Installers,0.86,0.62,0.74
|
491 |
+
0.25,Hearing Aid Specialists,0.8,0.51,0.82
|
492 |
+
0.25,Industrial Truck and Tractor Operators,0.91,0.49,0.76
|
493 |
+
0.25,Industrial-Organizational Psychologists,0.81,0.4,0.92
|
494 |
+
0.25,"Layout Workers, Metal and Plastic",0.92,0.47,0.58
|
495 |
+
0.25,Legal Secretaries and Administrative Assistants,0.78,0.84,0.84
|
496 |
+
0.25,"Lifeguards, Ski Patrol, and Other Recreational Protective Service Workers",0.66,0.44,0.67
|
497 |
+
0.25,Media Technical Directors/Managers,0.95,0.7,0.79
|
498 |
+
0.25,Private Detectives and Investigators,0.94,0.61,0.85
|
499 |
+
0.25,Sales Engineers,0.62,0.46,0.76
|
500 |
+
0.25,Signal and Track Switch Repairers,0.75,0.52,0.87
|
501 |
+
0.25,Surgical Assistants,0.9,0.67,0.78
|
502 |
+
0.25,Tapers,0.68,0.35,0.73
|
503 |
+
0.25,Veterinary Technologists and Technicians,0.84,0.6,0.71
|
504 |
+
0.25,Web Developers,0.81,0.79,0.77
|
505 |
+
0.25,Wellhead Pumpers,0.69,0.64,0.9
|
506 |
+
0.24,Animal Control Workers,0.81,0.68,0.82
|
507 |
+
0.24,Archivists,0.8,0.68,0.78
|
508 |
+
0.24,Bioengineers and Biomedical Engineers,0.76,0.4,0.77
|
509 |
+
0.24,Chefs and Head Cooks,0.8,0.7,0.67
|
510 |
+
0.24,Commercial and Industrial Designers,0.85,0.67,0.69
|
511 |
+
0.24,Concierges,0.74,0.54,0.84
|
512 |
+
0.24,"Cooks, Restaurant",0.78,0.49,0.6
|
513 |
+
0.24,"Education Administrators, Kindergarten through Secondary",0.79,0.5,0.85
|
514 |
+
0.24,Environmental Engineering Technologists and Technicians,0.73,0.61,0.69
|
515 |
+
0.24,"Environmental Science and Protection Technicians, Including Health",0.83,0.38,0.61
|
516 |
+
0.24,Fire Inspectors and Investigators,0.89,0.58,0.9
|
517 |
+
0.24,First-Line Supervisors of Retail Sales Workers,0.75,0.65,0.79
|
518 |
+
0.24,Geneticists,0.91,0.54,0.81
|
519 |
+
0.24,"Health and Safety Engineers, Except Mining Safety Engineers and Inspectors",0.82,0.46,0.76
|
520 |
+
0.24,Light Truck Drivers,0.71,0.32,0.61
|
521 |
+
0.24,Petroleum Engineers,0.71,0.47,0.88
|
522 |
+
0.24,"Psychology Teachers, Postsecondary",0.65,0.5,0.92
|
523 |
+
0.24,Quality Control Analysts,0.96,0.77,0.81
|
524 |
+
0.24,Radio Frequency Identification Device Specialists,0.83,0.54,0.81
|
525 |
+
0.24,Riggers,0.86,0.64,0.67
|
526 |
+
0.24,Waiters and Waitresses,0.76,0.6,0.48
|
527 |
+
0.23,Aircraft Mechanics and Service Technicians,0.88,0.67,0.78
|
528 |
+
0.23,Baggage Porters and Bellhops,0.57,0.53,0.71
|
529 |
+
0.23,Biostatisticians,0.83,0.43,0.78
|
530 |
+
0.23,Cashiers,0.85,0.6,0.54
|
531 |
+
0.23,Clinical Research Coordinators,0.89,0.78,0.75
|
532 |
+
0.23,Dental Assistants,0.84,0.73,0.61
|
533 |
+
0.23,Environmental Engineers,0.63,0.29,0.69
|
534 |
+
0.23,Farm and Home Management Educators,0.61,0.31,0.93
|
535 |
+
0.23,Fitness and Wellness Coordinators,0.43,0.21,0.86
|
536 |
+
0.23,Fundraisers,0.66,0.45,0.85
|
537 |
+
0.23,"Heat Treating Equipment Setters, Operators, and Tenders, Metal and Plastic",0.79,0.79,0.65
|
538 |
+
0.23,Helpers--Carpenters,0.81,0.38,0.75
|
539 |
+
0.23,"Janitors and Cleaners, Except Maids and Housekeeping Cleaners",0.73,0.43,0.77
|
540 |
+
0.23,Labor Relations Specialists,0.74,0.26,0.83
|
541 |
+
0.23,Microsystems Engineers,0.8,0.48,0.86
|
542 |
+
0.23,Slaughterers and Meat Packers,0.7,0.52,0.61
|
543 |
+
0.23,Timing Device Assemblers and Adjusters,0.65,0.31,0.77
|
544 |
+
0.23,Transit and Railroad Police,0.84,0.57,0.79
|
545 |
+
0.23,Zoologists and Wildlife Biologists,0.74,0.34,0.88
|
546 |
+
0.22,Clinical Nurse Specialists,0.83,0.4,0.88
|
547 |
+
0.22,"Coin, Vending, and Amusement Machine Servicers and Repairers",0.76,0.76,0.75
|
548 |
+
0.22,"Door-to-Door Sales Workers, News and Street Vendors, and Related Workers",0.49,0.26,0.94
|
549 |
+
0.22,"Earth Drillers, Except Oil and Gas",0.66,0.41,0.77
|
550 |
+
0.22,"Education Administrators, Postsecondary",0.78,0.34,0.92
|
551 |
+
0.22,"Electrical and Electronics Installers and Repairers, Transportation Equipment",0.8,0.53,0.74
|
552 |
+
0.22,Engine and Other Machine Assemblers,0.87,0.5,0.65
|
553 |
+
0.22,First-Line Supervisors of Correctional Officers,0.71,0.66,0.73
|
554 |
+
0.22,First-Line Supervisors of Personal Service Workers,0.72,0.59,0.79
|
555 |
+
0.22,Geographers,0.64,0.34,0.77
|
556 |
+
0.22,Heavy and Tractor-Trailer Truck Drivers,0.74,0.49,0.69
|
557 |
+
0.22,Jewelers and Precious Stone and Metal Workers,0.88,0.54,0.76
|
558 |
+
0.22,Lawyers,0.9,0.55,0.77
|
559 |
+
0.22,Mechanical Drafters,0.93,0.64,0.83
|
560 |
+
0.22,Motorboat Operators,0.46,0.51,0.77
|
561 |
+
0.22,Photographers,0.71,0.51,0.77
|
562 |
+
0.22,Pipelayers,0.9,0.49,0.71
|
563 |
+
0.22,Public Relations Specialists,0.8,0.29,0.77
|
564 |
+
0.22,"Rail Yard Engineers, Dinkey Operators, and Hostlers",0.64,0.57,0.58
|
565 |
+
0.22,"Recreation and Fitness Studies Teachers, Postsecondary",0.66,0.44,0.95
|
566 |
+
0.22,Reinforcing Iron and Rebar Workers,0.61,0.52,0.62
|
567 |
+
0.22,Sewing Machine Operators,0.75,0.4,0.57
|
568 |
+
0.22,Surgical Technologists,0.97,0.75,0.78
|
569 |
+
0.22,"Tank Car, Truck, and Ship Loaders",0.87,0.86,0.72
|
570 |
+
0.22,Validation Engineers,0.91,0.65,0.78
|
571 |
+
0.22,Water/Wastewater Engineers,0.72,0.35,0.71
|
572 |
+
0.21,Astronomers,0.91,0.3,0.93
|
573 |
+
0.21,Audiovisual Equipment Installers and Repairers,0.8,0.38,0.93
|
574 |
+
0.21,Cargo and Freight Agents,0.67,0.47,0.84
|
575 |
+
0.21,Dancers,0.75,0.68,0.55
|
576 |
+
0.21,Electricians,0.83,0.53,0.76
|
577 |
+
0.21,Environmental Economists,0.75,0.29,0.94
|
578 |
+
0.21,"Farmworkers, Farm, Ranch, and Aquacultural Animals",0.59,0.44,0.73
|
579 |
+
0.21,Floor Sanders and Finishers,0.84,0.6,0.84
|
580 |
+
0.21,Hydrologists,0.8,0.43,0.76
|
581 |
+
0.21,Judicial Law Clerks,0.96,0.63,0.72
|
582 |
+
0.21,Mechanical Engineering Technologists and Technicians,0.86,0.6,0.7
|
583 |
+
0.21,Mechatronics Engineers,0.78,0.32,0.85
|
584 |
+
0.21,Mental Health Counselors,0.57,0.5,0.73
|
585 |
+
0.21,Occupational Health and Safety Specialists,0.8,0.33,0.79
|
586 |
+
0.21,Occupational Health and Safety Technicians,0.85,0.56,0.85
|
587 |
+
0.21,Operations Research Analysts,0.84,0.36,0.89
|
588 |
+
0.21,Police and Sheriff's Patrol Officers,0.92,0.7,0.74
|
589 |
+
0.21,"Rock Splitters, Quarry",0.69,0.35,0.45
|
590 |
+
0.21,"Rotary Drill Operators, Oil and Gas",0.9,0.85,0.74
|
591 |
+
0.2,Aerospace Engineering and Operations Technologists and Technicians,0.99,0.59,0.67
|
592 |
+
0.2,Amusement and Recreation Attendants,0.47,0.52,0.53
|
593 |
+
0.2,Biological Technicians,0.85,0.59,0.69
|
594 |
+
0.2,"Camera Operators, Television, Video, and Film",0.84,0.64,0.65
|
595 |
+
0.2,"Career/Technical Education Teachers, Postsecondary",0.77,0.49,0.83
|
596 |
+
0.2,Childcare Workers,0.59,0.33,0.77
|
597 |
+
0.2,Clinical and Counseling Psychologists,0.67,0.33,0.94
|
598 |
+
0.2,Critical Care Nurses,0.96,0.63,0.75
|
599 |
+
0.2,Dental Laboratory Technicians,0.95,0.64,0.7
|
600 |
+
0.2,"Economics Teachers, Postsecondary",0.72,0.29,0.92
|
601 |
+
0.2,Economists,0.84,0.34,0.94
|
602 |
+
0.2,Epidemiologists,0.9,0.47,0.86
|
603 |
+
0.2,Home Appliance Repairers,0.81,0.51,0.78
|
604 |
+
0.2,Home Health Aides,0.83,0.45,0.66
|
605 |
+
0.2,Interior Designers,0.84,0.45,0.82
|
606 |
+
0.2,Interpreters and Translators,0.98,0.87,0.61
|
607 |
+
0.2,Medical Appliance Technicians,0.85,0.55,0.82
|
608 |
+
0.2,"Middle School Teachers, Except Special and Career/Technical Education",0.7,0.42,0.8
|
609 |
+
0.2,"Mining and Geological Engineers, Including Mining Safety Engineers",0.77,0.62,0.79
|
610 |
+
0.2,Occupational Therapy Assistants,0.71,0.69,0.73
|
611 |
+
0.2,"Potters, Manufacturing",0.71,0.72,0.85
|
612 |
+
0.2,Producers and Directors,0.76,0.4,0.9
|
613 |
+
0.2,"Railroad Brake, Signal, and Switch Operators and Locomotive Firers",0.76,0.67,0.64
|
614 |
+
0.2,"Secretaries and Administrative Assistants, Except Legal, Medical, and Executive",0.81,0.83,0.82
|
615 |
+
0.2,Shampooers,0.93,0.39,0.61
|
616 |
+
0.2,Telecommunications Line Installers and Repairers,0.85,0.64,0.8
|
617 |
+
0.2,Tool and Die Makers,0.95,0.47,0.86
|
618 |
+
0.2,Veterinarians,0.89,0.54,0.82
|
619 |
+
0.2,"Wholesale and Retail Buyers, Except Farm Products",0.76,0.78,0.88
|
620 |
+
0.2,Wind Energy Engineers,0.79,0.41,0.8
|
621 |
+
0.19,Automotive Service Technicians and Mechanics,0.86,0.54,0.74
|
622 |
+
0.19,Avionics Technicians,0.86,0.47,0.71
|
623 |
+
0.19,"Communications Teachers, Postsecondary",0.64,0.31,0.88
|
624 |
+
0.19,Editors,0.86,0.76,0.8
|
625 |
+
0.19,Electrical and Electronic Equipment Assemblers,0.78,0.49,0.67
|
626 |
+
0.19,Fiberglass Laminators and Fabricators,0.69,0.65,0.39
|
627 |
+
0.19,Historians,0.81,0.55,0.88
|
628 |
+
0.19,Locomotive Engineers,0.87,0.65,0.72
|
629 |
+
0.19,Mental Health and Substance Abuse Social Workers,0.67,0.58,0.81
|
630 |
+
0.19,Nursing Assistants,0.89,0.62,0.66
|
631 |
+
0.19,Orthodontists,0.93,0.75,0.98
|
632 |
+
0.19,"Philosophy and Religion Teachers, Postsecondary",0.81,0.41,0.88
|
633 |
+
0.19,"Radio, Cellular, and Tower Equipment Installers and Repairers",0.91,0.55,0.87
|
634 |
+
0.19,Recreation Workers,0.57,0.61,0.84
|
635 |
+
0.19,"Sewers, Hand",0.86,0.54,0.79
|
636 |
+
0.19,"Special Education Teachers, Middle School",0.74,0.44,0.78
|
637 |
+
0.19,Transportation Planners,0.69,0.4,0.73
|
638 |
+
0.19,"Transportation Vehicle, Equipment and Systems Inspectors, Except Aviation",0.83,0.57,0.75
|
639 |
+
0.18,Advertising Sales Agents,0.76,0.42,0.92
|
640 |
+
0.18,"Architecture Teachers, Postsecondary",0.67,0.24,0.88
|
641 |
+
0.18,Bioinformatics Scientists,0.86,0.5,0.94
|
642 |
+
0.18,"Captains, Mates, and Pilots of Water Vessels",0.82,0.65,0.83
|
643 |
+
0.18,Compliance Managers,0.91,0.71,0.83
|
644 |
+
0.18,Dental Hygienists,0.85,0.83,0.78
|
645 |
+
0.18,Dietitians and Nutritionists,0.75,0.38,0.8
|
646 |
+
0.18,Embalmers,0.89,0.64,0.83
|
647 |
+
0.18,"Excavating and Loading Machine and Dragline Operators, Surface Mining",0.7,0.57,0.73
|
648 |
+
0.18,First-Line Supervisors of Firefighting and Prevention Workers,0.73,0.5,0.8
|
649 |
+
0.18,Floral Designers,0.53,0.43,0.9
|
650 |
+
0.18,"Heating, Air Conditioning, and Refrigeration Mechanics and Installers",0.75,0.5,0.75
|
651 |
+
0.18,Hospitalists,0.89,0.48,0.79
|
652 |
+
0.18,Human Factors Engineers and Ergonomists,0.73,0.48,0.81
|
653 |
+
0.18,Locksmiths and Safe Repairers,0.87,0.62,0.74
|
654 |
+
0.18,Neurologists,1.0,0.53,0.96
|
655 |
+
0.18,Obstetricians and Gynecologists,0.98,0.47,0.92
|
656 |
+
0.18,"Ophthalmologists, Except Pediatric",0.98,0.59,0.91
|
657 |
+
0.18,Oral and Maxillofacial Surgeons,0.96,0.57,0.9
|
658 |
+
0.18,"Pesticide Handlers, Sprayers, and Applicators, Vegetation",0.8,0.54,0.7
|
659 |
+
0.18,Psychiatric Aides,0.7,0.67,0.67
|
660 |
+
0.18,"Refractory Materials Repairers, Except Brickmasons",0.68,0.52,0.47
|
661 |
+
0.18,Regulatory Affairs Specialists,0.79,0.58,0.73
|
662 |
+
0.18,Rehabilitation Counselors,0.73,0.62,0.77
|
663 |
+
0.18,Set and Exhibit Designers,0.74,0.33,0.8
|
664 |
+
0.18,Solar Energy Systems Engineers,0.73,0.29,0.69
|
665 |
+
0.18,Talent Directors,0.56,0.33,0.89
|
666 |
+
0.18,"Welders, Cutters, Solderers, and Brazers",0.83,0.52,0.61
|
667 |
+
0.17,"Agents and Business Managers of Artists, Performers, and Athletes",0.86,0.47,0.86
|
668 |
+
0.17,Audio and Video Technicians,0.89,0.78,0.73
|
669 |
+
0.17,Automotive and Watercraft Service Attendants,0.87,0.42,0.69
|
670 |
+
0.17,Biologists,0.86,0.38,0.93
|
671 |
+
0.17,"Coating, Painting, and Spraying Machine Setters, Operators, and Tenders",0.72,0.46,0.4
|
672 |
+
0.17,Dermatologists,0.93,0.37,0.94
|
673 |
+
0.17,"Derrick Operators, Oil and Gas",0.73,0.79,0.73
|
674 |
+
0.17,Dining Room and Cafeteria Attendants and Bartender Helpers,0.72,0.31,0.54
|
675 |
+
0.17,Healthcare Social Workers,0.47,0.32,0.81
|
676 |
+
0.17,"Insulation Workers, Floor, Ceiling, and Wall",0.62,0.38,0.62
|
677 |
+
0.17,"Kindergarten Teachers, Except Special Education",0.6,0.36,0.71
|
678 |
+
0.17,Mechanical Door Repairers,0.73,0.55,0.75
|
679 |
+
0.17,"Meeting, Convention, and Event Planners",0.74,0.56,0.93
|
680 |
+
0.17,Physical Medicine and Rehabilitation Physicians,0.95,0.53,0.96
|
681 |
+
0.17,"Plumbers, Pipefitters, and Steamfitters",0.8,0.5,0.78
|
682 |
+
0.17,Regulatory Affairs Managers,0.89,0.55,0.73
|
683 |
+
0.17,School Psychologists,0.78,0.35,0.87
|
684 |
+
0.17,Solar Energy Installation Managers,0.81,0.61,0.72
|
685 |
+
0.17,Solar Thermal Installers and Technicians,0.8,0.4,0.81
|
686 |
+
0.17,Speech-Language Pathologists,0.71,0.31,0.86
|
687 |
+
0.17,"Telecommunications Equipment Installers and Repairers, Except Line Installers",0.79,0.72,0.69
|
688 |
+
0.17,Veterinary Assistants and Laboratory Animal Caretakers,0.93,0.75,0.63
|
689 |
+
0.17,Weatherization Installers and Technicians,0.65,0.52,0.65
|
690 |
+
0.16,Athletes and Sports Competitors,0.69,0.67,0.76
|
691 |
+
0.16,Automotive Body and Related Repairers,0.85,0.47,0.74
|
692 |
+
0.16,Bailiffs,0.77,0.51,0.58
|
693 |
+
0.16,Brownfield Redevelopment Specialists and Site Managers,0.68,0.38,0.75
|
694 |
+
0.16,"Coil Winders, Tapers, and Finishers",0.98,0.66,0.68
|
695 |
+
0.16,Continuous Mining Machine Operators,0.78,0.55,0.71
|
696 |
+
0.16,"Elementary School Teachers, Except Special Education",0.64,0.44,0.75
|
697 |
+
0.16,"English Language and Literature Teachers, Postsecondary",0.68,0.41,0.92
|
698 |
+
0.16,"Environmental Science Teachers, Postsecondary",0.78,0.33,0.9
|
699 |
+
0.16,Exercise Physiologists,0.72,0.49,0.81
|
700 |
+
0.16,"Geoscientists, Except Hydrologists and Geographers",0.69,0.48,0.78
|
701 |
+
0.16,Graphic Designers,0.86,0.61,0.78
|
702 |
+
0.16,"Locker Room, Coatroom, and Dressing Room Attendants",0.56,0.45,0.66
|
703 |
+
0.16,"Mathematical Science Teachers, Postsecondary",0.74,0.38,0.74
|
704 |
+
0.16,Naturopathic Physicians,0.85,0.41,0.87
|
705 |
+
0.16,Nurse Midwives,0.87,0.52,0.78
|
706 |
+
0.16,Orthotists and Prosthetists,0.79,0.51,0.78
|
707 |
+
0.16,Paperhangers,0.73,0.5,0.77
|
708 |
+
0.16,Personal Care Aides,0.8,0.55,0.76
|
709 |
+
0.16,Preventive Medicine Physicians,0.78,0.26,0.89
|
710 |
+
0.16,Psychiatrists,0.73,0.35,0.85
|
711 |
+
0.16,"Roof Bolters, Mining",0.72,0.69,0.46
|
712 |
+
0.16,Social Science Research Assistants,0.75,0.71,0.72
|
713 |
+
0.16,"Special Education Teachers, Secondary School",0.71,0.33,0.8
|
714 |
+
0.15,"Anthropology and Archeology Teachers, Postsecondary",0.83,0.44,0.89
|
715 |
+
0.15,Brickmasons and Blockmasons,0.78,0.4,0.75
|
716 |
+
0.15,Carpenters,0.83,0.48,0.78
|
717 |
+
0.15,Coroners,0.89,0.6,0.74
|
718 |
+
0.15,Electrical Engineers,0.82,0.46,0.77
|
719 |
+
0.15,"Electronic Equipment Installers and Repairers, Motor Vehicles",0.93,0.62,0.73
|
720 |
+
0.15,Environmental Compliance Inspectors,0.75,0.58,0.75
|
721 |
+
0.15,"Fine Artists, Including Painters, Sculptors, and Illustrators",0.78,0.41,0.85
|
722 |
+
0.15,First-Line Supervisors of Construction Trades and Extraction Workers,0.82,0.43,0.91
|
723 |
+
0.15,"Floor Layers, Except Carpet, Wood, and Hard Tiles",0.8,0.32,0.81
|
724 |
+
0.15,Forensic Science Technicians,0.94,0.61,0.88
|
725 |
+
0.15,"Hairdressers, Hairstylists, and Cosmetologists",0.82,0.65,0.93
|
726 |
+
0.15,Industrial Ecologists,0.77,0.39,0.85
|
727 |
+
0.15,"Model Makers, Wood",0.95,0.33,0.8
|
728 |
+
0.15,Park Naturalists,0.69,0.52,0.83
|
729 |
+
0.15,Pile Driver Operators,0.8,0.52,0.63
|
730 |
+
0.15,Recreational Therapists,0.53,0.34,0.9
|
731 |
+
0.15,Security Guards,0.85,0.72,0.66
|
732 |
+
0.15,Sociologists,0.68,0.36,0.96
|
733 |
+
0.14,Acupuncturists,0.79,0.7,0.84
|
734 |
+
0.14,"Adult Basic Education, Adult Secondary Education, and English as a Second Language Instructors",0.72,0.43,0.84
|
735 |
+
0.14,Aerospace Engineers,0.75,0.34,0.77
|
736 |
+
0.14,Chief Sustainability Officers,0.63,0.2,0.86
|
737 |
+
0.14,Commercial Divers,0.82,0.6,0.76
|
738 |
+
0.14,"Computer Science Teachers, Postsecondary",0.72,0.34,0.91
|
739 |
+
0.14,Fashion Designers,0.78,0.3,0.93
|
740 |
+
0.14,Funeral Home Managers,0.78,0.5,0.88
|
741 |
+
0.14,Genetic Counselors,0.86,0.39,0.74
|
742 |
+
0.14,"Geography Teachers, Postsecondary",0.75,0.33,0.92
|
743 |
+
0.14,Health Education Specialists,0.7,0.64,0.79
|
744 |
+
0.14,"Health Specialties Teachers, Postsecondary",0.71,0.29,0.91
|
745 |
+
0.14,Motorboat Mechanics and Service Technicians,0.73,0.35,0.71
|
746 |
+
0.14,"Pediatricians, General",0.92,0.42,0.89
|
747 |
+
0.14,Physician Assistants,0.95,0.54,0.83
|
748 |
+
0.14,Physicists,0.7,0.27,0.88
|
749 |
+
0.14,"Physics Teachers, Postsecondary",0.64,0.32,0.96
|
750 |
+
0.14,"Preschool Teachers, Except Special Education",0.59,0.25,0.65
|
751 |
+
0.14,Residential Advisors,0.63,0.56,0.77
|
752 |
+
0.14,Septic Tank Servicers and Sewer Pipe Cleaners,0.6,0.49,0.69
|
753 |
+
0.14,"Social Work Teachers, Postsecondary",0.59,0.28,0.91
|
754 |
+
0.14,"Special Education Teachers, Preschool",0.54,0.35,0.66
|
755 |
+
0.14,Stonemasons,0.66,0.32,0.75
|
756 |
+
0.14,Substance Abuse and Behavioral Disorder Counselors,0.7,0.78,0.73
|
757 |
+
0.14,Wind Energy Development Managers,0.65,0.32,0.92
|
758 |
+
0.13,Advanced Practice Psychiatric Nurses,0.82,0.55,0.85
|
759 |
+
0.13,"Agricultural Sciences Teachers, Postsecondary",0.79,0.39,0.99
|
760 |
+
0.13,Anesthesiologist Assistants,0.96,0.72,0.86
|
761 |
+
0.13,"Atmospheric, Earth, Marine, and Space Sciences Teachers, Postsecondary",0.71,0.53,0.92
|
762 |
+
0.13,"Chemistry Teachers, Postsecondary",0.85,0.53,0.93
|
763 |
+
0.13,Costume Attendants,0.77,0.55,0.79
|
764 |
+
0.13,"Directors, Religious Activities and Education",0.54,0.22,0.92
|
765 |
+
0.13,"Education Teachers, Postsecondary",0.83,0.6,0.93
|
766 |
+
0.13,"Electric Motor, Power Tool, and Related Repairers",0.88,0.56,0.73
|
767 |
+
0.13,Forest and Conservation Workers,0.66,0.51,0.8
|
768 |
+
0.13,Helpers--Extraction Workers,0.74,0.53,0.76
|
769 |
+
0.13,"Helpers--Painters, Paperhangers, Plasterers, and Stucco Masons",0.57,0.51,0.6
|
770 |
+
0.13,"Law Teachers, Postsecondary",0.78,0.21,0.98
|
771 |
+
0.13,Mathematicians,0.92,0.38,0.88
|
772 |
+
0.13,Natural Sciences Managers,0.86,0.49,0.85
|
773 |
+
0.13,"Poets, Lyricists and Creative Writers",0.65,0.58,0.95
|
774 |
+
0.13,Sailors and Marine Oilers,0.83,0.61,0.67
|
775 |
+
0.13,Shoe Machine Operators and Tenders,0.68,0.77,0.38
|
776 |
+
0.13,Sustainability Specialists,0.64,0.32,0.79
|
777 |
+
0.13,Terrazzo Workers and Finishers,0.83,0.44,0.58
|
778 |
+
0.13,Tutors,0.61,0.3,0.78
|
779 |
+
0.12,"Educational, Guidance, and Career Counselors and Advisors",0.48,0.35,0.82
|
780 |
+
0.12,Electrical Power-Line Installers and Repairers,0.89,0.45,0.74
|
781 |
+
0.12,Fallers,0.78,0.38,0.9
|
782 |
+
0.12,"First-Line Supervisors of Mechanics, Installers, and Repairers",0.86,0.72,0.88
|
783 |
+
0.12,"Insulation Workers, Mechanical",0.65,0.45,0.78
|
784 |
+
0.12,Merchandise Displayers and Window Trimmers,0.56,0.46,0.68
|
785 |
+
0.12,"Mobile Heavy Equipment Mechanics, Except Engines",0.84,0.63,0.69
|
786 |
+
0.12,Musical Instrument Repairers and Tuners,0.94,0.67,0.83
|
787 |
+
0.12,Occupational Therapy Aides,0.71,0.53,0.66
|
788 |
+
0.12,Orthoptists,0.89,0.59,0.75
|
789 |
+
0.12,Solar Photovoltaic Installers,0.77,0.44,0.53
|
790 |
+
0.12,Video Game Designers,0.6,0.43,0.79
|
791 |
+
0.12,Writers and Authors,0.79,0.48,0.83
|
792 |
+
0.11,Climate Change Policy Analysts,0.71,0.28,0.77
|
793 |
+
0.11,Coaches and Scouts,0.66,0.34,0.79
|
794 |
+
0.11,"Cooks, Private Household",0.73,0.46,0.9
|
795 |
+
0.11,Crossing Guards and Flaggers,0.73,0.27,0.69
|
796 |
+
0.11,Demonstrators and Product Promoters,0.59,0.48,0.66
|
797 |
+
0.11,Exercise Trainers and Group Fitness Instructors,0.5,0.47,0.78
|
798 |
+
0.11,Gambling Dealers,0.91,0.68,0.39
|
799 |
+
0.11,"Morticians, Undertakers, and Funeral Arrangers",0.96,0.54,0.92
|
800 |
+
0.11,Museum Technicians and Conservators,0.83,0.56,0.84
|
801 |
+
0.11,Physical Therapist Assistants,0.59,0.55,0.87
|
802 |
+
0.11,Rail Car Repairers,0.71,0.45,0.68
|
803 |
+
0.11,Security and Fire Alarm Systems Installers,0.83,0.51,0.85
|
804 |
+
0.11,Speech-Language Pathology Assistants,0.69,0.33,0.67
|
805 |
+
0.11,Sports Medicine Physicians,1.0,0.53,0.94
|
806 |
+
0.11,Tour Guides and Escorts,0.71,0.27,0.73
|
807 |
+
0.11,Tree Trimmers and Pruners,0.71,0.51,0.84
|
808 |
+
0.11,"Umpires, Referees, and Other Sports Officials",0.74,0.41,0.47
|
809 |
+
0.1,"Area, Ethnic, and Cultural Studies Teachers, Postsecondary",0.64,0.19,0.89
|
810 |
+
0.1,Bus and Truck Mechanics and Diesel Engine Specialists,0.56,0.36,0.79
|
811 |
+
0.1,Craft Artists,0.8,0.57,0.76
|
812 |
+
0.1,Curators,0.77,0.38,0.92
|
813 |
+
0.1,Environmental Restoration Planners,0.52,0.25,0.85
|
814 |
+
0.1,Fire-Prevention and Protection Engineers,0.79,0.44,0.76
|
815 |
+
0.1,"Forestry and Conservation Science Teachers, Postsecondary",0.68,0.29,0.9
|
816 |
+
0.1,Glaziers,0.86,0.48,0.75
|
817 |
+
0.1,Helpers--Electricians,0.89,0.6,0.47
|
818 |
+
0.1,"Helpers--Pipelayers, Plumbers, Pipefitters, and Steamfitters",0.63,0.45,0.42
|
819 |
+
0.1,"History Teachers, Postsecondary",0.82,0.55,0.98
|
820 |
+
0.1,"Library Science Teachers, Postsecondary",0.65,0.24,0.99
|
821 |
+
0.1,Marriage and Family Therapists,0.56,0.24,0.84
|
822 |
+
0.1,"Secondary School Teachers, Except Special and Career/Technical Education",0.65,0.37,0.84
|
823 |
+
0.1,Self-Enrichment Teachers,0.64,0.48,0.84
|
824 |
+
0.1,"Sociology Teachers, Postsecondary",0.69,0.54,0.95
|
825 |
+
0.1,Structural Iron and Steel Workers,0.78,0.38,0.64
|
826 |
+
0.1,Structural Metal Fabricators and Fitters,0.85,0.55,0.86
|
827 |
+
0.1,Urban and Regional Planners,0.57,0.16,0.78
|
828 |
+
0.09,Actors,0.79,0.4,0.47
|
829 |
+
0.09,Animal Trainers,0.61,0.39,0.88
|
830 |
+
0.09,"Biological Science Teachers, Postsecondary",0.81,0.32,0.93
|
831 |
+
0.09,"Foreign Language and Literature Teachers, Postsecondary",0.57,0.11,0.86
|
832 |
+
0.09,Furniture Finishers,0.81,0.27,0.51
|
833 |
+
0.09,Music Directors and Composers,0.88,0.67,0.92
|
834 |
+
0.09,Nannies,0.45,0.23,0.79
|
835 |
+
0.09,Outdoor Power Equipment and Other Small Engine Mechanics,0.69,0.52,0.68
|
836 |
+
0.09,Political Scientists,0.76,0.34,0.98
|
837 |
+
0.08,Animal Breeders,0.59,0.33,0.94
|
838 |
+
0.08,"Arbitrators, Mediators, and Conciliators",0.91,0.24,0.9
|
839 |
+
0.08,Art Therapists,0.52,0.35,0.86
|
840 |
+
0.08,"Career/Technical Education Teachers, Middle School",0.68,0.45,0.82
|
841 |
+
0.08,"Career/Technical Education Teachers, Secondary School",0.68,0.45,0.83
|
842 |
+
0.08,Construction Laborers,0.68,0.41,0.55
|
843 |
+
0.08,"Engineering Teachers, Postsecondary",0.63,0.31,0.91
|
844 |
+
0.08,Farm Equipment Mechanics and Service Technicians,0.88,0.5,0.75
|
845 |
+
0.08,"Low Vision Therapists, Orientation and Mobility Specialists, and Vision Rehabilitation Therapists",0.58,0.26,0.93
|
846 |
+
0.08,Massage Therapists,0.51,0.56,0.9
|
847 |
+
0.08,Models,0.44,0.39,0.42
|
848 |
+
0.08,Operating Engineers and Other Construction Equipment Operators,0.73,0.35,0.79
|
849 |
+
0.08,Physical Therapists,0.67,0.69,0.85
|
850 |
+
0.08,"Teaching Assistants, Postsecondary",0.67,0.39,0.8
|
851 |
+
0.07,Shoe and Leather Workers and Repairers,0.85,0.44,0.79
|
852 |
+
0.06,Anthropologists and Archeologists,0.77,0.42,0.81
|
853 |
+
0.06,"Art, Drama, and Music Teachers, Postsecondary",0.62,0.35,0.85
|
854 |
+
0.06,Midwives,0.85,0.44,0.78
|
855 |
+
0.05,Adapted Physical Education Specialists,0.46,0.3,0.88
|
856 |
+
0.05,Camera and Photographic Equipment Repairers,0.91,0.49,0.85
|
857 |
+
0.05,Carpet Installers,0.74,0.38,0.8
|
858 |
+
0.05,Instructional Coordinators,0.57,0.42,0.78
|
859 |
+
0.05,Music Therapists,0.45,0.41,0.85
|
860 |
+
0.05,"Political Science Teachers, Postsecondary",0.7,0.25,0.93
|
861 |
+
0.05,Recreational Vehicle Service Technicians,0.78,0.48,0.62
|
862 |
+
0.05,Upholsterers,0.83,0.3,0.66
|
863 |
+
0.04,Choreographers,0.58,0.61,0.73
|
864 |
+
0.04,Musicians and Singers,0.88,0.64,0.43
|
865 |
+
0.04,Occupational Therapists,0.64,0.42,0.88
|
866 |
+
0.04,Tile and Stone Setters,0.77,0.48,0.69
|
867 |
+
0.03,Animal Caretakers,0.63,0.54,0.7
|
868 |
+
0.03,Bicycle Repairers,0.87,0.31,0.87
|
869 |
+
0.02,Automotive Glass Installers and Repairers,0.78,0.54,0.52
|
870 |
+
0.02,"Makeup Artists, Theatrical and Performance",0.77,0.35,0.77
|
871 |
+
0.02,Manicurists and Pedicurists,0.7,0.21,0.62
|
872 |
+
0.02,Motorcycle Mechanics,0.93,0.7,0.82
|
873 |
+
0.01,Manufactured Building and Mobile Home Installers,0.83,0.41,0.81
|
874 |
+
0.01,Watch and Clock Repairers,0.97,0.38,0.92
|
occupations_projections_processed.csv
ADDED
@@ -0,0 +1,1050 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
occupation,pct_emp_change_2020_2030
|
2 |
+
"Total, all occupations",7.7
|
3 |
+
Management occupations,9.3
|
4 |
+
Top executives,7.7
|
5 |
+
Chief executives,-5.7
|
6 |
+
General and operations managers,9.4
|
7 |
+
Legislators,7.6
|
8 |
+
"Advertising, marketing, promotions, public relations, and sales managers",8.8
|
9 |
+
Advertising and promotions managers,10.3
|
10 |
+
Marketing and sales managers,8.3
|
11 |
+
Marketing managers,10.0
|
12 |
+
Sales managers,7.0
|
13 |
+
Public relations and fundraising managers,12.6
|
14 |
+
Operations specialties managers,11.6
|
15 |
+
Administrative services and facilities managers,8.9
|
16 |
+
Computer and information systems managers,10.9
|
17 |
+
Financial managers,17.3
|
18 |
+
Industrial production managers,5.3
|
19 |
+
Purchasing managers,6.1
|
20 |
+
"Transportation, storage, and distribution managers",8.3
|
21 |
+
Compensation and benefits managers,4.0
|
22 |
+
Human resources managers,9.2
|
23 |
+
Training and development managers,10.7
|
24 |
+
Other management occupations,9.2
|
25 |
+
"Farmers, ranchers, and other agricultural managers",-0.7
|
26 |
+
Construction managers,11.5
|
27 |
+
Education and childcare administrators,8.5
|
28 |
+
"Education and childcare administrators, preschool and daycare",11.4
|
29 |
+
"Education administrators, kindergarten through secondary",7.8
|
30 |
+
"Education administrators, postsecondary",7.5
|
31 |
+
"Education administrators, all other",12.6
|
32 |
+
Architectural and engineering managers,4.1
|
33 |
+
Food service managers,14.9
|
34 |
+
Gambling managers,20.1
|
35 |
+
Lodging managers,8.7
|
36 |
+
Medical and health services managers,32.5
|
37 |
+
Natural sciences managers,5.8
|
38 |
+
Postmasters and mail superintendents,-7.7
|
39 |
+
"Property, real estate, and community association managers",3.1
|
40 |
+
Social and community service managers,15.2
|
41 |
+
Emergency management directors,6.2
|
42 |
+
Funeral home managers,3.2
|
43 |
+
"Personal service managers, all other; entertainment and recreation managers, except gambling; and managers, all other",7.4
|
44 |
+
Business and financial operations occupations,8.0
|
45 |
+
Business operations specialists,9.3
|
46 |
+
"Agents and business managers of artists, performers, and athletes",46.3
|
47 |
+
Buyers and purchasing agents,-5.4
|
48 |
+
"Claims adjusters, appraisers, examiners, and investigators",-2.6
|
49 |
+
"Claims adjusters, examiners, and investigators",-2.7
|
50 |
+
"Insurance appraisers, auto damage",0.6
|
51 |
+
Compliance officers,6.2
|
52 |
+
Cost estimators,0.6
|
53 |
+
Human resources workers,9.0
|
54 |
+
Human resources specialists,10.4
|
55 |
+
Farm labor contractors,10.6
|
56 |
+
Labor relations specialists,-4.3
|
57 |
+
Logisticians,29.5
|
58 |
+
Management analysts,13.7
|
59 |
+
"Meeting, convention, and event planners",17.5
|
60 |
+
Fundraisers,15.9
|
61 |
+
"Compensation, benefits, and job analysis specialists",9.6
|
62 |
+
Training and development specialists,10.8
|
63 |
+
Market research analysts and marketing specialists,22.1
|
64 |
+
"Project management specialists and business operations specialists, all other",5.6
|
65 |
+
Financial specialists,5.2
|
66 |
+
Accountants and auditors,6.9
|
67 |
+
Property appraisers and assessors,4.4
|
68 |
+
Budget analysts,4.8
|
69 |
+
Credit analysts,-5.8
|
70 |
+
Personal financial advisors,4.6
|
71 |
+
Insurance underwriters,-1.8
|
72 |
+
Financial examiners,17.9
|
73 |
+
Credit counselors and loan officers,2.1
|
74 |
+
Credit counselors,9.0
|
75 |
+
Loan officers,1.3
|
76 |
+
"Tax examiners, collectors and preparers, and revenue agents",-0.5
|
77 |
+
"Tax examiners and collectors, and revenue agents",-3.7
|
78 |
+
Tax preparers,1.6
|
79 |
+
"Financial and investment analysts, financial risk specialists, and financial specialists, all other",6.4
|
80 |
+
Computer and mathematical occupations,14.1
|
81 |
+
Computer occupations,13.4
|
82 |
+
Computer and information analysts,12.0
|
83 |
+
Computer systems analysts,7.0
|
84 |
+
Information security analysts,33.3
|
85 |
+
Computer and information research scientists,21.9
|
86 |
+
Computer support specialists,8.6
|
87 |
+
Computer network support specialists,7.5
|
88 |
+
Computer user support specialists,8.9
|
89 |
+
Database and network administrators and architects,6.0
|
90 |
+
Computer network architects,5.5
|
91 |
+
Network and computer systems administrators,5.4
|
92 |
+
Database administrators and architects,7.8
|
93 |
+
"Software and web developers, programmers, and testers",18.7
|
94 |
+
Computer programmers,-9.9
|
95 |
+
Software developers and software quality assurance analysts and testers,22.2
|
96 |
+
Web developers and digital interface designers,12.8
|
97 |
+
"Computer occupations, all other",9.2
|
98 |
+
Mathematical science occupations,28.0
|
99 |
+
Actuaries,24.5
|
100 |
+
Mathematicians,2.7
|
101 |
+
Operations research analysts,24.6
|
102 |
+
Statisticians,35.4
|
103 |
+
"Data scientists and mathematical science occupations, all other",31.4
|
104 |
+
Architecture and engineering occupations,5.6
|
105 |
+
"Architects, surveyors, and cartographers",2.6
|
106 |
+
"Architects, except naval",2.6
|
107 |
+
"Architects, except landscape and naval",3.1
|
108 |
+
Landscape architects,-0.3
|
109 |
+
"Surveyors, cartographers, and photogrammetrists",2.5
|
110 |
+
Cartographers and photogrammetrists,5.4
|
111 |
+
Surveyors,1.6
|
112 |
+
Engineers,7.4
|
113 |
+
Aerospace engineers,8.3
|
114 |
+
Agricultural engineers,4.5
|
115 |
+
Bioengineers and biomedical engineers,5.9
|
116 |
+
Chemical engineers,9.3
|
117 |
+
Civil engineers,8.2
|
118 |
+
Computer hardware engineers,1.5
|
119 |
+
Electrical and electronics engineers,6.5
|
120 |
+
Electrical engineers,6.8
|
121 |
+
"Electronics engineers, except computer",6.2
|
122 |
+
Environmental engineers,3.7
|
123 |
+
"Industrial engineers, including health and safety",13.1
|
124 |
+
"Health and safety engineers, except mining safety engineers and inspectors",6.1
|
125 |
+
Industrial engineers,13.7
|
126 |
+
Marine engineers and naval architects,3.9
|
127 |
+
Materials engineers,8.4
|
128 |
+
Mechanical engineers,7.0
|
129 |
+
"Mining and geological engineers, including mining safety engineers",3.9
|
130 |
+
Nuclear engineers,-8.4
|
131 |
+
Petroleum engineers,7.6
|
132 |
+
"Engineers, all other",2.7
|
133 |
+
"Drafters, engineering technicians, and mapping technicians",1.9
|
134 |
+
Drafters,-1.9
|
135 |
+
Architectural and civil drafters,-0.9
|
136 |
+
Electrical and electronics drafters,2.3
|
137 |
+
Mechanical drafters,-4.7
|
138 |
+
"Drafters, all other",-5.4
|
139 |
+
"Engineering technologists and technicians, except drafters",3.1
|
140 |
+
Aerospace engineering and operations technologists and technicians,8.9
|
141 |
+
Civil engineering technologists and technicians,1.8
|
142 |
+
Electrical and electronic engineering technologists and technicians,1.6
|
143 |
+
Electro-mechanical and mechatronics technologists and technicians,-1.7
|
144 |
+
Environmental engineering technologists and technicians,7.8
|
145 |
+
Industrial engineering technologists and technicians,4.4
|
146 |
+
Mechanical engineering technologists and technicians,5.7
|
147 |
+
Surveying and mapping technicians,3.7
|
148 |
+
"Calibration technologists and technicians and engineering technologists and technicians, except drafters, all other",4.4
|
149 |
+
"Life, physical, and social science occupations",7.9
|
150 |
+
Life scientists,10.7
|
151 |
+
Agricultural and food scientists,8.7
|
152 |
+
Animal scientists,9.7
|
153 |
+
Food scientists and technologists,6.7
|
154 |
+
Soil and plant scientists,10.0
|
155 |
+
Biological scientists,4.4
|
156 |
+
Biochemists and biophysicists,4.7
|
157 |
+
Microbiologists,4.6
|
158 |
+
Zoologists and wildlife biologists,5.2
|
159 |
+
"Biological scientists, all other",3.7
|
160 |
+
Conservation scientists and foresters,7.5
|
161 |
+
Conservation scientists,6.1
|
162 |
+
Foresters,10.0
|
163 |
+
Medical scientists,17.6
|
164 |
+
Epidemiologists,29.6
|
165 |
+
"Medical scientists, except epidemiologists",16.9
|
166 |
+
"Life scientists, all other",8.4
|
167 |
+
Physical scientists,6.9
|
168 |
+
Astronomers and physicists,8.3
|
169 |
+
Astronomers,4.5
|
170 |
+
Physicists,8.8
|
171 |
+
Atmospheric and space scientists,8.3
|
172 |
+
Chemists and materials scientists,6.5
|
173 |
+
Chemists,6.7
|
174 |
+
Materials scientists,3.9
|
175 |
+
Environmental scientists and geoscientists,7.9
|
176 |
+
"Environmental scientists and specialists, including health",8.4
|
177 |
+
"Geoscientists, except hydrologists and geographers",7.0
|
178 |
+
Hydrologists,5.6
|
179 |
+
"Physical scientists, all other",1.0
|
180 |
+
Social scientists and related workers,7.0
|
181 |
+
Economists,13.1
|
182 |
+
Survey researchers,4.3
|
183 |
+
Psychologists,7.6
|
184 |
+
"Clinical, counseling, and school psychologists",10.4
|
185 |
+
Industrial-organizational psychologists,2.2
|
186 |
+
"Psychologists, all other",2.0
|
187 |
+
Sociologists,4.8
|
188 |
+
Urban and regional planners,6.8
|
189 |
+
Miscellaneous social scientists and related workers,4.3
|
190 |
+
Anthropologists and archeologists,7.4
|
191 |
+
Geographers,1.1
|
192 |
+
Historians,5.5
|
193 |
+
Political scientists,8.6
|
194 |
+
"Social scientists and related workers, all other",2.9
|
195 |
+
"Life, physical, and social science technicians",7.0
|
196 |
+
Agricultural and food science technicians,7.9
|
197 |
+
Biological technicians,6.7
|
198 |
+
Chemical technicians,5.0
|
199 |
+
Environmental science and geoscience technicians,9.9
|
200 |
+
"Environmental science and protection technicians, including health",10.6
|
201 |
+
Geological and hydrologic technicians,8.7
|
202 |
+
Nuclear technicians,-12.4
|
203 |
+
Social science research assistants,8.4
|
204 |
+
Forest and conservation technicians,0.7
|
205 |
+
"Miscellaneous life, physical, and social science technicians",9.7
|
206 |
+
Forensic science technicians,15.6
|
207 |
+
"Life, physical, and social science technicians, all other",8.3
|
208 |
+
Occupational health and safety specialists and technicians,7.4
|
209 |
+
Occupational health and safety specialists,7.0
|
210 |
+
Occupational health and safety technicians,9.0
|
211 |
+
Community and social service occupations,12.4
|
212 |
+
"Counselors, social workers, and other community and social service specialists",14.4
|
213 |
+
Counselors,15.8
|
214 |
+
"Educational, guidance, and career counselors and advisors",11.5
|
215 |
+
Marriage and family therapists,16.4
|
216 |
+
Rehabilitation counselors,10.4
|
217 |
+
"Substance abuse, behavioral disorder, and mental health counselors",22.9
|
218 |
+
"Counselors, all other",8.9
|
219 |
+
Social workers,12.5
|
220 |
+
"Child, family, and school social workers",12.6
|
221 |
+
Healthcare social workers,13.2
|
222 |
+
Mental health and substance abuse social workers,14.9
|
223 |
+
"Social workers, all other",5.8
|
224 |
+
Miscellaneous community and social service specialists,14.6
|
225 |
+
Health education specialists,12.4
|
226 |
+
Probation officers and correctional treatment specialists,3.8
|
227 |
+
Social and human service assistants,16.6
|
228 |
+
Community health workers,21.0
|
229 |
+
"Community and social service specialists, all other",13.3
|
230 |
+
Religious workers,2.3
|
231 |
+
Clergy,2.5
|
232 |
+
"Directors, religious activities and education",2.2
|
233 |
+
"Religious workers, all other",2.0
|
234 |
+
Legal occupations,8.8
|
235 |
+
"Lawyers, judges, and related workers",8.5
|
236 |
+
Lawyers and judicial law clerks,8.8
|
237 |
+
Lawyers,8.9
|
238 |
+
Judicial law clerks,3.9
|
239 |
+
"Judges, magistrates, and other judicial workers",3.5
|
240 |
+
"Administrative law judges, adjudicators, and hearing officers",0.8
|
241 |
+
"Arbitrators, mediators, and conciliators",9.7
|
242 |
+
"Judges, magistrate judges, and magistrates",3.4
|
243 |
+
Legal support workers,9.3
|
244 |
+
Paralegals and legal assistants,12.0
|
245 |
+
Miscellaneous legal support workers,1.2
|
246 |
+
"Title examiners, abstractors, and searchers",1.7
|
247 |
+
"Legal support workers, all other",0.5
|
248 |
+
Educational instruction and library occupations,10.1
|
249 |
+
Postsecondary teachers,10.7
|
250 |
+
"Business teachers, postsecondary",6.5
|
251 |
+
"Math and computer science teachers, postsecondary",6.2
|
252 |
+
"Computer science teachers, postsecondary",6.9
|
253 |
+
"Mathematical science teachers, postsecondary",5.6
|
254 |
+
"Engineering and architecture teachers, postsecondary",11.9
|
255 |
+
"Architecture teachers, postsecondary",8.3
|
256 |
+
"Engineering teachers, postsecondary",12.5
|
257 |
+
"Life sciences teachers, postsecondary",11.5
|
258 |
+
"Agricultural sciences teachers, postsecondary",5.0
|
259 |
+
"Biological science teachers, postsecondary",12.8
|
260 |
+
"Forestry and conservation science teachers, postsecondary",5.5
|
261 |
+
"Physical sciences teachers, postsecondary",7.5
|
262 |
+
"Atmospheric, earth, marine, and space sciences teachers, postsecondary",6.4
|
263 |
+
"Chemistry teachers, postsecondary",7.9
|
264 |
+
"Environmental science teachers, postsecondary",6.8
|
265 |
+
"Physics teachers, postsecondary",8.1
|
266 |
+
"Social sciences teachers, postsecondary",8.4
|
267 |
+
"Anthropology and archeology teachers, postsecondary",8.1
|
268 |
+
"Area, ethnic, and cultural studies teachers, postsecondary",8.8
|
269 |
+
"Economics teachers, postsecondary",9.0
|
270 |
+
"Geography teachers, postsecondary",6.3
|
271 |
+
"Political science teachers, postsecondary",8.7
|
272 |
+
"Psychology teachers, postsecondary",10.3
|
273 |
+
"Sociology teachers, postsecondary",7.6
|
274 |
+
"Social sciences teachers, postsecondary, all other",4.3
|
275 |
+
"Health teachers, postsecondary",23.8
|
276 |
+
"Health specialties teachers, postsecondary",24.3
|
277 |
+
"Nursing instructors and teachers, postsecondary",22.4
|
278 |
+
"Education and library science teachers, postsecondary",8.1
|
279 |
+
"Education teachers, postsecondary",8.3
|
280 |
+
"Library science teachers, postsecondary",5.9
|
281 |
+
"Law, criminal justice, and social work teachers, postsecondary",10.2
|
282 |
+
"Criminal justice and law enforcement teachers, postsecondary",11.1
|
283 |
+
"Law teachers, postsecondary",10.6
|
284 |
+
"Social work teachers, postsecondary",8.9
|
285 |
+
"Arts, communications, history, and humanities teachers, postsecondary",8.7
|
286 |
+
"Art, drama, and music teachers, postsecondary",10.1
|
287 |
+
"Communications teachers, postsecondary",7.3
|
288 |
+
"English language and literature teachers, postsecondary",6.2
|
289 |
+
"Foreign language and literature teachers, postsecondary",9.4
|
290 |
+
"History teachers, postsecondary",7.9
|
291 |
+
"Philosophy and religion teachers, postsecondary",11.0
|
292 |
+
Miscellaneous postsecondary teachers,5.1
|
293 |
+
"Family and consumer sciences teachers, postsecondary",5.8
|
294 |
+
"Recreation and fitness studies teachers, postsecondary",6.8
|
295 |
+
"Career/technical education teachers, postsecondary",3.4
|
296 |
+
"Postsecondary teachers, all other",5.9
|
297 |
+
"Preschool, elementary, middle, secondary, and special education teachers",8.9
|
298 |
+
Preschool and kindergarten teachers,16.3
|
299 |
+
"Preschool teachers, except special education",18.4
|
300 |
+
"Kindergarten teachers, except special education",8.1
|
301 |
+
Elementary and middle school teachers,7.4
|
302 |
+
"Elementary school teachers, except special education",7.4
|
303 |
+
"Middle school teachers, except special and career/technical education",7.5
|
304 |
+
"Career/technical education teachers, middle school",7.4
|
305 |
+
Secondary school teachers,7.8
|
306 |
+
"Secondary school teachers, except special and career/technical education",7.8
|
307 |
+
"Career/technical education teachers, secondary school",7.1
|
308 |
+
Special education teachers,8.1
|
309 |
+
"Special education teachers, preschool",12.1
|
310 |
+
"Special education teachers, kindergarten and elementary school",7.8
|
311 |
+
"Special education teachers, middle school",7.5
|
312 |
+
"Special education teachers, secondary school",7.7
|
313 |
+
"Special education teachers, all other",10.5
|
314 |
+
Other teachers and instructors,15.7
|
315 |
+
"Adult basic education, adult secondary education, and English as a Second Language instructors",-5.0
|
316 |
+
Self-enrichment teachers,23.5
|
317 |
+
"Substitute teachers, short-term",12.6
|
318 |
+
"Tutors and teachers and instructors, all other",15.6
|
319 |
+
"Librarians, curators, and archivists",7.3
|
320 |
+
"Archivists, curators, and museum technicians",18.8
|
321 |
+
Archivists,10.9
|
322 |
+
Curators,21.6
|
323 |
+
Museum technicians and conservators,20.6
|
324 |
+
Librarians and media collections specialists,9.1
|
325 |
+
Library technicians,0.2
|
326 |
+
Other educational instruction and library occupations,8.6
|
327 |
+
Farm and home management educators,-1.2
|
328 |
+
Instructional coordinators,9.7
|
329 |
+
Teaching assistants,8.6
|
330 |
+
"Teaching assistants, postsecondary",6.4
|
331 |
+
"Teaching assistants, except postsecondary",8.9
|
332 |
+
"Educational instruction and library workers, all other",8.0
|
333 |
+
"Arts, design, entertainment, sports, and media occupations",13.1
|
334 |
+
Art and design workers,4.4
|
335 |
+
Artists and related workers,13.2
|
336 |
+
Art directors,11.0
|
337 |
+
Craft artists,13.2
|
338 |
+
"Fine artists, including painters, sculptors, and illustrators",17.3
|
339 |
+
Special effects artists and animators,15.8
|
340 |
+
"Artists and related workers, all other",9.5
|
341 |
+
Designers,1.5
|
342 |
+
Commercial and industrial designers,5.6
|
343 |
+
Fashion designers,0.5
|
344 |
+
Floral designers,-20.1
|
345 |
+
Graphic designers,2.9
|
346 |
+
Interior designers,-0.2
|
347 |
+
Merchandise displayers and window trimmers,4.4
|
348 |
+
Set and exhibit designers,9.1
|
349 |
+
"Designers, all other",0.1
|
350 |
+
"Entertainers and performers, sports and related workers",22.2
|
351 |
+
"Actors, producers, and directors",26.5
|
352 |
+
Actors,32.4
|
353 |
+
Producers and directors,24.1
|
354 |
+
"Athletes, coaches, umpires, and related workers",26.6
|
355 |
+
Athletes and sports competitors,38.0
|
356 |
+
Coaches and scouts,25.6
|
357 |
+
"Umpires, referees, and other sports officials",29.4
|
358 |
+
Dancers and choreographers,30.7
|
359 |
+
Dancers,30.0
|
360 |
+
Choreographers,32.1
|
361 |
+
"Musicians, singers, and related workers",10.0
|
362 |
+
Music directors and composers,6.3
|
363 |
+
Musicians and singers,11.1
|
364 |
+
"Miscellaneous entertainers and performers, sports and related workers",33.8
|
365 |
+
Media and communication workers,11.0
|
366 |
+
Broadcast announcers and radio disc jockeys,10.3
|
367 |
+
"News analysts, reporters, and journalists",6.0
|
368 |
+
Public relations specialists,11.4
|
369 |
+
Writers and editors,7.8
|
370 |
+
Editors,5.1
|
371 |
+
Technical writers,11.6
|
372 |
+
Writers and authors,8.5
|
373 |
+
Miscellaneous media and communication workers,19.9
|
374 |
+
Interpreters and translators,23.7
|
375 |
+
Court reporters and simultaneous captioners,2.5
|
376 |
+
"Media and communication workers, all other",22.9
|
377 |
+
Media and communication equipment workers,21.0
|
378 |
+
Audio and video technicians,26.2
|
379 |
+
Broadcast technicians,11.2
|
380 |
+
Sound engineering technicians,17.4
|
381 |
+
Photographers,17.1
|
382 |
+
"Television, video, and film camera operators and editors",28.8
|
383 |
+
"Camera operators, television, video, and film",24.1
|
384 |
+
Film and video editors,33.2
|
385 |
+
"Lighting technicians and media and communication equipment workers, all other",16.2
|
386 |
+
Healthcare practitioners and technical occupations,10.8
|
387 |
+
Healthcare diagnosing or treating practitioners,11.5
|
388 |
+
Chiropractors,10.8
|
389 |
+
Dentists,8.0
|
390 |
+
"Dentists, general",8.1
|
391 |
+
Oral and maxillofacial surgeons,7.7
|
392 |
+
Orthodontists,8.1
|
393 |
+
Prosthodontists,8.5
|
394 |
+
"Dentists, all other specialists",5.0
|
395 |
+
Dietitians and nutritionists,10.7
|
396 |
+
Optometrists,9.0
|
397 |
+
Pharmacists,-2.2
|
398 |
+
Physician assistants,31.0
|
399 |
+
Podiatrists,1.8
|
400 |
+
Therapists,21.2
|
401 |
+
Occupational therapists,17.5
|
402 |
+
Physical therapists,20.5
|
403 |
+
Radiation therapists,9.1
|
404 |
+
Recreational therapists,10.4
|
405 |
+
Respiratory therapists,23.0
|
406 |
+
Speech-language pathologists,28.7
|
407 |
+
Exercise physiologists,13.1
|
408 |
+
"Therapists, all other",14.8
|
409 |
+
Veterinarians,16.8
|
410 |
+
Registered nurses,9.0
|
411 |
+
Nurse anesthetists,12.6
|
412 |
+
Nurse midwives,11.3
|
413 |
+
Nurse practitioners,52.2
|
414 |
+
Audiologists,15.7
|
415 |
+
Anesthesiologists,-0.5
|
416 |
+
Family medicine physicians,4.9
|
417 |
+
General internal medicine physicians,-0.7
|
418 |
+
Obstetricians and gynecologists,-2.1
|
419 |
+
"Pediatricians, general",-1.8
|
420 |
+
Psychiatrists,12.5
|
421 |
+
"Physicians, all other; and ophthalmologists, except pediatric",4.5
|
422 |
+
"Surgeons, except ophthalmologists",-2.8
|
423 |
+
Miscellaneous healthcare diagnosing or treating practitioners,9.8
|
424 |
+
Dental hygienists,11.2
|
425 |
+
"Acupuncturists and healthcare diagnosing or treating practitioners, all other",4.7
|
426 |
+
Health technologists and technicians,9.3
|
427 |
+
Clinical laboratory technologists and technicians,10.9
|
428 |
+
Cardiovascular technologists and technicians,8.1
|
429 |
+
Diagnostic medical sonographers,19.0
|
430 |
+
Nuclear medicine technologists,7.8
|
431 |
+
Radiologic technologists and technicians,8.6
|
432 |
+
Magnetic resonance imaging technologists,8.1
|
433 |
+
Emergency medical technicians and paramedics,11.0
|
434 |
+
Health practitioner support technologists and technicians,8.0
|
435 |
+
Dietetic technicians,7.4
|
436 |
+
Pharmacy technicians,4.0
|
437 |
+
Psychiatric technicians,12.8
|
438 |
+
Surgical technologists,8.7
|
439 |
+
Veterinary technologists and technicians,14.9
|
440 |
+
Ophthalmic medical technicians,14.3
|
441 |
+
Licensed practical and licensed vocational nurses,9.3
|
442 |
+
"Opticians, dispensing",6.2
|
443 |
+
Orthotists and prosthetists,18.4
|
444 |
+
Hearing aid specialists,11.3
|
445 |
+
"Medical dosimetrists, medical records specialists, and health technologists and technicians, all other",8.5
|
446 |
+
Other healthcare practitioners and technical occupations,14.2
|
447 |
+
Athletic trainers,23.4
|
448 |
+
Genetic counselors,26.2
|
449 |
+
"Health information technologists, medical registrars, surgical assistants, and healthcare practitioners and technical workers, all other",10.5
|
450 |
+
Healthcare support occupations,23.1
|
451 |
+
"Home health and personal care aides; and nursing assistants, orderlies, and psychiatric aides",25.2
|
452 |
+
Home health and personal care aides,32.6
|
453 |
+
"Nursing assistants, orderlies, and psychiatric aides",8.2
|
454 |
+
Nursing assistants,8.3
|
455 |
+
Orderlies,7.2
|
456 |
+
Psychiatric aides,7.4
|
457 |
+
Occupational therapy and physical therapist assistants and aides,32.6
|
458 |
+
Occupational therapy assistants and aides,34.3
|
459 |
+
Occupational therapy assistants,36.1
|
460 |
+
Occupational therapy aides,21.4
|
461 |
+
Physical therapist assistants and aides,32.0
|
462 |
+
Physical therapist assistants,35.4
|
463 |
+
Physical therapist aides,25.3
|
464 |
+
Other healthcare support occupations,15.8
|
465 |
+
Massage therapists,32.2
|
466 |
+
Miscellaneous healthcare support occupations,14.3
|
467 |
+
Dental assistants,11.2
|
468 |
+
Medical assistants,18.4
|
469 |
+
Medical equipment preparers,8.4
|
470 |
+
Medical transcriptionists,-7.4
|
471 |
+
Pharmacy aides,-14.7
|
472 |
+
Veterinary assistants and laboratory animal caretakers,14.3
|
473 |
+
Phlebotomists,22.2
|
474 |
+
"Healthcare support workers, all other",10.5
|
475 |
+
Protective service occupations,8.4
|
476 |
+
Supervisors of protective service workers,6.3
|
477 |
+
First-line supervisors of law enforcement workers,3.8
|
478 |
+
First-line supervisors of correctional officers,-2.8
|
479 |
+
First-line supervisors of police and detectives,6.8
|
480 |
+
First-line supervisors of firefighting and prevention workers,8.2
|
481 |
+
"Miscellaneous first-line supervisors, protective service workers",10.2
|
482 |
+
Firefighting and prevention workers,8.6
|
483 |
+
Firefighters,8.5
|
484 |
+
Fire inspectors,11.5
|
485 |
+
Fire inspectors and investigators,8.9
|
486 |
+
Forest fire inspectors and prevention specialists,23.9
|
487 |
+
Law enforcement workers,1.5
|
488 |
+
"Bailiffs, correctional officers, and jailers",-6.8
|
489 |
+
Bailiffs,0.4
|
490 |
+
Correctional officers and jailers,-7.2
|
491 |
+
Detectives and criminal investigators,2.5
|
492 |
+
Fish and game wardens,0.2
|
493 |
+
Parking enforcement workers,-35.0
|
494 |
+
Police officers,7.2
|
495 |
+
Police and sheriff's patrol officers,7.2
|
496 |
+
Transit and railroad police,8.6
|
497 |
+
Other protective service workers,14.4
|
498 |
+
Animal control workers,10.5
|
499 |
+
Private detectives and investigators,13.2
|
500 |
+
Security guards and gambling surveillance officers,14.6
|
501 |
+
Gambling surveillance officers and gambling investigators,15.5
|
502 |
+
Security guards,14.6
|
503 |
+
Miscellaneous protective service workers,14.2
|
504 |
+
Crossing guards and flaggers,13.4
|
505 |
+
"Lifeguards, ski patrol, and other recreational protective service workers",24.5
|
506 |
+
Transportation security screeners,0.2
|
507 |
+
"School bus monitors and protective service workers, all other",11.2
|
508 |
+
Food preparation and serving related occupations,19.6
|
509 |
+
Supervisors of food preparation and serving workers,21.3
|
510 |
+
Chefs and head cooks,25.3
|
511 |
+
First-line supervisors of food preparation and serving workers,20.8
|
512 |
+
Cooks and food preparation workers,20.9
|
513 |
+
Cooks,26.1
|
514 |
+
"Cooks, fast food",-2.1
|
515 |
+
"Cooks, institution and cafeteria",6.8
|
516 |
+
"Cooks, private household",2.1
|
517 |
+
"Cooks, restaurant",48.9
|
518 |
+
"Cooks, short order",9.6
|
519 |
+
"Cooks, all other",14.0
|
520 |
+
Food preparation workers,6.4
|
521 |
+
Food and beverage serving workers,18.0
|
522 |
+
Bartenders,32.5
|
523 |
+
Fast food and counter workers,15.0
|
524 |
+
Waiters and waitresses,20.1
|
525 |
+
"Food servers, nonrestaurant",13.8
|
526 |
+
Other food preparation and serving related workers,23.4
|
527 |
+
Dining room and cafeteria attendants and bartender helpers,26.6
|
528 |
+
Dishwashers,19.0
|
529 |
+
"Hosts and hostesses, restaurant, lounge, and coffee shop",25.3
|
530 |
+
"Food preparation and serving related workers, all other",22.8
|
531 |
+
Building and grounds cleaning and maintenance occupations,7.5
|
532 |
+
Supervisors of building and grounds cleaning and maintenance workers,5.1
|
533 |
+
First-line supervisors of housekeeping and janitorial workers,5.9
|
534 |
+
"First-line supervisors of landscaping, lawn service, and groundskeeping workers",4.0
|
535 |
+
Building cleaning and pest control workers,7.7
|
536 |
+
Building cleaning workers,7.7
|
537 |
+
"Janitors and cleaners, except maids and housekeeping cleaners",5.7
|
538 |
+
Maids and housekeeping cleaners,11.3
|
539 |
+
"Building cleaning workers, all other",3.5
|
540 |
+
Pest control workers,9.5
|
541 |
+
Grounds maintenance workers,7.6
|
542 |
+
Landscaping and groundskeeping workers,7.6
|
543 |
+
"Pesticide handlers, sprayers, and applicators, vegetation",8.3
|
544 |
+
Tree trimmers and pruners,6.1
|
545 |
+
"Grounds maintenance workers, all other",8.6
|
546 |
+
Personal care and service occupations,21.7
|
547 |
+
Supervisors of personal care and service workers,23.9
|
548 |
+
First-line supervisors of gambling services workers,21.4
|
549 |
+
"First-line supervisors of personal service and entertainment and recreation workers, except gambling services",24.2
|
550 |
+
Animal care and service workers,33.3
|
551 |
+
Animal trainers,28.5
|
552 |
+
Animal caretakers,34.4
|
553 |
+
Entertainment attendants and related workers,36.2
|
554 |
+
Gambling services workers,24.7
|
555 |
+
Gambling dealers,24.0
|
556 |
+
Gambling and sports book writers and runners,28.5
|
557 |
+
"Gambling service workers, all other",27.2
|
558 |
+
Motion picture projectionists,70.5
|
559 |
+
"Ushers, lobby attendants, and ticket takers",61.8
|
560 |
+
Miscellaneous entertainment attendants and related workers,32.3
|
561 |
+
Amusement and recreation attendants,32.3
|
562 |
+
Costume attendants,44.3
|
563 |
+
"Locker room, coatroom, and dressing room attendants",26.3
|
564 |
+
"Entertainment attendants and related workers, all other",35.4
|
565 |
+
Embalmers,-0.6
|
566 |
+
Funeral attendants,3.3
|
567 |
+
"Morticians, undertakers, and funeral arrangers",4.1
|
568 |
+
Personal appearance workers,22.2
|
569 |
+
"Barbers, hairdressers, hairstylists and cosmetologists",19.2
|
570 |
+
Barbers,17.5
|
571 |
+
"Hairdressers, hairstylists, and cosmetologists",19.4
|
572 |
+
Miscellaneous personal appearance workers,31.2
|
573 |
+
"Makeup artists, theatrical and performance",37.0
|
574 |
+
Manicurists and pedicurists,32.6
|
575 |
+
Shampooers,29.8
|
576 |
+
Skincare specialists,28.8
|
577 |
+
"Baggage porters, bellhops, and concierges",22.0
|
578 |
+
Baggage porters and bellhops,24.5
|
579 |
+
Concierges,20.0
|
580 |
+
Tour and travel guides,29.1
|
581 |
+
Tour and travel guides,29.1
|
582 |
+
Childcare workers,8.5
|
583 |
+
Recreation and fitness workers,27.0
|
584 |
+
Exercise trainers and group fitness instructors,39.3
|
585 |
+
Recreation workers,16.3
|
586 |
+
Residential advisors,12.4
|
587 |
+
"Crematory operators and personal care and service workers, all other",24.8
|
588 |
+
Sales and related occupations,-1.4
|
589 |
+
Supervisors of sales workers,-6.2
|
590 |
+
First-line supervisors of retail sales workers,-6.5
|
591 |
+
First-line supervisors of non-retail sales workers,-5.0
|
592 |
+
Retail sales workers,-4.2
|
593 |
+
Cashiers,-9.8
|
594 |
+
Cashiers,-10.0
|
595 |
+
Gambling change persons and booth cashiers,18.1
|
596 |
+
Counter and rental clerks and parts salespersons,6.7
|
597 |
+
Counter and rental clerks,7.9
|
598 |
+
Parts salespersons,4.9
|
599 |
+
Retail salespersons,-1.0
|
600 |
+
"Sales representatives, services",7.4
|
601 |
+
Advertising sales agents,3.1
|
602 |
+
Insurance sales agents,7.0
|
603 |
+
"Securities, commodities, and financial services sales agents",4.2
|
604 |
+
Travel agents,5.4
|
605 |
+
"Sales representatives of services, except advertising, insurance, financial services, and travel",9.8
|
606 |
+
"Sales representatives, wholesale and manufacturing",4.8
|
607 |
+
"Sales representatives, wholesale and manufacturing, technical and scientific products",6.1
|
608 |
+
"Sales representatives, wholesale and manufacturing, except technical and scientific products",4.5
|
609 |
+
Other sales and related workers,0.1
|
610 |
+
"Models, demonstrators, and product promoters",7.5
|
611 |
+
Demonstrators and product promoters,7.3
|
612 |
+
Models,11.4
|
613 |
+
Real estate brokers and sales agents,4.2
|
614 |
+
Real estate brokers,4.5
|
615 |
+
Real estate sales agents,4.1
|
616 |
+
Sales engineers,7.9
|
617 |
+
Telemarketers,-18.3
|
618 |
+
Miscellaneous sales and related workers,-4.5
|
619 |
+
"Door-to-door sales workers, news and street vendors, and related workers",-24.1
|
620 |
+
"Sales and related workers, all other",1.7
|
621 |
+
Office and administrative support occupations,-2.8
|
622 |
+
Supervisors of office and administrative support workers,-1.5
|
623 |
+
First-line supervisors of office and administrative support workers,-1.5
|
624 |
+
Communications equipment operators,-20.6
|
625 |
+
"Switchboard operators, including answering service",-22.7
|
626 |
+
Telephone operators,-25.4
|
627 |
+
"Communications equipment operators, all other",13.8
|
628 |
+
Financial clerks,-4.9
|
629 |
+
Bill and account collectors,-9.2
|
630 |
+
Billing and posting clerks,2.9
|
631 |
+
"Bookkeeping, accounting, and auditing clerks",-3.0
|
632 |
+
Gambling cage workers,19.5
|
633 |
+
Payroll and timekeeping clerks,-12.9
|
634 |
+
Procurement clerks,-5.1
|
635 |
+
Tellers,-16.9
|
636 |
+
"Financial clerks, all other",7.5
|
637 |
+
Information and record clerks,0.2
|
638 |
+
Brokerage clerks,-9.8
|
639 |
+
Correspondence clerks,-2.9
|
640 |
+
"Court, municipal, and license clerks",5.8
|
641 |
+
"Credit authorizers, checkers, and clerks",-4.8
|
642 |
+
Customer service representatives,-1.2
|
643 |
+
"Eligibility interviewers, government programs",3.8
|
644 |
+
File clerks,-12.6
|
645 |
+
"Hotel, motel, and resort desk clerks",16.4
|
646 |
+
"Interviewers, except eligibility and loan",-6.5
|
647 |
+
"Library assistants, clerical",-0.6
|
648 |
+
Loan interviewers and clerks,-2.4
|
649 |
+
New accounts clerks,-16.7
|
650 |
+
Order clerks,-18.2
|
651 |
+
"Human resources assistants, except payroll and timekeeping",-2.9
|
652 |
+
Receptionists and information clerks,4.3
|
653 |
+
Reservation and transportation ticket agents and travel clerks,12.9
|
654 |
+
"Information and record clerks, all other",5.1
|
655 |
+
"Material recording, scheduling, dispatching, and distributing workers",-1.7
|
656 |
+
Cargo and freight agents,9.9
|
657 |
+
Couriers and messengers,-8.2
|
658 |
+
Dispatchers,5.6
|
659 |
+
Public safety telecommunicators,8.2
|
660 |
+
"Dispatchers, except police, fire, and ambulance",4.3
|
661 |
+
"Meter readers, utilities",-8.6
|
662 |
+
Postal service workers,-8.6
|
663 |
+
Postal service clerks,-7.8
|
664 |
+
Postal service mail carriers,-7.8
|
665 |
+
"Postal service mail sorters, processors, and processing machine operators",-12.2
|
666 |
+
"Production, planning, and expediting clerks",7.6
|
667 |
+
"Shipping, receiving, and inventory clerks",-5.5
|
668 |
+
"Weighers, measurers, checkers, and samplers, recordkeeping",10.7
|
669 |
+
Secretaries and administrative assistants,-6.7
|
670 |
+
Executive secretaries and executive administrative assistants,-18.7
|
671 |
+
Legal secretaries and administrative assistants,-21.0
|
672 |
+
Medical secretaries and administrative assistants,10.6
|
673 |
+
"Secretaries and administrative assistants, except legal, medical, and executive",-7.6
|
674 |
+
Other office and administrative support workers,-2.8
|
675 |
+
Data entry and information processing workers,-25.5
|
676 |
+
Data entry keyers,-22.5
|
677 |
+
Word processors and typists,-36.0
|
678 |
+
Desktop publishers,-12.3
|
679 |
+
Insurance claims and policy processing clerks,1.4
|
680 |
+
"Mail clerks and mail machine operators, except postal service",-4.2
|
681 |
+
"Office clerks, general",-2.1
|
682 |
+
"Office machine operators, except computer",-13.5
|
683 |
+
Proofreaders and copy markers,5.3
|
684 |
+
Statistical assistants,7.9
|
685 |
+
"Office and administrative support workers, all other",6.6
|
686 |
+
"Farming, fishing, and forestry occupations",2.5
|
687 |
+
"Supervisors of farming, fishing, and forestry workers",8.7
|
688 |
+
"First-line supervisors of farming, fishing, and forestry workers",8.7
|
689 |
+
Agricultural workers,1.8
|
690 |
+
Agricultural inspectors,9.1
|
691 |
+
Animal breeders,-3.2
|
692 |
+
"Graders and sorters, agricultural products",-1.4
|
693 |
+
Miscellaneous agricultural workers,1.8
|
694 |
+
Agricultural equipment operators,12.9
|
695 |
+
"Farmworkers and laborers, crop, nursery, and greenhouse",5.3
|
696 |
+
"Farmworkers, farm, ranch, and aquacultural animals",-8.3
|
697 |
+
"Agricultural workers, all other",4.9
|
698 |
+
Fishing and hunting workers,10.6
|
699 |
+
Fishing and hunting workers,10.6
|
700 |
+
"Forest, conservation, and logging workers",3.5
|
701 |
+
Forest and conservation workers,-8.0
|
702 |
+
Logging workers,6.7
|
703 |
+
Fallers,-1.3
|
704 |
+
Logging equipment operators,8.1
|
705 |
+
Log graders and scalers,7.7
|
706 |
+
"Logging workers, all other",6.3
|
707 |
+
Construction and extraction occupations,5.7
|
708 |
+
Supervisors of construction and extraction workers,6.2
|
709 |
+
First-line supervisors of construction trades and extraction workers,6.2
|
710 |
+
Construction trades workers,5.5
|
711 |
+
Boilermakers,-1.0
|
712 |
+
"Brickmasons, blockmasons, and stonemasons",-4.6
|
713 |
+
Brickmasons and blockmasons,-5.3
|
714 |
+
Stonemasons,-1.4
|
715 |
+
Carpenters,2.1
|
716 |
+
"Carpet, floor, and tile installers and finishers",6.4
|
717 |
+
Carpet installers,-5.9
|
718 |
+
"Floor layers, except carpet, wood, and hard tiles",12.3
|
719 |
+
Floor sanders and finishers,4.5
|
720 |
+
Tile and stone setters,11.5
|
721 |
+
"Cement masons, concrete finishers, and terrazzo workers",-1.1
|
722 |
+
Cement masons and concrete finishers,-1.0
|
723 |
+
Terrazzo workers and finishers,-8.5
|
724 |
+
Construction laborers,8.0
|
725 |
+
Construction equipment operators,5.4
|
726 |
+
"Paving, surfacing, and tamping equipment operators",5.6
|
727 |
+
Pile driver operators,4.8
|
728 |
+
Operating engineers and other construction equipment operators,5.4
|
729 |
+
"Drywall installers, ceiling tile installers, and tapers",4.3
|
730 |
+
Drywall and ceiling tile installers,4.9
|
731 |
+
Tapers,0.5
|
732 |
+
Electricians,9.1
|
733 |
+
Glaziers,4.7
|
734 |
+
Insulation workers,5.0
|
735 |
+
"Insulation workers, floor, ceiling, and wall",4.9
|
736 |
+
"Insulation workers, mechanical",5.1
|
737 |
+
Painters and paperhangers,5.2
|
738 |
+
"Painters, construction and maintenance",5.2
|
739 |
+
Paperhangers,6.4
|
740 |
+
"Pipelayers, plumbers, pipefitters, and steamfitters",4.5
|
741 |
+
Pipelayers,-1.5
|
742 |
+
"Plumbers, pipefitters, and steamfitters",5.0
|
743 |
+
Plasterers and stucco masons,6.8
|
744 |
+
Reinforcing iron and rebar workers,5.3
|
745 |
+
Roofers,4.6
|
746 |
+
Sheet metal workers,3.6
|
747 |
+
Structural iron and steel workers,5.9
|
748 |
+
Solar photovoltaic installers,52.1
|
749 |
+
"Helpers, construction trades",2.6
|
750 |
+
"Helpers--brickmasons, blockmasons, stonemasons, and tile and marble setters",-3.9
|
751 |
+
Helpers--carpenters,0.7
|
752 |
+
Helpers--electricians,0.9
|
753 |
+
"Helpers--painters, paperhangers, plasterers, and stucco masons",6.8
|
754 |
+
"Helpers--pipelayers, plumbers, pipefitters, and steamfitters",5.6
|
755 |
+
Helpers--roofers,4.8
|
756 |
+
"Helpers, construction trades, all other",5.9
|
757 |
+
Other construction and related workers,4.1
|
758 |
+
Construction and building inspectors,-2.9
|
759 |
+
Elevator and escalator installers and repairers,6.1
|
760 |
+
Fence erectors,4.3
|
761 |
+
Hazardous materials removal workers,6.6
|
762 |
+
Highway maintenance workers,6.0
|
763 |
+
Rail-track laying and maintenance equipment operators,5.3
|
764 |
+
Septic tank servicers and sewer pipe cleaners,14.3
|
765 |
+
Miscellaneous construction and related workers,8.1
|
766 |
+
Extraction workers,16.9
|
767 |
+
"Derrick, rotary drill, and service unit operators, oil and gas",24.6
|
768 |
+
"Derrick operators, oil and gas",29.7
|
769 |
+
"Rotary drill operators, oil and gas",26.4
|
770 |
+
"Service unit operators, oil and gas",22.9
|
771 |
+
"Excavating and loading machine and dragline operators, surface mining",4.5
|
772 |
+
Continuous mining machine operators,5.7
|
773 |
+
"Roof bolters, mining",-6.9
|
774 |
+
"Loading and moving machine operators, underground mining",-5.5
|
775 |
+
"Rock splitters, quarry",6.0
|
776 |
+
"Roustabouts, oil and gas",29.5
|
777 |
+
Helpers--extraction workers,23.0
|
778 |
+
"Earth drillers, except oil and gas; and explosives workers, ordnance handling experts, and blasters",8.0
|
779 |
+
"Underground mining machine operators and extraction workers, all other",10.2
|
780 |
+
"Installation, maintenance, and repair occupations",6.7
|
781 |
+
"Supervisors of installation, maintenance, and repair workers",6.6
|
782 |
+
"First-line supervisors of mechanics, installers, and repairers",6.6
|
783 |
+
"Electrical and electronic equipment mechanics, installers, and repairers",2.0
|
784 |
+
"Computer, automated teller, and office machine repairers",-2.2
|
785 |
+
Radio and telecommunications equipment installers and repairers,-0.8
|
786 |
+
"Radio, cellular, and tower equipment installers and repairers",3.9
|
787 |
+
"Telecommunications equipment installers and repairers, except line installers",-1.1
|
788 |
+
"Miscellaneous electrical and electronic equipment mechanics, installers, and repairers",6.3
|
789 |
+
Avionics technicians,9.7
|
790 |
+
"Electric motor, power tool, and related repairers",6.9
|
791 |
+
"Electrical and electronics installers and repairers, transportation equipment",6.7
|
792 |
+
"Electrical and electronics repairers, commercial and industrial equipment",4.5
|
793 |
+
"Electrical and electronics repairers, powerhouse, substation, and relay",-2.4
|
794 |
+
"Electronic equipment installers and repairers, motor vehicles",-16.2
|
795 |
+
Audiovisual equipment installers and repairers,-3.8
|
796 |
+
Security and fire alarm systems installers,16.4
|
797 |
+
"Vehicle and mobile equipment mechanics, installers, and repairers",5.0
|
798 |
+
Aircraft mechanics and service technicians,11.8
|
799 |
+
Automotive technicians and repairers,1.4
|
800 |
+
Automotive body and related repairers,5.3
|
801 |
+
Automotive glass installers and repairers,8.8
|
802 |
+
Automotive service technicians and mechanics,0.3
|
803 |
+
Bus and truck mechanics and diesel engine specialists,7.8
|
804 |
+
Heavy vehicle and mobile equipment service technicians and mechanics,11.0
|
805 |
+
Farm equipment mechanics and service technicians,11.1
|
806 |
+
"Mobile heavy equipment mechanics, except engines",11.7
|
807 |
+
Rail car repairers,5.2
|
808 |
+
Small engine mechanics,9.4
|
809 |
+
Motorboat mechanics and service technicians,13.3
|
810 |
+
Motorcycle mechanics,9.6
|
811 |
+
Outdoor power equipment and other small engine mechanics,6.7
|
812 |
+
"Miscellaneous vehicle and mobile equipment mechanics, installers, and repairers",3.8
|
813 |
+
Bicycle repairers,3.7
|
814 |
+
Recreational vehicle service technicians,17.2
|
815 |
+
Tire repairers and changers,1.8
|
816 |
+
"Other installation, maintenance, and repair occupations",8.5
|
817 |
+
Control and valve installers and repairers,5.3
|
818 |
+
Mechanical door repairers,12.2
|
819 |
+
"Control and valve installers and repairers, except mechanical door",2.3
|
820 |
+
"Heating, air conditioning, and refrigeration mechanics and installers",5.0
|
821 |
+
Home appliance repairers,-3.6
|
822 |
+
"Industrial machinery installation, repair, and maintenance workers",18.9
|
823 |
+
Industrial machinery mechanics,21.3
|
824 |
+
"Maintenance workers, machinery",10.7
|
825 |
+
Millwrights,10.3
|
826 |
+
"Refractory materials repairers, except brickmasons",-14.5
|
827 |
+
Line installers and repairers,0.3
|
828 |
+
Electrical power-line installers and repairers,1.3
|
829 |
+
Telecommunications line installers and repairers,-0.7
|
830 |
+
Precision instrument and equipment repairers,4.8
|
831 |
+
Camera and photographic equipment repairers,8.0
|
832 |
+
Medical equipment repairers,7.2
|
833 |
+
Musical instrument repairers and tuners,-3.9
|
834 |
+
Watch and clock repairers,-24.9
|
835 |
+
"Precision instrument and equipment repairers, all other",5.6
|
836 |
+
"Maintenance and repair workers, general",8.1
|
837 |
+
Wind turbine service technicians,68.2
|
838 |
+
"Miscellaneous installation, maintenance, and repair workers",6.3
|
839 |
+
"Coin, vending, and amusement machine servicers and repairers",9.0
|
840 |
+
Commercial divers,16.8
|
841 |
+
Locksmiths and safe repairers,-2.3
|
842 |
+
Manufactured building and mobile home installers,-18.4
|
843 |
+
Riggers,12.1
|
844 |
+
Signal and track switch repairers,5.6
|
845 |
+
"Helpers--installation, maintenance, and repair workers",7.4
|
846 |
+
"Installation, maintenance, and repair workers, all other",5.9
|
847 |
+
Production occupations,-0.4
|
848 |
+
Supervisors of production workers,3.7
|
849 |
+
First-line supervisors of production and operating workers,3.7
|
850 |
+
Assemblers and fabricators,-5.0
|
851 |
+
"Aircraft structure, surfaces, rigging, and systems assemblers",-15.9
|
852 |
+
"Electrical, electronics, and electromechanical assemblers",6.1
|
853 |
+
"Coil winders, tapers, and finishers",-12.4
|
854 |
+
"Electrical, electronic, and electromechanical assemblers, except coil winders, tapers, and finishers",6.9
|
855 |
+
Engine and other machine assemblers,-11.8
|
856 |
+
Structural metal fabricators and fitters,-11.4
|
857 |
+
Fiberglass laminators and fabricators,-0.4
|
858 |
+
Timing device assemblers and adjusters,-17.8
|
859 |
+
Miscellaneous assemblers and fabricators,-6.7
|
860 |
+
Food processing workers,3.9
|
861 |
+
Bakers,9.5
|
862 |
+
"Butchers and other meat, poultry, and fish processing workers",0.2
|
863 |
+
Butchers and meat cutters,-5.4
|
864 |
+
"Meat, poultry, and fish cutters and trimmers",3.3
|
865 |
+
Slaughterers and meat packers,4.3
|
866 |
+
Miscellaneous food processing workers,5.1
|
867 |
+
"Food and tobacco roasting, baking, and drying machine operators and tenders",4.4
|
868 |
+
Food batchmakers,5.6
|
869 |
+
Food cooking machine operators and tenders,5.1
|
870 |
+
"Food processing workers, all other",3.8
|
871 |
+
Metal workers and plastic workers,2.4
|
872 |
+
"Forming machine setters, operators, and tenders, metal and plastic",-7.7
|
873 |
+
"Extruding and drawing machine setters, operators, and tenders, metal and plastic",-7.5
|
874 |
+
"Forging machine setters, operators, and tenders, metal and plastic",-13.2
|
875 |
+
"Rolling machine setters, operators, and tenders, metal and plastic",-6.1
|
876 |
+
"Machine tool cutting setters, operators, and tenders, metal and plastic",-3.9
|
877 |
+
"Cutting, punching, and press machine setters, operators, and tenders, metal and plastic",-2.4
|
878 |
+
"Drilling and boring machine tool setters, operators, and tenders, metal and plastic",-15.5
|
879 |
+
"Grinding, lapping, polishing, and buffing machine tool setters, operators, and tenders, metal and plastic",-3.3
|
880 |
+
"Lathe and turning machine tool setters, operators, and tenders, metal and plastic",-4.4
|
881 |
+
"Milling and planing machine setters, operators, and tenders, metal and plastic",-15.1
|
882 |
+
Machinists,7.9
|
883 |
+
"Metal furnace operators, tenders, pourers, and casters",0.1
|
884 |
+
Metal-refining furnace operators and tenders,2.6
|
885 |
+
"Pourers and casters, metal",-5.1
|
886 |
+
"Model makers and patternmakers, metal and plastic",-4.2
|
887 |
+
"Model makers, metal and plastic",-4.9
|
888 |
+
"Patternmakers, metal and plastic",-3.2
|
889 |
+
"Molders and molding machine setters, operators, and tenders, metal and plastic",-5.8
|
890 |
+
Foundry mold and coremakers,-3.3
|
891 |
+
"Molding, coremaking, and casting machine setters, operators, and tenders, metal and plastic",-6.1
|
892 |
+
"Multiple machine tool setters, operators, and tenders, metal and plastic",8.6
|
893 |
+
Tool and die makers,1.5
|
894 |
+
"Welding, soldering, and brazing workers",7.5
|
895 |
+
"Welders, cutters, solderers, and brazers",8.2
|
896 |
+
"Welding, soldering, and brazing machine setters, operators, and tenders",-1.0
|
897 |
+
Miscellaneous metal workers and plastic workers,-3.1
|
898 |
+
"Heat treating equipment setters, operators, and tenders, metal and plastic",-4.0
|
899 |
+
"Layout workers, metal and plastic",-6.6
|
900 |
+
"Plating machine setters, operators, and tenders, metal and plastic",-2.7
|
901 |
+
"Tool grinders, filers, and sharpeners",-2.4
|
902 |
+
"Metal workers and plastic workers, all other",-2.0
|
903 |
+
Printing workers,-12.2
|
904 |
+
Prepress technicians and workers,-17.1
|
905 |
+
Printing press operators,-9.9
|
906 |
+
Print binding and finishing workers,-17.5
|
907 |
+
"Textile, apparel, and furnishings workers",-3.1
|
908 |
+
Laundry and dry-cleaning workers,11.8
|
909 |
+
"Pressers, textile, garment, and related materials",-10.8
|
910 |
+
Sewing machine operators,-14.0
|
911 |
+
Shoe and leather workers,-16.8
|
912 |
+
Shoe and leather workers and repairers,-14.0
|
913 |
+
Shoe machine operators and tenders,-21.6
|
914 |
+
"Tailors, dressmakers, and sewers",-7.7
|
915 |
+
"Sewers, hand",-9.5
|
916 |
+
"Tailors, dressmakers, and custom sewers",-7.4
|
917 |
+
"Textile machine setters, operators, and tenders",-12.7
|
918 |
+
Textile bleaching and dyeing machine operators and tenders,-13.8
|
919 |
+
"Textile cutting machine setters, operators, and tenders",-11.1
|
920 |
+
"Textile knitting and weaving machine setters, operators, and tenders",-14.8
|
921 |
+
"Textile winding, twisting, and drawing out machine setters, operators, and tenders",-11.5
|
922 |
+
"Miscellaneous textile, apparel, and furnishings workers",-1.1
|
923 |
+
"Extruding and forming machine setters, operators, and tenders, synthetic and glass fibers",-4.3
|
924 |
+
Fabric and apparel patternmakers,-9.7
|
925 |
+
Upholsterers,4.5
|
926 |
+
"Textile, apparel, and furnishings workers, all other",-6.4
|
927 |
+
Woodworkers,9.1
|
928 |
+
Cabinetmakers and bench carpenters,8.8
|
929 |
+
Furniture finishers,5.8
|
930 |
+
"Model makers and patternmakers, wood",35.8
|
931 |
+
"Model makers, wood",38.6
|
932 |
+
"Patternmakers, wood",24.7
|
933 |
+
"Woodworking machine setters, operators, and tenders",8.6
|
934 |
+
"Sawing machine setters, operators, and tenders, wood",6.7
|
935 |
+
"Woodworking machine setters, operators, and tenders, except sawing",9.8
|
936 |
+
"Woodworkers, all other",22.2
|
937 |
+
Plant and system operators,-2.0
|
938 |
+
"Power plant operators, distributors, and dispatchers",-14.4
|
939 |
+
Nuclear power reactor operators,-32.9
|
940 |
+
Power distributors and dispatchers,-7.3
|
941 |
+
Power plant operators,-13.6
|
942 |
+
Stationary engineers and boiler operators,5.8
|
943 |
+
Water and wastewater treatment plant and system operators,-2.5
|
944 |
+
Miscellaneous plant and system operators,2.3
|
945 |
+
Chemical plant and system operators,-0.5
|
946 |
+
Gas plant operators,-1.8
|
947 |
+
"Petroleum pump system operators, refinery operators, and gaugers",5.6
|
948 |
+
"Plant and system operators, all other",3.1
|
949 |
+
Other production occupations,-0.9
|
950 |
+
"Chemical processing machine setters, operators, and tenders",-1.7
|
951 |
+
Chemical equipment operators and tenders,-5.3
|
952 |
+
"Separating, filtering, clarifying, precipitating, and still machine setters, operators, and tenders",5.0
|
953 |
+
"Crushing, grinding, polishing, mixing, and blending workers",0.7
|
954 |
+
"Crushing, grinding, and polishing machine setters, operators, and tenders",-0.4
|
955 |
+
"Grinding and polishing workers, hand",-13.6
|
956 |
+
"Mixing and blending machine setters, operators, and tenders",3.9
|
957 |
+
Cutting workers,-6.9
|
958 |
+
"Cutters and trimmers, hand",-29.7
|
959 |
+
"Cutting and slicing machine setters, operators, and tenders",-3.5
|
960 |
+
"Extruding, forming, pressing, and compacting machine setters, operators, and tenders",1.2
|
961 |
+
"Furnace, kiln, oven, drier, and kettle operators and tenders",4.9
|
962 |
+
"Inspectors, testers, sorters, samplers, and weighers",-12.2
|
963 |
+
Jewelers and precious stone and metal workers,-0.8
|
964 |
+
Dental and ophthalmic laboratory technicians and medical appliance technicians,12.3
|
965 |
+
Dental laboratory technicians,12.2
|
966 |
+
Medical appliance technicians,14.4
|
967 |
+
Ophthalmic laboratory technicians,11.2
|
968 |
+
Packaging and filling machine operators and tenders,5.4
|
969 |
+
Painting workers,7.4
|
970 |
+
"Painting, coating, and decorating workers",6.3
|
971 |
+
"Coating, painting, and spraying machine setters, operators, and tenders",7.5
|
972 |
+
Semiconductor processing technicians,-1.7
|
973 |
+
Photographic process workers and processing machine operators,-8.7
|
974 |
+
Computer numerically controlled tool operators and programmers,1.9
|
975 |
+
Computer numerically controlled tool operators,-2.5
|
976 |
+
Computer numerically controlled tool programmers,27.4
|
977 |
+
Miscellaneous production workers,1.1
|
978 |
+
Adhesive bonding machine operators and tenders,0.9
|
979 |
+
"Cleaning, washing, and metal pickling equipment operators and tenders",6.3
|
980 |
+
Cooling and freezing equipment operators and tenders,6.0
|
981 |
+
Etchers and engravers,2.4
|
982 |
+
"Molders, shapers, and casters, except metal and plastic",15.1
|
983 |
+
"Paper goods machine setters, operators, and tenders",-7.3
|
984 |
+
Tire builders,-0.8
|
985 |
+
Helpers--production workers,-4.5
|
986 |
+
"Production workers, all other",8.2
|
987 |
+
Transportation and material moving occupations,8.8
|
988 |
+
Supervisors of transportation and material moving workers,5.9
|
989 |
+
Aircraft cargo handling supervisors,11.9
|
990 |
+
"First-line supervisors of transportation and material-moving workers, except aircraft cargo handling supervisors",5.8
|
991 |
+
Air transportation workers,19.1
|
992 |
+
Aircraft pilots and flight engineers,12.9
|
993 |
+
"Airline pilots, copilots, and flight engineers",13.7
|
994 |
+
Commercial pilots,11.4
|
995 |
+
Air traffic controllers and airfield operations specialists,6.5
|
996 |
+
Air traffic controllers,3.8
|
997 |
+
Airfield operations specialists,12.9
|
998 |
+
Flight attendants,30.4
|
999 |
+
Motor vehicle operators,12.0
|
1000 |
+
"Ambulance drivers and attendants, except emergency medical technicians",16.3
|
1001 |
+
Driver/sales workers and truck drivers,8.9
|
1002 |
+
Driver/sales workers,17.9
|
1003 |
+
Heavy and tractor-trailer truck drivers,6.3
|
1004 |
+
Light truck drivers,9.8
|
1005 |
+
Passenger vehicle drivers,24.7
|
1006 |
+
"Bus drivers, transit and intercity",21.0
|
1007 |
+
"Passenger vehicle drivers, except bus drivers, transit and intercity",25.5
|
1008 |
+
"Motor vehicle operators, all other",10.3
|
1009 |
+
Rail transportation workers,5.4
|
1010 |
+
Locomotive engineers and operators,4.9
|
1011 |
+
Locomotive engineers,5.6
|
1012 |
+
"Rail yard engineers, dinkey operators, and hostlers",0.8
|
1013 |
+
"Railroad brake, signal, and switch operators and locomotive firers",2.0
|
1014 |
+
Railroad conductors and yardmasters,5.5
|
1015 |
+
Subway and streetcar operators,10.2
|
1016 |
+
"Rail transportation workers, all other",2.6
|
1017 |
+
Water transportation workers,11.7
|
1018 |
+
Sailors and marine oilers,10.4
|
1019 |
+
Ship and boat captains and operators,13.6
|
1020 |
+
"Captains, mates, and pilots of water vessels",13.5
|
1021 |
+
Motorboat operators,14.7
|
1022 |
+
Ship engineers,8.2
|
1023 |
+
Other transportation workers,9.9
|
1024 |
+
Bridge and lock tenders,2.8
|
1025 |
+
Parking attendants,14.2
|
1026 |
+
Automotive and watercraft service attendants,4.3
|
1027 |
+
Traffic technicians,7.8
|
1028 |
+
Transportation inspectors,4.6
|
1029 |
+
Passenger attendants,17.5
|
1030 |
+
"Aircraft service attendants and transportation workers, all other",14.1
|
1031 |
+
Material moving workers,6.7
|
1032 |
+
Conveyor operators and tenders,6.1
|
1033 |
+
Crane and tower operators,5.4
|
1034 |
+
Dredge operators,5.2
|
1035 |
+
Hoist and winch operators,3.4
|
1036 |
+
Industrial truck and tractor operators,7.7
|
1037 |
+
Laborers and material movers,6.4
|
1038 |
+
Cleaners of vehicles and equipment,8.8
|
1039 |
+
"Laborers and freight, stock, and material movers, hand",9.1
|
1040 |
+
Machine feeders and offbearers,6.3
|
1041 |
+
"Packers and packagers, hand",0.2
|
1042 |
+
Stockers and order fillers,4.4
|
1043 |
+
Pumping station operators,9.1
|
1044 |
+
Gas compressor and gas pumping station operators,-1.4
|
1045 |
+
"Pump operators, except wellhead pumpers",12.6
|
1046 |
+
Wellhead pumpers,9.4
|
1047 |
+
Refuse and recyclable material collectors,11.9
|
1048 |
+
"Tank car, truck, and ship loaders",4.7
|
1049 |
+
"Material moving workers, all other",9.1
|
1050 |
+
"Source: Employment Projections program, U.S. Bureau of Labor Statistics",
|
one_file_ref.py
ADDED
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import json
|
2 |
+
import os
|
3 |
+
from dataclasses import dataclass
|
4 |
+
from pathlib import Path
|
5 |
+
from typing import List, Optional, Tuple
|
6 |
+
|
7 |
+
import fire
|
8 |
+
import safetensors.torch
|
9 |
+
import torch
|
10 |
+
from mistral_common.tokens.tokenizers.base import Tokenizer
|
11 |
+
from mistral_common.tokens.tokenizers.mistral import MistralTokenizer
|
12 |
+
from simple_parsing.helpers import Serializable
|
13 |
+
from torch import nn
|
14 |
+
|
15 |
+
|
16 |
+
@dataclass
|
17 |
+
class TransformerArgs(Serializable):
|
18 |
+
dim: int
|
19 |
+
n_layers: int
|
20 |
+
head_dim: int
|
21 |
+
hidden_dim: int
|
22 |
+
n_heads: int
|
23 |
+
n_kv_heads: int
|
24 |
+
norm_eps: float
|
25 |
+
vocab_size: int
|
26 |
+
|
27 |
+
# For rotary embeddings. If not set, will be inferred
|
28 |
+
rope_theta: Optional[float] = None
|
29 |
+
|
30 |
+
max_seq_len: int = 16384
|
31 |
+
max_batch_size: int = 0
|
32 |
+
|
33 |
+
|
34 |
+
def repeat_kv(keys: torch.Tensor, values: torch.Tensor, repeats: int) -> Tuple[torch.Tensor]:
|
35 |
+
keys = torch.repeat_interleave(keys, repeats=repeats, dim=2)
|
36 |
+
values = torch.repeat_interleave(values, repeats=repeats, dim=2)
|
37 |
+
return keys, values
|
38 |
+
|
39 |
+
|
40 |
+
def _reshape_for_broadcast(freqs_cis: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
|
41 |
+
"""
|
42 |
+
freqs_cis: complex - (seq_len, head_dim / 2)
|
43 |
+
x: complex - (bsz, seq_len, head_dim / 2)
|
44 |
+
"""
|
45 |
+
ndim = x.ndim
|
46 |
+
assert 1 < ndim
|
47 |
+
assert freqs_cis.shape == (x.shape[1], x.shape[-1]), (
|
48 |
+
freqs_cis.shape,
|
49 |
+
(x.shape[1], x.shape[-1]),
|
50 |
+
)
|
51 |
+
shape = [d if i == 1 or i == ndim - 1 else 1 for i, d in enumerate(x.shape)]
|
52 |
+
return freqs_cis.view(*shape)
|
53 |
+
|
54 |
+
|
55 |
+
def apply_rotary_emb(
|
56 |
+
xq: torch.Tensor,
|
57 |
+
xk: torch.Tensor,
|
58 |
+
freqs_cis: torch.Tensor,
|
59 |
+
) -> Tuple[torch.Tensor, torch.Tensor]:
|
60 |
+
xq_ = torch.view_as_complex(xq.float().reshape(*xq.shape[:-1], -1, 2))
|
61 |
+
xk_ = torch.view_as_complex(xk.float().reshape(*xk.shape[:-1], -1, 2))
|
62 |
+
freqs_cis = _reshape_for_broadcast(freqs_cis, xq_)
|
63 |
+
xq_out = torch.view_as_real(xq_ * freqs_cis).flatten(3)
|
64 |
+
xk_out = torch.view_as_real(xk_ * freqs_cis).flatten(3)
|
65 |
+
return xq_out.type_as(xq), xk_out.type_as(xk)
|
66 |
+
|
67 |
+
|
68 |
+
class Attention(nn.Module):
|
69 |
+
def __init__(self, args: TransformerArgs):
|
70 |
+
super().__init__()
|
71 |
+
self.args = args
|
72 |
+
|
73 |
+
self.n_heads: int = args.n_heads
|
74 |
+
self.n_kv_heads: int = args.n_kv_heads
|
75 |
+
|
76 |
+
self.repeats = self.n_heads // self.n_kv_heads
|
77 |
+
|
78 |
+
self.scale = self.args.head_dim**-0.5
|
79 |
+
|
80 |
+
self.wq = nn.Linear(args.dim, args.n_heads * args.head_dim, bias=False)
|
81 |
+
self.wk = nn.Linear(args.dim, args.n_kv_heads * args.head_dim, bias=False)
|
82 |
+
self.wv = nn.Linear(args.dim, args.n_kv_heads * args.head_dim, bias=False)
|
83 |
+
self.wo = nn.Linear(args.n_heads * args.head_dim, args.dim, bias=False)
|
84 |
+
self.cache_k = torch.empty(
|
85 |
+
(
|
86 |
+
args.max_batch_size,
|
87 |
+
args.max_seq_len,
|
88 |
+
self.n_kv_heads,
|
89 |
+
self.args.head_dim,
|
90 |
+
),
|
91 |
+
dtype=torch.float16,
|
92 |
+
).cuda()
|
93 |
+
self.cache_v = torch.empty(
|
94 |
+
(
|
95 |
+
args.max_batch_size,
|
96 |
+
args.max_seq_len,
|
97 |
+
self.n_kv_heads,
|
98 |
+
self.args.head_dim,
|
99 |
+
),
|
100 |
+
dtype=torch.float16,
|
101 |
+
).cuda()
|
102 |
+
|
103 |
+
def forward(
|
104 |
+
self,
|
105 |
+
x: torch.Tensor,
|
106 |
+
freqs_cis: torch.Tensor,
|
107 |
+
positions: torch.Tensor,
|
108 |
+
mask: Optional[torch.Tensor],
|
109 |
+
) -> torch.Tensor:
|
110 |
+
bsz, seqlen, _ = x.shape
|
111 |
+
|
112 |
+
xq, xk, xv = self.wq(x), self.wk(x), self.wv(x)
|
113 |
+
xq = xq.view(bsz, seqlen, self.n_heads, self.args.head_dim)
|
114 |
+
xk = xk.view(bsz, seqlen, self.n_kv_heads, self.args.head_dim)
|
115 |
+
xv = xv.view(bsz, seqlen, self.n_kv_heads, self.args.head_dim)
|
116 |
+
xq, xk = apply_rotary_emb(xq, xk, freqs_cis=freqs_cis)
|
117 |
+
|
118 |
+
# cache
|
119 |
+
scatter_pos = positions[None, :, None, None].repeat(bsz, 1, self.n_kv_heads, self.args.head_dim)
|
120 |
+
self.cache_k[:bsz].scatter_(dim=1, index=scatter_pos, src=xk)
|
121 |
+
self.cache_v[:bsz].scatter_(dim=1, index=scatter_pos, src=xv)
|
122 |
+
|
123 |
+
if positions.shape[0] > 1:
|
124 |
+
# prefill
|
125 |
+
key, value = repeat_kv(xk, xv, self.repeats)
|
126 |
+
else:
|
127 |
+
cur_pos = positions[-1].item() + 1
|
128 |
+
key, value = repeat_kv(
|
129 |
+
self.cache_k[:bsz, :cur_pos, ...],
|
130 |
+
self.cache_v[:bsz, :cur_pos, ...],
|
131 |
+
self.repeats,
|
132 |
+
)
|
133 |
+
|
134 |
+
query = xq.transpose(1, 2)
|
135 |
+
key = key.transpose(1, 2)
|
136 |
+
value = value.transpose(1, 2)
|
137 |
+
# scores : [bsz, n_heads, seqlen | 1, seqlen]
|
138 |
+
scores = torch.matmul(query, key.transpose(2, 3)) * self.scale
|
139 |
+
|
140 |
+
if mask is not None:
|
141 |
+
scores += mask[None, None, ...]
|
142 |
+
|
143 |
+
scores = scores.float()
|
144 |
+
scores = nn.functional.softmax(scores, dim=-1).type_as(query)
|
145 |
+
output = torch.matmul(scores, value) # (bs, n_local_heads, slen, head_dim)
|
146 |
+
output = output.transpose(1, 2).contiguous().view(bsz, seqlen, -1)
|
147 |
+
return self.wo(output)
|
148 |
+
|
149 |
+
|
150 |
+
class FeedForward(nn.Module):
|
151 |
+
def __init__(self, args: TransformerArgs):
|
152 |
+
super().__init__()
|
153 |
+
|
154 |
+
self.w1 = nn.Linear(args.dim, args.hidden_dim, bias=False)
|
155 |
+
self.w2 = nn.Linear(args.hidden_dim, args.dim, bias=False)
|
156 |
+
self.w3 = nn.Linear(args.dim, args.hidden_dim, bias=False)
|
157 |
+
|
158 |
+
def forward(self, x) -> torch.Tensor:
|
159 |
+
return self.w2(nn.functional.silu(self.w1(x)) * self.w3(x))
|
160 |
+
|
161 |
+
|
162 |
+
class RMSNorm(torch.nn.Module):
|
163 |
+
def __init__(self, dim: int, eps: float = 1e-6):
|
164 |
+
super().__init__()
|
165 |
+
self.eps = eps
|
166 |
+
self.weight = nn.Parameter(torch.ones(dim))
|
167 |
+
|
168 |
+
def _norm(self, x):
|
169 |
+
return x * torch.rsqrt(x.pow(2).mean(-1, keepdim=True) + self.eps)
|
170 |
+
|
171 |
+
def forward(self, x):
|
172 |
+
output = self._norm(x.float()).type_as(x)
|
173 |
+
return output * self.weight
|
174 |
+
|
175 |
+
|
176 |
+
class TransformerBlock(nn.Module):
|
177 |
+
def __init__(self, args: TransformerArgs):
|
178 |
+
super().__init__()
|
179 |
+
self.n_heads = args.n_heads
|
180 |
+
self.dim = args.dim
|
181 |
+
self.attention = Attention(args)
|
182 |
+
self.feed_forward = FeedForward(args=args)
|
183 |
+
self.attention_norm = RMSNorm(args.dim, eps=args.norm_eps)
|
184 |
+
self.ffn_norm = RMSNorm(args.dim, eps=args.norm_eps)
|
185 |
+
self.args = args
|
186 |
+
|
187 |
+
def forward(
|
188 |
+
self,
|
189 |
+
x: torch.Tensor,
|
190 |
+
freqs_cis: torch.Tensor,
|
191 |
+
positions: torch.Tensor,
|
192 |
+
mask: Optional[torch.Tensor],
|
193 |
+
) -> torch.Tensor:
|
194 |
+
r = self.attention.forward(self.attention_norm(x), freqs_cis, positions, mask)
|
195 |
+
h = x + r
|
196 |
+
r = self.feed_forward.forward(self.ffn_norm(h))
|
197 |
+
out = h + r
|
198 |
+
return out
|
199 |
+
|
200 |
+
|
201 |
+
def precompute_freqs_cis(dim: int, end: int, theta: float) -> torch.Tensor:
|
202 |
+
freqs = 1.0 / (theta ** (torch.arange(0, dim, 2)[: (dim // 2)].float() / dim))
|
203 |
+
t = torch.arange(end, device=freqs.device) # type: ignore
|
204 |
+
freqs = torch.outer(t, freqs).float() # type: ignore
|
205 |
+
return torch.polar(torch.ones_like(freqs), freqs) # complex64
|
206 |
+
|
207 |
+
|
208 |
+
class Transformer(nn.Module):
|
209 |
+
def __init__(self, args: TransformerArgs):
|
210 |
+
super().__init__()
|
211 |
+
self.args = args
|
212 |
+
self.vocab_size = args.vocab_size
|
213 |
+
self.n_layers = args.n_layers
|
214 |
+
assert self.vocab_size > 0
|
215 |
+
|
216 |
+
self.tok_embeddings = nn.Embedding(args.vocab_size, args.dim)
|
217 |
+
|
218 |
+
self.layers = torch.nn.ModuleList([TransformerBlock(args=args) for _ in range(args.n_layers)])
|
219 |
+
|
220 |
+
self.norm = RMSNorm(args.dim, eps=args.norm_eps)
|
221 |
+
|
222 |
+
self.output = nn.Linear(args.dim, args.vocab_size, bias=False)
|
223 |
+
|
224 |
+
theta = self.args.rope_theta or 1000000.0
|
225 |
+
self.freqs_cis = precompute_freqs_cis(self.args.head_dim, 128_000, theta).to("cuda")
|
226 |
+
|
227 |
+
def forward(
|
228 |
+
self,
|
229 |
+
input_ids: torch.Tensor,
|
230 |
+
positions: torch.Tensor,
|
231 |
+
):
|
232 |
+
h = self.tok_embeddings(input_ids)
|
233 |
+
freqs_cis = self.freqs_cis[positions]
|
234 |
+
|
235 |
+
mask: Optional[torch.Tensor] = None
|
236 |
+
if input_ids.shape[1] > 1:
|
237 |
+
seqlen = input_ids.shape[1]
|
238 |
+
tensor = torch.full(
|
239 |
+
(seqlen, seqlen),
|
240 |
+
dtype=h.dtype,
|
241 |
+
fill_value=1,
|
242 |
+
device=h.device,
|
243 |
+
)
|
244 |
+
mask = torch.tril(tensor, diagonal=0).to(h.dtype)
|
245 |
+
mask = torch.triu(mask, diagonal=-self.args.max_seq_len)
|
246 |
+
mask = torch.log(mask)
|
247 |
+
|
248 |
+
for layer in self.layers:
|
249 |
+
h = layer(h, freqs_cis, positions, mask)
|
250 |
+
|
251 |
+
return self.output(self.norm(h)).float()
|
252 |
+
|
253 |
+
@staticmethod
|
254 |
+
def from_folder(folder: Path, max_batch_size: int = 1, device="cuda", dtype=torch.float16):
|
255 |
+
with open(Path(folder) / "params.json", "r") as f:
|
256 |
+
model_args = TransformerArgs.from_dict(json.load(f))
|
257 |
+
model_args.max_batch_size = max_batch_size
|
258 |
+
|
259 |
+
model = Transformer(model_args)
|
260 |
+
|
261 |
+
pt_model_file = Path(folder) / "consolidated.00.pth"
|
262 |
+
safetensors_model_file = Path(folder) / "consolidated.safetensors"
|
263 |
+
|
264 |
+
assert (
|
265 |
+
pt_model_file.exists() or safetensors_model_file.exists()
|
266 |
+
), f"Make sure either {pt_model_file} or {safetensors_model_file} exists"
|
267 |
+
assert not (
|
268 |
+
pt_model_file.exists() and safetensors_model_file.exists()
|
269 |
+
), f"Both {pt_model_file} and {safetensors_model_file} cannot exist"
|
270 |
+
|
271 |
+
if pt_model_file.exists():
|
272 |
+
loaded = torch.load(str(pt_model_file), mmap=True)
|
273 |
+
else:
|
274 |
+
loaded = safetensors.torch.load_file(str(safetensors_model_file))
|
275 |
+
|
276 |
+
model.load_state_dict(loaded, assign=True, strict=True)
|
277 |
+
return model.to(device=device, dtype=dtype)
|
278 |
+
|
279 |
+
|
280 |
+
def load_tokenizer(model_path: Path) -> MistralTokenizer:
|
281 |
+
tokenizer = [f for f in os.listdir(Path(model_path)) if f.startswith("tokenizer.model")]
|
282 |
+
assert (
|
283 |
+
len(tokenizer) > 0
|
284 |
+
), f"No tokenizer found in {model_path}, make sure to place a `tokenizer.model.[v1,v2,v3]` file in {model_path}."
|
285 |
+
assert (
|
286 |
+
len(tokenizer) == 1
|
287 |
+
), f"Multiple tokenizers {', '.join(tokenizer)} found in `model_path`, make sure to only have one tokenizer"
|
288 |
+
|
289 |
+
tokenizer = MistralTokenizer.from_file(str(model_path / tokenizer[0]))
|
290 |
+
|
291 |
+
return tokenizer
|
292 |
+
|
293 |
+
|
294 |
+
@torch.no_grad()
|
295 |
+
def generate(prompts: List[str], model: Transformer, tokenizer: Tokenizer, max_tokens: int):
|
296 |
+
encoded_prompts = [tokenizer.encode(prompt, bos=True, eos=False) for prompt in prompts]
|
297 |
+
prompt_lens = [len(x) for x in encoded_prompts]
|
298 |
+
min_prompt_len = min(prompt_lens)
|
299 |
+
max_prompt_len = max(prompt_lens)
|
300 |
+
|
301 |
+
input_tokens = torch.full(
|
302 |
+
(len(prompts), max_prompt_len),
|
303 |
+
tokenizer._model.pad_id(),
|
304 |
+
dtype=torch.long,
|
305 |
+
device="cuda",
|
306 |
+
)
|
307 |
+
for i, encoded in enumerate(encoded_prompts):
|
308 |
+
input_tokens[i, : len(encoded)] = torch.tensor(encoded).to(input_tokens)
|
309 |
+
|
310 |
+
input_mask = input_tokens != tokenizer._model.pad_id()
|
311 |
+
|
312 |
+
# pre-fill
|
313 |
+
positions = torch.arange(0, min_prompt_len).to("cuda")
|
314 |
+
logits = model.forward(input_tokens[:, :min_prompt_len], positions)
|
315 |
+
logprobs = nn.functional.log_softmax(logits, dim=-1)
|
316 |
+
|
317 |
+
# decode
|
318 |
+
generated = []
|
319 |
+
all_logprobs = [
|
320 |
+
logprobs[:, :-1, :].gather(2, input_tokens[:, 1:min_prompt_len, None]).squeeze(-1),
|
321 |
+
]
|
322 |
+
cur_pos = min_prompt_len
|
323 |
+
for _ in range(max_tokens):
|
324 |
+
next_token = torch.argmax(logprobs[:, -1, :], dim=-1)
|
325 |
+
if cur_pos < input_mask.shape[1]:
|
326 |
+
next_token = torch.where(input_mask[:, cur_pos], input_tokens[:, cur_pos], next_token)
|
327 |
+
all_logprobs.append(
|
328 |
+
logprobs[:, -1, :].gather(1, next_token[:, None]),
|
329 |
+
)
|
330 |
+
generated.append(next_token[:, None])
|
331 |
+
logits = model.forward(next_token[:, None], torch.LongTensor([cur_pos]).to(next_token))
|
332 |
+
logprobs = nn.functional.log_softmax(logits, dim=-1)
|
333 |
+
cur_pos += 1
|
334 |
+
|
335 |
+
all_logprobs = torch.cat(all_logprobs, 1)
|
336 |
+
res = []
|
337 |
+
if max_tokens > 0:
|
338 |
+
generated = torch.cat(generated, 1)
|
339 |
+
|
340 |
+
for i, x in enumerate(encoded_prompts):
|
341 |
+
res.append(tokenizer.decode(x[:min_prompt_len] + generated[i].tolist()))
|
342 |
+
return res, all_logprobs
|
343 |
+
|
344 |
+
|
345 |
+
def demo(model_path: str, max_tokens: int = 35):
|
346 |
+
mistral_tokenizer: MistralTokenizer = load_tokenizer(Path(model_path))
|
347 |
+
tokenizer: Tokenizer = mistral_tokenizer.instruct_tokenizer.tokenizer
|
348 |
+
|
349 |
+
transformer = Transformer.from_folder(Path(model_path), max_batch_size=3)
|
350 |
+
|
351 |
+
res, _logprobs = generate(
|
352 |
+
[
|
353 |
+
"This is a test",
|
354 |
+
"This is another test",
|
355 |
+
"This is a third test, mistral AI is very good at testing. ",
|
356 |
+
],
|
357 |
+
transformer,
|
358 |
+
tokenizer,
|
359 |
+
max_tokens=max_tokens,
|
360 |
+
)
|
361 |
+
for x in res:
|
362 |
+
print(x)
|
363 |
+
print("=====================")
|
364 |
+
|
365 |
+
|
366 |
+
if __name__ == "__main__":
|
367 |
+
fire.Fire(demo)
|
random_insertion_in_word.jsonl.gz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:72e65d83da53d15752ee0c47379509de149ddbad32d61184e5991df29616b78a
|
3 |
+
size 143626
|
reversed_words.jsonl.gz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:133a08f875cd6c1ef8608a3233571a773881cc27b1c707de738cc6543439332a
|
3 |
+
size 91917
|
sample_data.txt
ADDED
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
User: Hello, who are you?
|
2 |
+
AI: I am an AI chatbot designed to assist you with various tasks. How can I help you today?
|
3 |
+
|
4 |
+
User: Can you tell me a fact about space?
|
5 |
+
AI: Sure! Did you know that a day on Venus is longer than a year on Venus?
|
6 |
+
|
7 |
+
User: What's the capital of France?
|
8 |
+
AI: The capital of France is Paris.
|
9 |
+
|
10 |
+
User: Can you generate a poem for me?
|
11 |
+
AI: Roses are red, violets are blue, here's a poem, written for you.
|
12 |
+
|
13 |
+
User: How do I cook pasta?
|
14 |
+
AI: To cook pasta, bring water to a boil, add salt, then cook the pasta for 8-12 minutes.
|
15 |
+
User: Hello, who are you?
|
16 |
+
AI: I am an AI chatbot designed to assist you with various tasks. How can I help you today?
|
17 |
+
|
18 |
+
User: Can you tell me a fact about space?
|
19 |
+
AI: Sure! Did you know that a day on Venus is longer than a year on Venus?
|
20 |
+
|
21 |
+
User: What's the capital of France?
|
22 |
+
AI: The capital of France is Paris.
|
23 |
+
|
24 |
+
User: Can you generate a poem for me?
|
25 |
+
AI: Roses are red, violets are blue, here's a poem, written for you.
|
26 |
+
|
27 |
+
User: How do I cook pasta?
|
28 |
+
AI: To cook pasta, bring water to a boil, add salt, then cook the pasta for 8-12 minutes.
|
29 |
+
User: Hello, who are you?
|
30 |
+
AI: I am an AI chatbot designed to assist you with various tasks. How can I help you today?
|
31 |
+
|
32 |
+
User: Can you tell me a fact about space?
|
33 |
+
AI: Sure! Did you know that a day on Venus is longer than a year on Venus?
|
34 |
+
|
35 |
+
User: What's the capital of France?
|
36 |
+
AI: The capital of France is Paris.
|
37 |
+
|
38 |
+
User: Can you generate a poem for me?
|
39 |
+
AI: Roses are red, violets are blue, here's a poem, written for you.
|
40 |
+
|
41 |
+
User: How do I cook pasta?
|
42 |
+
AI: To cook pasta, bring water to a boil, add salt, then cook the pasta for 8-12 minutes.
|
43 |
+
User: Hello, who are you?
|
44 |
+
AI: I am an AI chatbot designed to assist you with various tasks. How can I help you today?
|
45 |
+
|
46 |
+
User: Can you tell me a fact about space?
|
47 |
+
AI: Sure! Did you know that a day on Venus is longer than a year on Venus?
|
48 |
+
|
49 |
+
User: What's the capital of France?
|
50 |
+
AI: The capital of France is Paris.
|
51 |
+
|
52 |
+
User: Can you generate a poem for me?
|
53 |
+
AI: Roses are red, violets are blue, here's a poem, written for you.
|
54 |
+
|
55 |
+
User: How do I cook pasta?
|
56 |
+
AI: To cook pasta, bring water to a boil, add salt, then cook the pasta for 8-12 minutes.
|
57 |
+
User: Hello, who are you?
|
58 |
+
AI: I am an AI chatbot designed to assist you with various tasks. How can I help you today?
|
59 |
+
|
60 |
+
User: Can you tell me a fact about space?
|
61 |
+
AI: Sure! Did you know that a day on Venus is longer than a year on Venus?
|
62 |
+
|
63 |
+
User: What's the capital of France?
|
64 |
+
AI: The capital of France is Paris.
|
65 |
+
|
66 |
+
User: Can you generate a poem for me?
|
67 |
+
AI: Roses are red, violets are blue, here's a poem, written for you.
|
68 |
+
|
69 |
+
User: How do I cook pasta?
|
70 |
+
AI: To cook pasta, bring water to a boil, add salt, then cook the pasta for 8-12 minutes.
|
71 |
+
User: Hello, who are you?
|
72 |
+
AI: I am an AI chatbot designed to assist you with various tasks. How can I help you today?
|
73 |
+
|
74 |
+
User: Can you tell me a fact about space?
|
75 |
+
AI: Sure! Did you know that a day on Venus is longer than a year on Venus?
|
76 |
+
|
77 |
+
User: What's the capital of France?
|
78 |
+
AI: The capital of France is Paris.
|
79 |
+
|
80 |
+
User: Can you generate a poem for me?
|
81 |
+
AI: Roses are red, violets are blue, here's a poem, written for you.
|
82 |
+
|
83 |
+
User: How do I cook pasta?
|
84 |
+
AI: To cook pasta, bring water to a boil, add salt, then cook the pasta for 8-12 minutes.
|
85 |
+
User: Hello, who are you?
|
86 |
+
AI: I am an AI chatbot designed to assist you with various tasks. How can I help you today?
|
87 |
+
|
88 |
+
User: Can you tell me a fact about space?
|
89 |
+
AI: Sure! Did you know that a day on Venus is longer than a year on Venus?
|
90 |
+
|
91 |
+
User: What's the capital of France?
|
92 |
+
AI: The capital of France is Paris.
|
93 |
+
|
94 |
+
User: Can you generate a poem for me?
|
95 |
+
AI: Roses are red, violets are blue, here's a poem, written for you.
|
96 |
+
|
97 |
+
User: How do I cook pasta?
|
98 |
+
AI: To cook pasta, bring water to a boil, add salt, then cook the pasta for 8-12 minutes.
|
99 |
+
User: Hello, who are you?
|
100 |
+
AI: I am an AI chatbot designed to assist you with various tasks. How can I help you today?
|
101 |
+
|
102 |
+
User: Can you tell me a fact about space?
|
103 |
+
AI: Sure! Did you know that a day on Venus is longer than a year on Venus?
|
104 |
+
|
105 |
+
User: What's the capital of France?
|
106 |
+
AI: The capital of France is Paris.
|
107 |
+
|
108 |
+
User: Can you generate a poem for me?
|
109 |
+
AI: Roses are red, violets are blue, here's a poem, written for you.
|
110 |
+
|
111 |
+
User: How do I cook pasta?
|
112 |
+
AI: To cook pasta, bring water to a boil, add salt, then cook the pasta for 8-12 minutes.
|
113 |
+
User: Hello, who are you?
|
114 |
+
AI: I am an AI chatbot designed to assist you with various tasks. How can I help you today?
|
115 |
+
|
116 |
+
User: Can you tell me a fact about space?
|
117 |
+
AI: Sure! Did you know that a day on Venus is longer than a year on Venus?
|
118 |
+
|
119 |
+
User: What's the capital of France?
|
120 |
+
AI: The capital of France is Paris.
|
121 |
+
|
122 |
+
User: Can you generate a poem for me?
|
123 |
+
AI: Roses are red, violets are blue, here's a poem, written for you.
|
124 |
+
|
125 |
+
User: How do I cook pasta?
|
126 |
+
AI: To cook pasta, bring water to a boil, add salt, then cook the pasta for 8-12 minutes.
|
127 |
+
User: Hello, who are you?
|
128 |
+
AI: I am an AI chatbot designed to assist you with various tasks. How can I help you today?
|
129 |
+
|
130 |
+
User: Can you tell me a fact about space?
|
131 |
+
AI: Sure! Did you know that a day on Venus is longer than a year on Venus?
|
132 |
+
|
133 |
+
User: What's the capital of France?
|
134 |
+
AI: The capital of France is Paris.
|
135 |
+
|
136 |
+
User: Can you generate a poem for me?
|
137 |
+
AI: Roses are red, violets are blue, here's a poem, written for you.
|
138 |
+
|
139 |
+
User: How do I cook pasta?
|
140 |
+
AI: To cook pasta, bring water to a boil, add salt, then cook the pasta for 8-12 minutes.
|
sample_data_1.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
sample_data_10.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
sample_data_2.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
sample_data_3.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
sample_data_4.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
sample_data_5.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
sample_data_6.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
sample_data_7.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
sample_data_8.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
sample_data_9.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
single_digit_three_ops.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
six_digit_addition.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
six_digit_subtraction.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
sum_of_digits.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
three_digit_addition.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
three_digit_subtraction.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"bos_token": {
|
5 |
+
"__type": "AddedToken",
|
6 |
+
"content": "<|begin▁of▁sentence|>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"clean_up_tokenization_spaces": false,
|
13 |
+
"eos_token": {
|
14 |
+
"__type": "AddedToken",
|
15 |
+
"content": "<|end▁of▁sentence|>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": true,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false
|
20 |
+
},
|
21 |
+
"legacy": true,
|
22 |
+
"model_max_length": 16384,
|
23 |
+
"pad_token": {
|
24 |
+
"__type": "AddedToken",
|
25 |
+
"content": "<|end▁of▁sentence|>",
|
26 |
+
"lstrip": false,
|
27 |
+
"normalized": true,
|
28 |
+
"rstrip": false,
|
29 |
+
"single_word": false
|
30 |
+
},
|
31 |
+
"sp_model_kwargs": {},
|
32 |
+
"unk_token": null,
|
33 |
+
"tokenizer_class": "LlamaTokenizerFast",
|
34 |
+
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set ns = namespace(is_first=false, is_tool=false, is_output_first=true, system_prompt='', is_first_sp=true) %}{%- for message in messages %}{%- if message['role'] == 'system' %}{%- if ns.is_first_sp %}{% set ns.system_prompt = ns.system_prompt + message['content'] %}{% set ns.is_first_sp = false %}{%- else %}{% set ns.system_prompt = ns.system_prompt + '\\n\\n' + message['content'] %}{%- endif %}{%- endif %}{%- endfor %}{{ bos_token }}{{ ns.system_prompt }}{%- for message in messages %}{%- if message['role'] == 'user' %}{%- set ns.is_tool = false -%}{{'<|User|>' + message['content']}}{%- endif %}{%- if message['role'] == 'assistant' and 'tool_calls' in message %}{%- set ns.is_tool = false -%}{%- for tool in message['tool_calls'] %}{%- if not ns.is_first %}{%- if message['content'] is none %}{{'<|Assistant|><|tool▁calls▁begin|><|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{%- else %}{{'<|Assistant|>' + message['content'] + '<|tool▁calls▁begin|><|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{%- endif %}{%- set ns.is_first = true -%}{%- else %}{{'\\n' + '<|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{%- endif %}{%- endfor %}{{'<|tool▁calls▁end|><|end▁of▁sentence|>'}}{%- endif %}{%- if message['role'] == 'assistant' and 'tool_calls' not in message %}{%- if ns.is_tool %}{{'<|tool▁outputs▁end|>' + message['content'] + '<|end▁of▁sentence|>'}}{%- set ns.is_tool = false -%}{%- else %}{% set content = message['content'] %}{% if '</think>' in content %}{% set content = content.split('</think>')[-1] %}{% endif %}{{'<|Assistant|>' + content + '<|end▁of▁sentence|>'}}{%- endif %}{%- endif %}{%- if message['role'] == 'tool' %}{%- set ns.is_tool = true -%}{%- if ns.is_output_first %}{{'<|tool▁outputs▁begin|><|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- set ns.is_output_first = false %}{%- else %}{{'<|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- endif %}{%- endif %}{%- endfor -%}{% if ns.is_tool %}{{'<|tool▁outputs▁end|>'}}{% endif %}{% if add_generation_prompt and not ns.is_tool %}{{'<|Assistant|><think>\\n'}}{% endif %}"
|
35 |
+
}
|
two_digit_addition.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
two_digit_multiplication.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
two_digit_subtraction.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|