+
Skip to content
View peremartra's full-sized avatar

Block or report peremartra

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
peremartra/README.md

Pere Martra | Research Engineer & LLM Optimization Expert

Rearchitecting LLMs.

Contact for Collaboration LinkedIn Hugging Face


Key Contributions & Active Research

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


🔧 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 Exploring GLU Expansion Ratios in Llama-3.2 Models: My published methodology for structured pruning.
✍️ 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.

Author & Educator

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.

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


GitHub Stats

Pinned Loading

  1. Large-Language-Model-Notebooks-Course Large-Language-Model-Notebooks-Course Public

    Practical course about Large Language Models.

    Jupyter Notebook 1.7k 424

  2. FinLLMOpt FinLLMOpt Public

    Optimized Large Language Models for Financial Applications – Efficient, Scalable, and Domain-Specific AI for Finance.

    Jupyter Notebook 51 14

  3. optipfair optipfair Public

    Structured pruning and bias visualization for Large Language Models. Tools for LLM optimization and fairness analysis.

    Python 23 6

  4. Rearchitecting-LLMs Rearchitecting-LLMs Public

    Transform generic LLMs into specialized, fast and efficient models.

    Jupyter Notebook 11 1

  5. GANs GANs Public

    GAN tutorials using TensorFlow, Keras & Python

    Jupyter Notebook 9 2

  6. WizardSData WizardSData Public

    Synthetic datasets creation.

    Python 4

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载