File size: 2,366 Bytes
e155edd
 
 
 
 
 
a0b47aa
 
7df1cbb
a0b47aa
 
 
 
 
 
 
 
 
 
a958579
a0b47aa
7df1cbb
a0b47aa
fe8b009
 
a0b47aa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e155edd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
language:
- en
base_model:
- meta-llama/Llama-3.1-8B-Instruct
---
# PC Part Picker LLM — Fine-Tuned PC Build Generator

This project is a learning experiment designed to explore the full pipeline of fine-tuning a large language model (LLM) and performing inference on a structured, domain-specific tasks in this case, generating tailored PC builds.

## Overview

This model was created as a learning project to explore:

- Fine-tuning of large language models (LLMs)
- Domain-specific structured data inference
- Dataset preparation and prompt design
- Model evaluation and output testing

I scraped approximately 6,000 real-world PC builds from [PCPartPicker](https://pcpartpicker.com) using my custom Selenium-based Python bot [PC-Part-Picker-Scrapper-to-JSON](https://github.com/FocusedLoop/PC-Part-Picker-Scrapper-to-JSON). These included diverse combinations of CPUs, GPUs, RAM, storage, and other components. The builds served as a dataset for training a transformer-based language model to learn compatibility patterns and generate new builds.

The primary objective was to evaluate whether an LLM could understand component relationships and generate coherent, purpose driven PC builds in response to natural language prompts such as:

- "Build me a $1500 gaming PC for 1440p ultra settings."
- "I need a workstation PC for video editing under $2000."

## Features

- Generates complete PC builds tailored to user requirements
- Supports natural language input for task-specific generation
- Outputs include the following components:
  - CPU
  - GPU
  - Motherboard
  - RAM
  - Storage
  - Power supply
  - Case
  - Cooling (when required)

## Example Usage

**Prompt:**
```
Build a $1000 PC for light gaming and everyday tasks.
```

**Output:**
```
PC Build (Budget - $1000):

- CPU: Intel Core i5-12400F
- GPU: AMD Radeon RX 6600
- Motherboard: ASUS Prime B660M-A D4
- RAM: Corsair Vengeance LPX 16GB (2x8GB) DDR4-3200
- Storage: Kingston NV2 1TB NVMe SSD
- PSU: Cooler Master MWE 550W 80+ Bronze
- Case: NZXT H510 (White)
- Cooling: Stock cooler (included)
```

## Notes

- This model is intended for educational and experimental purposes only
- It does not query live pricing or availability
- Compatibility suggestions are based on static data and may require manual verification
- I do not plan to continue to scrap PC Part Picker for more builds