Local LLM LaTeX CV Tailor
An automated Python pipeline designed to customize LaTeX resumes and CVs to specific job descriptions using a lightweight local LLM (e.g., Gemma 3 1B via llama.cpp).
Unlike whole-document prompt approaches that frequently drop section titles or metadata, this tool processes experience entries company-by-company, keeping company names, job titles, and date ranges frozen in Python while rephrasing itemized bullet points to align with target job requirements.
Prerequisites
- Python: 3.8+
- LaTeX Engine: TeX Live / MiKTeX (
pdflatexavailable in systemPATH) - Local Inference Backend:
llama.cpp
Setup & Quick Start
1. Install llama.cpp & Download Model
For detailed building and installation instructions across Linux, macOS, and Windows, refer to the official llama.cpp README.
Once llama.cpp is built, create a models/ folder and download the quantized GGUF model:
cd llama.cpp
mkdir -p models
wget -O models/gemma-3-1b-it.gguf \
[https://huggingface.co/bartowski/gemma-3-1b-it-GGUF/resolve/main/gemma-3-1b-it-Q4_K_M.gguf](https://huggingface.co/bartowski/gemma-3-1b-it-GGUF/resolve/main/gemma-3-1b-it-Q4_K_M.gguf)
2. Launch llama-server
Start the local API server backend using llama.cpp:
./llama-server \
-m models/gemma-3-1b-it.gguf \
--port 8013 \
-c 4096 \
-ngl 99 \
--host 127.0.0.1
3. Clone Repository & Set Up Python Environment
Clone the repository and set up a Python virtual environment:
# Clone the repository
git clone [https://github.com/your-username/your-repo-name.git](https://github.com/your-username/your-repo-name.git)
cd your-repo-name
# Create virtual environment
python3 -m venv venv
Activate Virtual Environment:
Linux / macOS:
Bash
source venv/bin/activate
Windows (Command Prompt):
DOS
venv\Scripts\activate.bat
Windows (PowerShell):
PowerShell
.\venv\Scripts\Activate.ps1
- Install Dependencies & Run Install the Python requirements and launch the pipeline:
Bash
# Install required packages
pip install -r requirements.txt
# Run the generator script
python generate_cv.py
Paste the target job description text, local text file path, or job posting URL, then press [ENTER] followed by [Ctrl+D] (or enter an empty line) to start the tailoring process.
Metadata
Release files for SNT-CV-Generator 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| snt_cv_generator-0.1.0.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| snt_cv_generator-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.2 kB
Release files / snt_cv_generator-0.1.0.tar.gz
| Download URL | snt_cv_generator-0.1.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b096007ec45ed83833ab76587f32611704aca57b502970d812d23bc03ce8eb0b
|
|
BLAKE2b-256 checksum How to use checksums |
2c8ed483338f45647d9b3e36b5782418d7622da4a90f2b12dc09033ae675bfec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.
Transparency logRelease files / snt_cv_generator-0.1.0-py3-none-any.whl
| Download URL | snt_cv_generator-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07fe94838e58cf45d5b0cea8b49834d07f00e6d41a17ed9a6f2349d70fdbb338
|
|
BLAKE2b-256 checksum How to use checksums |
2c36082d5e13fab3fa07f8ffb9bc58d01c6345be81d8f430032815f9d573cda5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.
Transparency log