jeff-calderon commited on
Commit
7645cc7
·
verified ·
1 Parent(s): e751cd7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +84 -6
README.md CHANGED
@@ -6,17 +6,95 @@ tags:
6
  - unsloth
7
  - qwen2
8
  - trl
9
- license: apache-2.0
 
 
10
  language:
11
  - en
12
  ---
13
 
14
- # Uploaded model
 
 
15
 
16
  - **Developed by:** jeff-calderon
17
- - **License:** apache-2.0
18
- - **Finetuned from model :** unsloth/Qwen2.5-72B-Instruct-bnb-4bit
 
19
 
20
- This qwen2 model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth)
 
21
 
22
- [<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  - unsloth
7
  - qwen2
8
  - trl
9
+ - resume
10
+ - career-coach
11
+ license: other
12
  language:
13
  - en
14
  ---
15
 
16
+ # 🧠 The Imaginator: Magnum-72B-Career-Strategist
17
+
18
+ [<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
19
 
20
  - **Developed by:** jeff-calderon
21
+ - **Base Model:** [unsloth/Qwen2.5-72B-Instruct-bnb-4bit](https://huggingface.co/unsloth/Qwen2.5-72B-Instruct-bnb-4bit)
22
+ - **Finetuned from model:** unsloth/Qwen2.5-72B-Instruct-bnb-4bit
23
+ - **Fine-tuning Framework:** Unsloth / QLoRA
24
 
25
+ ## ⚠️ License & Usage Warning
26
+ **License:** **Tongyi Qianwen License Agreement (Research Only / Non-Commercial)**
27
 
28
+ This model is derived from Qwen-72B. Users must comply with the original Alibaba Cloud Tongyi Qianwen License Agreement. This model is intended for **research and educational purposes only**.
29
+
30
+ ---
31
+
32
+ ## 🎯 The Vision
33
+ We set out to build **"The Imaginator"**—not just a generic resume writer, but a high-level **Career Strategist**.
34
+
35
+ Most AI resume tools simply fix grammar. The Imaginator is designed to perform cognitive reasoning: it takes "lazy notes" or an "outdated resume," analyzes a specific target job (e.g., *Java Developer* pivoting to *DevOps*), and strategically reframes the candidate's experience to bridge skill gaps without fabricating history.
36
+
37
+ ## 🏗️ The "Trinity" Dataset Strategy
38
+ To achieve this level of reasoning, we rejected standard freelance datasets (which often sound like sales pitches). Instead, we engineered a custom "Trinity Dataset" of **7,417 high-quality records** via a local data factory on an RTX 4080:
39
+
40
+ ### 1. Type A: The Stylist (Tone & Impact)
41
+ * **Goal:** Master professional, metric-driven business English.
42
+ * **Input:** Weak, passive bullet points.
43
+ * **Output:** Powerful "STAR" method achievements (Situation, Task, Action, Result).
44
+ * **Source:** Mined 2,000 real resume bullets and utilized Grok to inject industry-standard metrics.
45
+
46
+ ### 2. Type B: The Strategist (Logic & Pivoting)
47
+ * **Goal:** Strategic Reframing.
48
+ * **Input:** A complex JSON payload containing Candidate Context + Target Job + Identified Skill Gaps.
49
+ * **Output:** A rewritten experience section that "bridges the gap" using transferable skills.
50
+ * **Method:** Simulated 1,000 career pivot scenarios (e.g., *Frontend Dev* $\to$ *Full Stack*) using Perplexity/Grok to ensure market accuracy.
51
+ * **Safety:** Rigorously filtered to ensure the model **never** invents fake job titles or promotions.
52
+
53
+ ### 3. Type C: The Creator (Synthesis from Chaos)
54
+ * **Goal:** Structuring unstructured data.
55
+ * **Input:** "Lazy" user brain dumps (lowercase, no formatting, typos).
56
+ * **Output:** Fully formatted, perfectly structured resume sections.
57
+ * **Source:** We used a "Ruiner Script" on 3,000 high-quality resumes to reverse-engineer them into lazy text messages, teaching the model how to reconstruct them.
58
+
59
+ ## 🚀 Capabilities & Performance
60
+
61
+ This model was fine-tuned on an A100 GPU using Unsloth. It excels at:
62
+ * **Format Synthesis:** Turning raw text into polished documents.
63
+ * **Strategic Pivoting:** Rewriting experience to target specific roles.
64
+ * **Hallucination Control:** Trained specifically *not* to invent fake job titles to fill gaps.
65
+
66
+ ### Inference Example
67
+
68
+ **Input (Lazy User):**
69
+ > "i worked at amazon as a warehouse guy... hit rates... trained new people"
70
+
71
+ **Imaginator Output:**
72
+ > **Logistics Associate** | Amazon
73
+ > *Packed products in a timely manner and consistently met or exceeded productivity rates. Trained and mentored new employees on safety protocols and packing procedures, improving team efficiency.*
74
+
75
+ ## 💻 How to Use (Unsloth)
76
+
77
+ ```python
78
+ from unsloth import FastLanguageModel
79
+ import torch
80
+
81
+ max_seq_length = 8192
82
+ dtype = None
83
+ load_in_4bit = True
84
+
85
+ model, tokenizer = FastLanguageModel.from_pretrained(
86
+ model_name = "jeff-calderon/Magnum-72B-Imaginator-LoRA", # Your model name here
87
+ max_seq_length = max_seq_length,
88
+ dtype = dtype,
89
+ load_in_4bit = load_in_4bit,
90
+ )
91
+ FastLanguageModel.for_inference(model)
92
+
93
+ messages = [
94
+ {"role": "system", "content": "You are a professional resume writer. Convert the user's raw notes into a polished Experience section."},
95
+ {"role": "user", "content": "managed a team of 5 sales guys. we hit 1m in revenue."}
96
+ ]
97
+ inputs = tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors="pt").to("cuda")
98
+
99
+ outputs = model.generate(input_ids=inputs, max_new_tokens=512, use_cache=True, temperature=0.3)
100
+ print(tokenizer.batch_decode(outputs[0], skip_special_tokens=True))