AI Developers Lounge archive

Sunday, November 1, 2026

7 messages, 1 with links

Member e0be4f 10:46 AM
Hey everyone 😃
I am Ashwin, currently architecting an engine to discover and classify sensitive data patterns (covering frameworks like GDPR, CCPA, plus regional IDs like Aadhaar, PAN, etc.) across various data sources.
​I’m running into a few technical design bottlenecks and would appreciate insights from anyone who has tackled this:
​Local Model Selection for Data Gen: I am on an Apple M4 Mac (24 GB unified memory). I want to run a local model via Ollama/llama.cpp to generate realistic synthetic benchmark data for sensitive entities. Which model (e.g., Llama 3.x 8B, Qwen 2.5 14B/7B, Mistral Nemo) yields the most structurally consistent synthetic PII/records without hallucinating broken formats?
​Scaling Data (from ~10 seed patterns to large scale): Simple few-shot prompting deteriorates fast when scaling volume - the outputs get repetitive or collapse in diversity. What pipelines or generation strategies (e.g., seed-based generative agents, token slot-filling, Faker + LLM hybrid) have you successfully used to scale up synthetic test datasets robustly?
​Pluggable & Extensible Rule Engine: Rather than hardcoding logic, I want the pattern registry to be completely modular where any engineer can plug in custom regex, checksum validators (like Luhn or Verhoeff algorithms), or semantic NER layers on the fly. How are you designing your rule definitions (declarative YAML/JSON specs, pluggable Python classes, or an established framework like Microsoft Presidio)?
Member c908f9 11:44 AM
Member e0be4f
Hey everyone 😃
I am Ashwin, currently architecting an engine to discover and classify sensitive data patterns (covering frameworks like GDPR, CCPA, plus regional IDs like Aadhaar, PAN, etc.) across various data sources.
​I’m running into a few technical design bottlenecks and would appreciate insights from anyone who has tackled this:
​Local Model Selection for Data Gen: I am on an Apple M4 Mac (24 GB unified memory). I want to run a local model via Ollama/llama.cpp to generate realistic synthetic benchmark data for sensitive entities. Which model (e.g., Llama 3.x 8B, Qwen 2.5 14B/7B, Mistral Nemo) yields the most structurally consistent synthetic PII/records without hallucinating broken formats?
​Scaling Data (from ~10 seed patterns to large scale): Simple few-shot prompting deteriorates fast when scaling volume - the outputs get repetitive or collapse in diversity. What pipelines or generation strategies (e.g., seed-based generative agents, token slot-filling, Faker + LLM hybrid) have you successfully used to scale up synthetic test datasets robustly?
​Pluggable & Extensible Rule Engine: Rather than hardcoding logic, I want the pattern registry to be completely modular where any engineer can plug in custom regex, checksum validators (like Luhn or Verhoeff algorithms), or semantic NER layers on the fly. How are you designing your rule definitions (declarative YAML/JSON specs, pluggable Python classes, or an established framework like Microsoft Presidio)?
↑ go to message
Hey Ashwin!
Interesting project, Here's what I'd suggest based on your requirements

Probably start with Qwen 2.5 7B. It offers a good balance between structured output and resource consumption on your M4. You can also try the 14B version if performance allows. Just make sure to add programmatic validation rather than relying entirely on the model for correct formats.

Instead of relying only on few-shot prompting, Go with a Faker + LLM approach. Faker can generate structurally valid data, while the LLM can introduce contextual variations and diversity Adding deduplication and validation checks will also help avoid repetitive or malformed records.

Have a look at Microsoft Presidio. It already has a pretty flexible recognizer architecture that supports custom regex patterns and NLP based detection you can combine declarative YAML/JSON configurations with custom python classes for other specialized rules.

I'd keep data generation, validation, and detection as separate modules
Member 33cb0c 12:14 PM
My team and I are thinking through the rapid changes with tokenization. We’re testing various workflows to see where strong dependency relies on calling multiple LLMs to see what happens with model context and limitation changes. Any other teams seeing this as a major problem to anything you’ve built or building?
Member c6b289 1:40 PM
Member b6cab5
Amazing! @[redacted] . I am also participating. Here is a link to my project- github.com/vibhortayal/arya

Arya : Maintains your Grocery list, learns your usage your purchases, maps your store, and tells you what is out of stock or cheaper nearby. Built with Meta Muse models for the Meta AI Developer Hackathon.

Please star it if you like it!
↑ go to message
Wow you have won a lablab ai hackathon b4 great 🎊🫡