<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Chapter 5: Sequence Models, Transformers &amp; LLMs — Civil Engineer&apos;s Guide to AI</title>
  <subtitle type="text">Updates to Chapter 5 sub-lessons.</subtitle>
  <link rel="self" type="application/atom+xml" href="https://civil-learning.bibeksubedi0001.com.np/chapter5/feed.xml"/>
  <link rel="alternate" type="text/html" href="https://civil-learning.bibeksubedi0001.com.np/chapter5/"/>
  <id>tag:civil-learning,2026:chapter5</id>
  <updated>2026-05-25T00:00:00.000Z</updated>
  <author><name>Bibek Subedi</name><uri>https://bibeksubedi0001.com.np</uri></author>
  <generator uri="https://github.com/" version="1.0">tools/build-feeds.js</generator>

  <entry>
    <title>5.1 Sequence Models &amp; RNNs</title>
    <link rel="alternate" type="text/html" href="https://civil-learning.bibeksubedi0001.com.np/chapter5/sub1.html"/>
    <id>tag:civil-learning,2026:chapter5:sub1.html</id>
    <updated>2026-05-25T00:00:00.000Z</updated>
    <summary type="text">Understand sequence models and recurrent neural networks through a civil engineering lens. Explore RNNs, LSTMs, GRUs, and bidirectional architectures for sensor time series and specification text processing.</summary>
    <author><name>Bibek Subedi</name><uri>https://bibeksubedi0001.com.np</uri></author>
  </entry>
  <entry>
    <title>5.2 The Attention Mechanism</title>
    <link rel="alternate" type="text/html" href="https://civil-learning.bibeksubedi0001.com.np/chapter5/sub2.html"/>
    <id>tag:civil-learning,2026:chapter5:sub2.html</id>
    <updated>2026-05-25T00:00:00.000Z</updated>
    <summary type="text">Understand the attention mechanism through a civil engineering lens. Explore Query, Key, Value vectors, scaled dot-product attention, and self-attention with interactive demos and analogies.</summary>
    <author><name>Bibek Subedi</name><uri>https://bibeksubedi0001.com.np</uri></author>
  </entry>
  <entry>
    <title>5.3 Transformer Architecture</title>
    <link rel="alternate" type="text/html" href="https://civil-learning.bibeksubedi0001.com.np/chapter5/sub3.html"/>
    <id>tag:civil-learning,2026:chapter5:sub3.html</id>
    <updated>2026-05-25T00:00:00.000Z</updated>
    <summary type="text">Master the Transformer architecture through a civil engineering lens. Explore multi-head attention, positional encoding, encoder-decoder stacks, residual connections, and layer normalization with interactive demos.</summary>
    <author><name>Bibek Subedi</name><uri>https://bibeksubedi0001.com.np</uri></author>
  </entry>
  <entry>
    <title>5.4 BERT &amp; Encoder Models</title>
    <link rel="alternate" type="text/html" href="https://civil-learning.bibeksubedi0001.com.np/chapter5/sub4.html"/>
    <id>tag:civil-learning,2026:chapter5:sub4.html</id>
    <updated>2026-05-25T00:00:00.000Z</updated>
    <summary type="text">Explore BERT and encoder-only Transformer models through a civil engineering lens. Learn masked language modelling, next sentence prediction, fine-tuning, tokenization, and variants like RoBERTa, ALBERT, and DistilBERT with interactive demos.</summary>
    <author><name>Bibek Subedi</name><uri>https://bibeksubedi0001.com.np</uri></author>
  </entry>
  <entry>
    <title>5.5 GPT &amp; Decoder Models</title>
    <link rel="alternate" type="text/html" href="https://civil-learning.bibeksubedi0001.com.np/chapter5/sub5.html"/>
    <id>tag:civil-learning,2026:chapter5:sub5.html</id>
    <updated>2026-05-25T00:00:00.000Z</updated>
    <summary type="text">Explore GPT and decoder-only Transformer models through a civil engineering lens. Learn autoregressive generation, causal masking, temperature sampling, top-k/top-p, GPT evolution from GPT-1 to GPT-4, in-context learning, and few-shot prompting with interactive demos.</summary>
    <author><name>Bibek Subedi</name><uri>https://bibeksubedi0001.com.np</uri></author>
  </entry>
  <entry>
    <title>5.6 Tokenization &amp; Embeddings</title>
    <link rel="alternate" type="text/html" href="https://civil-learning.bibeksubedi0001.com.np/chapter5/sub6.html"/>
    <id>tag:civil-learning,2026:chapter5:sub6.html</id>
    <updated>2026-05-25T00:00:00.000Z</updated>
    <summary type="text">Learn how text is broken into tokens and mapped to numerical vectors. Explore BPE, WordPiece, SentencePiece, Word2Vec, GloVe, contextual embeddings, positional encodings, and context windows with interactive demos and civil engineering analogies.</summary>
    <author><name>Bibek Subedi</name><uri>https://bibeksubedi0001.com.np</uri></author>
  </entry>
  <entry>
    <title>5.7 Fine-Tuning &amp; Prompt Engineering</title>
    <link rel="alternate" type="text/html" href="https://civil-learning.bibeksubedi0001.com.np/chapter5/sub7.html"/>
    <id>tag:civil-learning,2026:chapter5:sub7.html</id>
    <updated>2026-05-25T00:00:00.000Z</updated>
    <summary type="text">Master the two main strategies for adapting large language models to civil engineering tasks: fine-tuning model weights on domain data and crafting effective prompts. Covers LoRA, QLoRA, adapters, RLHF, zero-shot, few-shot, chain-of-thought prompting, and CE-specific applications.</summary>
    <author><name>Bibek Subedi</name><uri>https://bibeksubedi0001.com.np</uri></author>
  </entry>
  <entry>
    <title>5.8 RAG &amp; Knowledge Retrieval</title>
    <link rel="alternate" type="text/html" href="https://civil-learning.bibeksubedi0001.com.np/chapter5/sub8.html"/>
    <id>tag:civil-learning,2026:chapter5:sub8.html</id>
    <updated>2026-05-25T00:00:00.000Z</updated>
    <summary type="text">Retrieval-Augmented Generation (RAG) for civil engineering: ground LLM outputs in building codes, project specifications, and safety manuals using embedding-based retrieval, vector databases, chunking strategies, and hybrid search.</summary>
    <author><name>Bibek Subedi</name><uri>https://bibeksubedi0001.com.np</uri></author>
  </entry>
  <entry>
    <title>5.9 LLM Limitations &amp; Hallucinations</title>
    <link rel="alternate" type="text/html" href="https://civil-learning.bibeksubedi0001.com.np/chapter5/sub9.html"/>
    <id>tag:civil-learning,2026:chapter5:sub9.html</id>
    <updated>2026-05-25T00:00:00.000Z</updated>
    <summary type="text">Understand the failure modes of large language models: hallucination, confabulation, sycophancy, reasoning errors, bias amplification, adversarial attacks, and civil-engineering-specific risks including fabricated code references and incorrect load calculations.</summary>
    <author><name>Bibek Subedi</name><uri>https://bibeksubedi0001.com.np</uri></author>
  </entry>
  <entry>
    <title>5.10 CE Case Study: AI-Assisted Design Review</title>
    <link rel="alternate" type="text/html" href="https://civil-learning.bibeksubedi0001.com.np/chapter5/sub10.html"/>
    <id>tag:civil-learning,2026:chapter5:sub10.html</id>
    <updated>2026-05-25T00:00:00.000Z</updated>
    <summary type="text">End-to-end case study of using NLP and LLMs for AI-assisted structural design review in civil engineering: document ingestion, information extraction, code compliance checking, automated report generation, and human sign-off.</summary>
    <author><name>Bibek Subedi</name><uri>https://bibeksubedi0001.com.np</uri></author>
  </entry>

</feed>
