Skip to content
View sergimarsol's full-sized avatar

Highlights

  • Pro

Block or report sergimarsol

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.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

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

Report abuse
sergimarsol/README.md

Hi, I'm Sergi Marsol 👋

ML researcher & engineer working on multimodal learning, foundation models, LLMs and biomedical AI. M.S. Computer Science (AI) at UC San Diego · Fulbright Scholar · B.S. Biomedical Engineering & B.Eng. Telecommunications/Electronics Engineering (University of Barcelona).

LinkedIn


🔬 What I work on

Machine Learning Researcher — Swartz Center for Computational Neuroscience, UC San Diego (Jun 2026 – present) Multimodal physiological and behavioral signals: EEG, eye-tracking, motion capture, electrodermal activity, synchronized at sub-millisecond precision.

  • 📄 Designed and led a large-scale multimodal ML dataset & benchmark unifying eight sensor modalities. First-author paper submitted to ICLR 2027; under double-blind review, so code, data and paper will be released after the review period.
  • Fine-tuning transformer-based EEG and time-series foundation models against self-supervised and classical baselines; building late-fusion multimodal models across sensor streams
  • Engineering reproducible pipelines that turn tens of GB of raw sensor recordings into validated, ML-ready datasets, scaled on multi-GPU SLURM clusters
  • Designing benchmark evaluation methodology and representation/transfer-learning baselines

NLP / ML Engineer — Barcelona Supercomputing Center, NLP4BIA (Jul 2023 – Aug 2025) Biomedical & clinical NLP for Spanish-language health data.

  • Author and lead developer of KeyCARE: open-source library for biomedical keyword extraction, categorization and relation extraction (upstream)
  • Fine-tuned Transformers and LLMs (instruction tuning, prompting, RAG) for classification, entity/relation extraction and normalization
  • Contributed to the design of TriAgent Pediatrics: a multi-agent LLM + guideline-rule system for pediatric triage (team design of the agent architecture, triage rules and evaluation)
  • Co-led technical development of TeresIA, a multi-institution Spanish government AI initiative for terminology and information retrieval

⭐ Featured projects

Area Project What it is
🧠 LLMs · RAG Hybrid-RAG-QA RAG QA system: hybrid FAISS + BM25 retrieval, reranking, multi-query, LLM-judge evaluation
🧠 LLMs · Fine-tuning LLM-Schema-Linking-Text-to-SQL LoRA fine-tuning of Qwen2.5 for text-to-SQL schema linking with large experiment grids
🧠 Pretraining NanoGPT-Pretraining-100M GPT-style language model under a 100M-parameter budget, with scaling & optimizer ablations
🧠 Deep learning Transformer-Encoder-Decoder-From-Scratch Transformer encoder & decoder implemented from scratch in PyTorch
🏥 Clinical NLP KeyCARE Python library (PyPI) for biomedical keyword extraction, categorization and relation extraction
🏥 Medical imaging SISCOM-Epilepsy-Localization SPECT/MRI pipeline for localizing the epileptogenic zone
📈 Signals ECG-Signal-Classification From-scratch Pan-Tompkins R-peak detection + HRV features for atrial-fibrillation classification
🧬 Genomics IBD-Relative-Finding-Benchmark Benchmark of IBD detection methods for relative finding on 1000 Genomes
📊 Modeling COVID19-SIR-SEIR-Modeling Epidemic ODE models (SIR/SEIR + quarantine) fitted to real COVID-19 data
📊 Classical ML 1NN-Prototype-Selection Prototype selection strategies for 1-NN classification on MNIST
🤖 Robotics ROS2-EKF-SLAM-Path-Planning ROS 2 robot: EKF-SLAM, roadmap path planning, coverage navigation
🔌 Embedded MSP430-Robot-Control-PCB Bare-metal C firmware + custom KiCad PCB for a robot

🛠️ Toolbox

ML: PyTorch · Hugging Face (Transformers, PEFT) · scikit-learn · sentence-transformers · FAISS · spaCy LLM systems: RAG · LoRA / instruction tuning · multi-agent workflows · LLM-as-judge evaluation Infra: SLURM / multi-GPU · Docker · AWS · Flask · Git Languages: Python · SQL · C/C++ · MATLAB · R · Java

🏆 Recognition

Fulbright Scholarship (2024) · Extraordinary Degree Award, B.S. Biomedical Engineering — Rank 1 (2024) · First Prize, Gemma Rossell Thesis Awards (2024)

Pinned Loading

  1. ECG-Signal-Classification ECG-Signal-Classification Public

    From-scratch ECG pipeline: Pan-Tompkins R-peak detection, HRV features, kNN atrial-fibrillation classification

    MATLAB

  2. Hybrid-RAG-QA Hybrid-RAG-QA Public

    Hybrid BM25 + FAISS RAG over technical docs with line-level citations, LLM-as-judge evaluation and RapidFire AI tuning

    Python

  3. KeyCARE KeyCARE Public

    Python library (PyPI: keycare) for Spanish clinical keyword extraction, term categorization and relation extraction

    Jupyter Notebook

  4. NanoGPT-Pretraining-100M NanoGPT-Pretraining-100M Public

    GPT-style LM pretrained from scratch on FineWeb-Edu under 100M params: RoPE, RMSNorm, QK-norm, SwiGLU, Muon

    Python

  5. LLM-Schema-Linking-Text-to-SQL LLM-Schema-Linking-Text-to-SQL Public

    LoRA fine-tuned Qwen2.5 for text-to-SQL schema linking: lexical schema retrieval + ID-constrained decoding

    Python