Seungjun commited on
Commit
5d5dae1
·
verified ·
1 Parent(s): d8a9491

Delete [리쿠즈]_Prompt_Generation.ipynb

Browse files
[리쿠즈]_Prompt_Generation.ipynb DELETED
@@ -1,98 +0,0 @@
1
- {
2
- "nbformat": 4,
3
- "nbformat_minor": 0,
4
- "metadata": {
5
- "colab": {
6
- "provenance": []
7
- },
8
- "kernelspec": {
9
- "name": "python3",
10
- "display_name": "Python 3"
11
- },
12
- "language_info": {
13
- "name": "python"
14
- }
15
- },
16
- "cells": [
17
- {
18
- "cell_type": "code",
19
- "execution_count": 31,
20
- "metadata": {
21
- "collapsed": true,
22
- "id": "iWfIgUnFg-N6"
23
- },
24
- "outputs": [],
25
- "source": [
26
- "companies = [\"Google\", \"Meta\", \"Amazon\" \"Apple\", \"Tesla\", \"SpaceX\", \"OpenAI\", \"Perplexity\", \"Microsoft\", \"Netflix\", \"Nvidia\"]\n",
27
- "career_stages = [\"Junior\", \"Mid-level\", \"Senior\", \"Staff\"]\n",
28
- "cs_job_types = [\"Software Engineer\", \"Backend Engineer\", \"Frontend Developer\", \"Full Stack Engineer\", \"Machine Learning Researcher\", \"Data Scientist\", \"AI Engineer\", \"DevOps Engineer\", \"Cloud Infrastructure Engineer\", \"Mobile App Developer\", \"Embedded Systems Engineer\", \"Computer Vision Engineer\", \"Natural Language Processing Engineer\", \"Data Engineer\", \"Site Reliability Engineer (SRE)\", \"Database Administrator\", \"Security Engineer\", \"Quality Assurance Engineer (QA)\", \"Systems Engineer\", \"Robotics Engineer\", \"Game Developer\", \"AR/VR Engineer\", \"UI/UX Engineer\", \"Big Data Engineer\", \"Network Engineer\", \"IoT Engineer\", \"Blockchain Engineer\", \"Technical Program Manager\", \"Software Architect\", \"Research Scientist\"]"
29
- ]
30
- },
31
- {
32
- "cell_type": "code",
33
- "source": [
34
- "import uuid\n",
35
- "\n",
36
- "rows = []\n",
37
- "\n",
38
- "for job_type in cs_job_types:\n",
39
- " for career_stage in career_stages:\n",
40
- " for company in companies:\n",
41
- " curr_type_id = str(uuid.uuid4())\n",
42
- " curr_type_str = f\"{job_type}_{career_stage}_{company}\"\n",
43
- " resume_prompt = f\"{company}에서 일하는 {career_stage} {job_type}의 현실적인 이력서를 작성하되, '예시', '[이름]'과 같은 일반적인 표현이나 자리 표시자는 사용하지 마세요.\\n이력서:\"\n",
44
- " jd_prompt = f\"{company}의 {career_stage} {job_type} 채용 공고를 실제처럼 작성하되, 일반적인 문구나 예시는 사용하지 말고, 구체적이고 전문적인 어조를 유지하세요.\\n채용 공고:\"\n",
45
- " rows.append([curr_type_id, curr_type_str, resume_prompt, jd_prompt])"
46
- ],
47
- "metadata": {
48
- "collapsed": true,
49
- "id": "spYKmpjjh19J"
50
- },
51
- "execution_count": 36,
52
- "outputs": []
53
- },
54
- {
55
- "cell_type": "code",
56
- "source": [
57
- "import csv\n",
58
- "with open(\"dataset_creation_prompts.csv\", \"w\", newline=\"\", encoding=\"utf-8-sig\") as csvfile:\n",
59
- " writer = csv.writer(csvfile)\n",
60
- " writer.writerow([\"curr_type_id\", \"curr_type_str\", \"resume_prompts\", \"jd_prompts\"])\n",
61
- " writer.writerows(rows)"
62
- ],
63
- "metadata": {
64
- "id": "YCChD6NQWmhR"
65
- },
66
- "execution_count": 37,
67
- "outputs": []
68
- },
69
- {
70
- "cell_type": "markdown",
71
- "source": [
72
- "number of type: j\n",
73
- "\n",
74
- "number of exp level: e\n",
75
- "\n",
76
- "number of company: c\n",
77
- "\n",
78
- "\n",
79
- "==> total positive combinations: (j X e) X C^2\n",
80
- "\n",
81
- "\n",
82
- "j = 30, e = 4, c = 10\n",
83
- "\n",
84
- "(30 X 4) X 100 = 120 X 100 = 12000 pairs\n",
85
- "\n",
86
- "\n",
87
- "total positive pairs: 12000\n",
88
- "total negative pairs: 12000\n",
89
- "\n",
90
- "\n",
91
- "training with total 24000 pairs\n"
92
- ],
93
- "metadata": {
94
- "id": "hp7C9QIMVQAj"
95
- }
96
- }
97
- ]
98
- }