Full Page

Prof. Elena Marchetti

Associate Professor of Computational Linguistics — ETH Zurich

My research sits at the intersection of formal semantics and large language models. I'm interested in what happens when we try to make statistical systems respect logical constraints — and what breaks when we don't. Before ETH, I was at the University of Edinburgh (2016–2022) and did a postdoc at INRIA Paris. I teach two courses per semester and supervise 4–6 PhD students.

Teaching

CS-401 — Natural Language Understanding (Fall), CS-612 — Formal Methods for NLP (Spring), CS-701 — PhD Seminar: Language and Logic

Selected Publications

'Compositional Generalization in Transformer Architectures' — ACL 2025, 'Logical Consistency in Few-Shot Prompting' — EMNLP 2024, 'Grounding Formal Semantics in Neural Representations' — TACL 2023

Office Hours

Thursdays 14:00–16:00, CAB G 52.2 (or by appointment)

Instructor Profile

Academic instructor page with courses, publications, and office hours.

by DesignGenerate 0 stars 1 renders 0 forks

Schema

FieldType
name string
title string
bio text
courses list<string>
publications list<string>
office_hours string
email email
profile_url link

Apply Values

POST JSON to the API endpoint:

POST /api/templates/instructor-profile/apply
Content-Type: application/json

{
  "name": "Prof. Elena Marchetti",
  "title": "Associate Professor of Computational Linguistics — ETH Zurich",
  "bio": "My research sits at the intersection of formal semantics and large language models. I'm interested in what happens when we try to make statistical systems respect logical constraints — and what breaks when we don't.\n\nBefore ETH, I was at the University of Edinburgh (2016–2022) and did a postdoc at INRIA Paris. I teach two courses per semester and supervise 4–6 PhD students.",
  "courses": [
    "CS-401 — Natural Language Understanding (Fall)",
    "CS-612 — Formal Methods for NLP (Spring)",
    "CS-701 — PhD Seminar: Language and Logic"
  ],
  "publications": [
    "'Compositional Generalization in Transformer Architectures' — ACL 2025",
    "'Logical Consistency in Few-Shot Prompting' — EMNLP 2024",
    "'Grounding Formal Semantics in Neural Representations' — TACL 2023"
  ],
  "office_hours": "Thursdays 14:00–16:00, CAB G 52.2 (or by appointment)",
  "email": "[email protected]",
  "profile_url": "https://example.com/marchetti"
}

AI Prompt

Copy this prompt to generate a compatible template with any LLM:

You are an expert frontend designer.
Create a beautiful, modern HTML template for "Instructor Profile" that strictly follows the constraints and schema below.

## Constraints
- Style everything using inline style="" attributes only (no external CSS, no <link>, no <style> tags)
- Do NOT use: <script>, <iframe>, <form>, <input>, <textarea>, <button>, <select>, <object>, <embed>, <details>, <dialog>
- Place data placeholders using this syntax: {{name:string}}, {{title:string}}, {{bio:text}}
- The template must be a single HTML fragment (no <html>, <head>, or <body> tags)
- Use system fonts: font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif (or Georgia, serif for editorial)

## JSON Schema
```json
{
  "name": "string",
  "title": "string",
  "bio": "text",
  "courses": [
    "string"
  ],
  "publications": [
    "string"
  ],
  "office_hours": "string",
  "email": "email",
  "profile_url": "link"
}
```

## Placeholder Syntax
Each data point uses `{{key:type}}` — for example:
- `{{name:string}}` → string
- `{{title:string}}` → string
- `{{bio:text}}` → text
- `{{courses:list<string>}}` → list<string>
- `{{publications:list<string>}}` → list<string>
- `{{office_hours:string}}` → string
- `{{email:email}}` → email
- `{{profile_url:link}}` → link

Output ONLY the HTML code block. No explanation.