Skip to content

peremartra/peremartra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 

Repository files navigation

Pere Martra | Research Engineer & LLM Optimization Expert

Rearchitecting LLMs.

Contact for Collaboration LinkedIn Hugging Face


Active work

My work is focused on two main pillars: making LLMs more efficient and making them more fair.


Author

Book Cover for Large Language Models Projects Authoring"Rearchitecting LLMs" (Manning, 2026) Understand and rearchitect internal LLMs.

Join the community Rearchitecting LLMs on GitHub and become an LLM architect.
Book Cover for Large Language Models Projects I wrote "Large Language Models Projects" (Apress, 2024) to provide practical, hands-on guidance for AI practitioners.

The accompanying LLM Course on GitHub is a community resource with over 1,700 stars.

🔧 LLM Efficiency & Optimization

Type Description
📖 Engineering Rearchitecting LLMs: Code on advanced structured pruning and optimization.
🔬 Research Adaptive Attention Bypass (AAB): Prototype of a dynamic inference system that adjusts attention layers based on input complexity.
📄 Preprint Fragile Knowledge, Robust Instruction-Following: The Width Pruning Dichotomy in Llama-3.2: My published methodology for structured pruning. Repository
✍️ Article How to Prune LLaMA 3.2 and Similar LLMs: A practical guide on Towards Data Science.

⚖️ Fairness-Aware AI

Type Description
🔥 Flagship Library OptiPfair: My open-source library for fairness-aware model pruning and bias visualization. Try the Interactive Demo on HF Spaces!
🔬 Research Fairness Pruning Notebook: Implementation of a methodology for targeted neuron pruning to mitigate demographic bias.
✍️ Article Fairness Pruning: Precision Surgery to Reduce Bias in LLMs: My core methodology published on Towards Data Science.

Areas of Collaboration

I am currently focused on my research and writing. I am open to select, high-impact collaborations where I can provide strategic value through Technical Advisory or Applied Research Partnerships.

Connect with Me


Stats

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors