LLM fine-tuning in Cape Town addresses mining, enterprise and multilingual sectors where measured baseline testing shows general-purpose models lack the domain accuracy required for South African professional tasks. Cape Town serves as a hub for mining, financial services, agriculture and technology companies operating across South Africa. Professional documentation involves code-switching between languages: a mining safety report may switch between English technical terminology and other South African languages within a single document. Baseline testing reveals specific gaps where general models fall short on documents with natural code-switching patterns, mining safety terminology and local legal conventions. Fine-tuning adapts the base model's behaviour on measured gaps; cross-task evaluation verifies broad capabilities are preserved. POPIA governs personal information processing. The Mine Health and Safety Act (MHSA) governs occupational health and safety in mining. ZTABS is remote-first by design, with an office in Houston, Texas. Our LLM fine-tuning services cover data preparation, model training, evaluation and deployment across industries. ZTABS builds custom white-label AI products for clients to brand and resell.
When fine-tuning applies and when it does not
Before fine-tuning, test simpler approaches. Prompt engineering adjusts the model's behaviour; measure whether it closes the gap on South African domain text. RAG retrieves versioned MHSA regulations and DMPR directives. Fine-tuning addresses measured behaviour patterns the model has not learned.
| Approach | Tested baseline first | What it changes |
|---|
| Prompt engineering | Yes, on target South African documents | Output framing, not model weights |
| RAG with versioned sources | Yes, against regulatory coverage | Access to current facts, not learned patterns |
| Fine-tuning | After prompt baseline measured | Model behaviour on South African domain patterns |
Cape Town domain sectors and workflow choices
Mining safety documentation. Mining companies produce safety reports, incident investigations, risk assessments and regulatory compliance documentation governed by the MHSA. Section 5 establishes the general duty to maintain a safe working environment. Section 11 requires hazard identification, risk assessment, control measures and periodic review. Section 12 requires a qualified person to perform occupational hygiene measurements where applicable; the model does not make measurements or satisfy this duty. Fine-tuned models process mining safety documentation for qualified safety officers and mining engineers who apply professional judgment. Site connectivity and infrastructure conditions in remote mining operations may affect deployment architecture; site-specific manual fallback is documented.
Financial services. South African banks and financial institutions process documentation under the Financial Sector Conduct Authority and Prudential Authority regulatory frameworks. Fine-tuning addresses credit analysis, regulatory reporting and multilingual customer communication across the institution's customer languages. SARB (South African Reserve Bank) macroprudential requirements apply to systemically important financial institutions in South Africa.
Agricultural processing. Wine, citrus and agriculture enterprises produce documentation combining technical agricultural vocabulary with commercial terms. Export documentation involves multilingual requirements across trading partners.
Technology and BPO. Cape Town's technology sector processes documentation for international clients requiring South African English domain accuracy. BPO operations handle customer service, technical support and administrative processing across multiple business sectors.
Wine and agricultural export. The Western Cape wine industry produces technical documentation for production, quality certification, export compliance and laboratory analysis. Wine technical vocabulary combines English and Afrikaans terms with international winemaking terminology. Export documentation for EU, UK and Asian markets requires compliance with destination country labelling and certification requirements. Agricultural processing extends to citrus, deciduous fruit and grain industries with their own sector-specific regulatory and quality certification documentation.
Scope a Cape Town fine-tuning project
Tell us the industry, document types and language requirements. We run a baseline test and assess whether fine-tuning addresses the measured gaps.
Training data pipelines with documented POPIA basis
Training pipelines document POPIA lawful processing conditions (Section 11 and following) for personal information in training corpora. Where special personal information is involved, applicable conditions under Section 26-33 are established.
POPIA Section 72(1) governs transfer of personal information to a third party in a foreign country by a responsible party in the Republic. The five grounds are: (a) substantially similar protection under law, binding corporate rules or agreement with onward-transfer protections; (b) consent; (c) contract performance or requested precontract measures with the data subject; (d) contract in the interest of the data subject with a third party; or (e) benefit to the data subject where consent is impracticable and the data subject would be likely to consent. Training data pipelines document which route is used.
POPIA Section 71 addresses decisions made solely by automated processing intended to profile that produce legal effects or substantially affect the data subject. The data subject may not be subject to such a decision unless it was taken in connection with the conclusion or execution of a contract AND either the data subject's request has been met or appropriate measures are in place to protect legitimate interests. Alternatively, the decision may be authorised by law or a code of conduct in which appropriate protective measures are prescribed. Where the contract exception relies on appropriate measures under Section 71(2)(a)(ii), Section 71(3) requires representation opportunity and sufficient information about the logic involved. Where fine-tuned model outputs inform such decisions, the deployment documents which basis applies.
Pseudonymisation replaces personal identifiers while preserving domain-specific patterns. Training data licensing documents purpose, access, retention and deletion scope covering input data, adapter weights, evaluation artifacts, caches and logs. Content rights and derivative data provenance documented per engagement. Data separation between clients documented and enforced. Model weights may memorise training content; memorisation probes provide evidence particularly important for mining safety records containing worker identification information.
POPIA cross-border transfer assessment
POPIA Section 72(1) enumerates five grounds for cross-border transfer. Ground (a) requires the recipient to be subject to law, binding corporate rules or a binding agreement providing both substantially similar lawful-processing protections and onward-transfer provisions. Ground (b) is consent. Ground (c) is necessity for contract performance or requested precontract measures. Ground (d) is necessity for a contract in the interest of the data subject between the responsible party and a third party. Ground (e) applies where the transfer benefits the data subject, obtaining consent is not reasonably practicable, and the data subject would be likely to consent.
The cross-border assessment identifies where personal information may leave South Africa during the fine-tuning engagement: training data transfer, model training on infrastructure outside South Africa, inference serving from international infrastructure, and backup/log storage. Each transfer point documents which Section 72(1) ground applies. Where the assessment concludes that compliant cross-border transfer is not feasible for specific data types, South African-hosted infrastructure alternatives are evaluated.
MHSA mining safety framework
The Mine Health and Safety Act creates specific obligations for mining operations. Section 5 establishes the general duty to provide a working environment that is safe and without risk to health as far as reasonably practicable. Section 11 addresses hazard identification, risk assessment, control measures and periodic review of those measures. Section 12 requires that where occupational hygiene measurements are needed to assess exposure to health hazards, a qualified person performs the measurements using an occupational hygiene measurement system that meets the prescribed requirements; the model does not make measurements or satisfy the Section 12 statutory duty.
Fine-tuned models processing mining safety documentation assist with incident classification, risk assessment terminology and regulatory reporting for qualified safety officers and mining engineers who bear professional responsibility for safety decisions. An NLP model that classifies incident types assists the safety team; it does not replace the statutory duties under MHSA. Site-specific manual fallback procedures are documented for each deployment location.
Mining safety documentation often includes descriptions of underground conditions, ventilation measurements, dust exposure readings, noise assessments and geological hazard observations. The domain terminology combines mining engineering vocabulary with occupational health terminology and regulatory reporting formats.
Contracted deployment architecture
Deployment architecture documented per engagement: approved training and serving endpoints, checkpoint storage, evaluation environment, log and backup retention, remote admin and support scope. Open-weight models allow self-hosted deployment on client-approved infrastructure. Which deployment architecture applies depends on data types, POPIA cross-border requirements and client preferences.
Mining operations at remote sites present specific connectivity challenges. Deployment for mining use cases may need to account for site connectivity limitations, intermittent network access and failure handling when connections are unreliable. Edge deployment or local inference options documented where applicable. Site-specific manual fallback procedures are documented for each deployment site so that safety-critical mining operations can continue when the model is unavailable.
How delivery works
ZTABS delivers fine-tuning projects remotely from our Houston, Texas office. Cape Town engagements schedule collaboration sessions during agreed overlapping hours. Delivery phases: baseline testing and data assessment, training data curation with domain expert annotation, base model selection and fine-tuning, evaluation, deployment handover with runbook.
Multilingual evaluation. Evaluation covers the languages and code-switching patterns agreed in scope. South African domain professionals evaluate outputs in their domain. Cross-language consistency testing where applicable. Mining safety documentation frequently code-switches between English technical terminology, Afrikaans engineering vocabulary and other South African languages in incident descriptions, risk assessments and worker communications. The evaluation tests whether the model handles these natural code-switching patterns without losing safety-critical information. Agricultural export documentation combines English commercial language with Afrikaans production terminology; cross-language accuracy is evaluated for the specific language pairs in scope.
Illustrative Example
Mining safety documentation processing for a South African mining company
Engagement prerequisites. A South African mining company's safety division identifies a measured gap: baseline testing shows the prompted general model classifies incident types with a specified accuracy against senior safety officers' consensus, below the division's target. Safety documentation archives are available with documented POPIA basis. Senior safety officers and mining engineers are available for annotation and evaluation. The documentation includes natural code-switching patterns.
Proposed approach. Training data curates annotated safety documents by mine site, incident category and time period. Held-out evaluation keeps site and time period groups together. Memorisation probes and deduplication checks. Comparable baseline comparison. Fine-tuning covers incident classification, risk assessment terminology and MHSA regulatory language. The model processes documents for qualified safety officers and mining engineers who apply professional judgment and bear responsibility for safety decisions. Applicable MHSA Section 11 employer duties and Section 12 occupational hygiene measurement requirements are within the mining company's responsibility.
Release gate. Incident classification and risk assessment accuracy measured against senior safety officer consensus at thresholds the mining company sets before training. If thresholds are not met, the model is not deployed and the engagement documents fallback to the existing approved manual workflow or an independently validated baseline expressly suitable for its limited role.
Residual risks. Novel incident categories or new mining processes may introduce terminology not in the training corpus; qualified safety officers review all classifications. Site connectivity failures may interrupt inference; failure handling and fallback procedures documented per site.
This is a hypothetical scenario for illustration. Actual scope, timeline and cost depend on your requirements.
Cost and schedule drivers
No standalone fine-tuning cost guide is published. The table below describes practical cost and schedule drivers.
| Stage | What it covers | Cost and schedule drivers |
|---|
| Baseline and data assessment | Prompted model testing, mining safety mapping, language assessment | Domains, mine sites, code-switching complexity |
| Corpus and annotation | Licensed data access, safety expert annotation, POPIA documentation | Data volume, annotation depth, multilingual scope |
| Training and evaluation | Base model selection, compute, per-domain evaluation | Model size, multilingual requirements, evaluation iterations |
| Deployment and handover | Approved infrastructure setup, site connectivity assessment, runbook | Contracted architecture, mining site constraints, integration |
| Ongoing support | Monitoring, periodic retraining as authorised, model updates | Retraining frequency, regulatory changes, additional scope |
Budget a Cape Town fine-tuning project
Describe the domain, languages and site infrastructure. We provide a scoped estimate based on the measured baseline gap.
Evaluating a fine-tuning proposal
| Criterion | What to check |
|---|
| 1. Contracted deliverables and task acceptance | Does the proposal specify the fine-tuned model, evaluation report, deployment runbook and onboarding? Are acceptance criteria defined before work begins? |
| 2. Data licensing and POPIA documentation | Does the proposal document training data pipelines with POPIA lawful processing conditions, Section 72 cross-border mechanism, retention and deletion scope? |
| 3. Evaluation and release methodology | Does the proposal describe grouped held-out splitting, memorisation probes, comparable prompted baseline, qualified South African domain expert review, multilingual code-switching evaluation, abstention thresholds and documented rollback? |
| 4. Deployment and monitoring | Does the proposal document approved endpoints, checkpoint storage, evaluation environment, logs/backups, remote admin/support scope, site connectivity considerations, performance monitoring and retraining only when authorised? |
| 5. Transparent costs, dependencies and support | Are data preparation, compute, infrastructure and maintenance costs separately itemised? |
| 6. Provider and customer roles | Provider delivers model training, evaluation, deployment and handover in agreed languages with qualified review. Customer provides licensed training data, domain experts (safety officers, mining engineers) for annotation and evaluation, approves release criteria and owns deployment and safety decisions. Written and translation ownership documented. Support scope and escalation documented. |
Engagement fit
Fine-tuning fits when baseline testing shows a measured gap on South African domain tasks (mining safety classification, multilingual code-switching, regulatory reporting) that prompt engineering does not close, the organisation has licensed training data with documented POPIA basis, and qualified domain professionals (safety officers, mining engineers, compliance staff) are available for annotation and evaluation. Fine-tuning is unlikely to fit when prompted baseline already meets the acceptance threshold, when the task depends on current MHSA directives or DMPR notices better served by RAG, or when the organisation cannot assign reviewers who own safety or compliance decisions. ZTABS is remote-first by design from our Houston, Texas office.
Risks and mitigations
| Risk | Mitigation |
|---|
| Fine-tuned model does not improve on baseline for mining safety tasks | Comparable baseline evaluation; release gate blocks deployment; documented fallback |
| Multilingual code-switching not adequately captured | Code-switching-specific evaluation by South African domain experts |
| Mining site connectivity interrupts inference | Edge deployment or failure handling documented per site |
| POPIA cross-border transfer restricts data flows | Early compliance assessment; documented Section 72 mechanism |
Discuss LLM fine-tuning in Cape Town
Contact us with the South African domain task, documents and evaluation requirements. We run a baseline test and scope a fine-tuning engagement.