contextetech / anonymisation-gdpr-en
v120 examples to anonymise UK texts (UK GDPR): NHS numbers, +44 phones, GB IBANs, number plates, postcodes. Fictional people and numbers. Includes cases with no personal data.
Preview
| # | Input | Output |
|---|---|---|
| 1 | Hi, my name is Oliver Bennett and my number is 07700 900 457. | Hi, my name is [FIRST_NAME_1] [NAME_1] and my number is [PHONE_1]. |
| 2 | Please send the invoice to claire.walsh@example-mail.co.uk before Friday. | Please send the invoice to [EMAIL_1] before Friday. |
| 3 | The transfer must go to GB29 NWBK 6016 1331 9268 19. | The transfer must go to [IBAN_1]. |
| 4 | Deliver to 8 Linden Close, Leeds LS6 2QT, attention Mr Garner. | Deliver to [ADDRESS_1], attention Mr [NAME_1]. |
| 5 | Patient: Harry Lambert, born 03/11/1985, NHS number 943 476 5919. | Patient: [FIRST_NAME_1] [NAME_1], born [BIRTH_DATE_1], NHS number [HEALTH_ID_1]. |
| 6 | Meeting with Emma Price and Noah Russell tomorrow at 10am. | Meeting with [FIRST_NAME_1] [NAME_1] and [FIRST_NAME_2] [NAME_2] tomorrow at 10am. |
| 7 | Call Mrs Chandler back on 0113 496 0870, she is waiting for a quote. | Call Mrs [NAME_1] back on [PHONE_1], she is waiting for a quote. |
| 8 | Order 45872 left our Manchester warehouse this morning. | Order 45872 left our Manchester warehouse this morning. |
| 9 | Technical contact: tom.gray@example-company.com / 07700 900 431. | Technical contact: [EMAIL_1] / [PHONE_1]. |
| 10 | Billing address: Julia Black, 27 Queen's Road, Bristol BS8 1QU. | Billing address: [FIRST_NAME_1] [NAME_1], [ADDRESS_1]. |
| 11 | The car with registration AB12 CDE belongs to Mark Robinson. | The car with registration [PLATE_1] belongs to [FIRST_NAME_1] [NAME_1]. |
| 12 | Thanks to the whole team at the Science Museum for the welcome in London. | Thanks to the whole team at the Science Museum for the welcome in London. |
| 13 | My password no longer works, my login is sarah.dunn@example-mail.com. | My password no longer works, my login is [EMAIL_1]. |
| 14 | Born on 21 July 1978, Oliver Ford lives in Glasgow. | Born on [BIRTH_DATE_1], [FIRST_NAME_1] [NAME_1] lives in Glasgow. |
| 15 | Refund requested by Isla Mercer, IBAN GB33 BUKB 2020 1555 5555 55. | Refund requested by [FIRST_NAME_1] [NAME_1], IBAN [IBAN_1]. |
| 16 | The product ships within 48 hours anywhere in mainland UK. | The product ships within 48 hours anywhere in mainland UK. |
| 17 | Could you write to paul.henry@example-mail.com and anne.henry@example-mail.com? | Could you write to [EMAIL_1] and [EMAIL_2]? |
| 18 | Signed: Kevin Mason, 5 Victoria Street, York YO1 6DR, tel. 07700 900 050. | Signed: [FIRST_NAME_1] [NAME_1], [ADDRESS_1], tel. [PHONE_1]. |
| 19 | Our supplier Duval Engineering delivered 12 parts on Monday. | Our supplier Duval Engineering delivered 12 parts on Monday. |
| 20 | Candidate: Leah Gibson, 32, reachable on +44 7700 900 988. | Candidate: [FIRST_NAME_1] [NAME_1], 32, reachable on [PHONE_1]. |
Estimated cost
- Tokens per training epoch
- ≈ 2,012
- For 3 epochs
- ≈ 6,036
Fine-tuning cost depends on hardware (GPU) and provider: it is not estimated here.
Sending the whole dataset through a model once (evaluation, generation, review)
| Model | Cost per pass |
|---|---|
| Mistral Large · Mistral AI | €0.00089 |
| DeepSeek Flash · DeepSeek | €0.00053 |
| DeepSeek V4 Pro · DeepSeek | €0.00234 |
| GPT-6 Luna · OpenAI | €0.00018 |
| GPT-6 Sol · OpenAI | €0.00354 |
| Claude Sonnet 5.5 · Anthropic | €0.00354 |
| Claude Opus 5.5 · Anthropic | €0.00709 |
| Self-hosted open-source model (Ollama, vLLM) | €0 in API fees (server cost only) |
Input cost only, excluding the model's answer. Providers' public standard prices (Mistral AI, DeepSeek, OpenAI, Anthropic) converted from USD to euros at the ECB rate of September 29, 2026. Estimate: 1 token ≈ 3.6 characters.
Common to all 3 regions
Content origin not given.
Commercial use allowed · credit the author · changes allowed.
Text or data only: no access to files, network or commands.
Hosted in France (Scaleway, Paris). No transfer outside the EU.
European Union · 3/6
The author has not said whether the resource contains personal data.
Data origin needed to produce the training summary.
United States · 3/6
The author has not said whether the resource contains personal data.
Data origin needed to produce the training summary.
China · 3/6
The author has not said whether the resource contains personal data.
Data origin needed to produce the training summary.
Indicative summary as of 30/09/2026, not a legal certification. Method and sources →
Pin a version in your code
import contexte ds = contexte.load("contextetech/anonymisation-gdpr-en", version=1) print(len(ds), ds[0])
$ contexte get 14ll0x8#v1 Statistics
Likes : 0 · Comments : 0
Click a counter to show or hide it, hover the chart for details. One view per visitor per day, bots excluded; counting started on 30 September 2026.
- Identifier
- contextetech--anonymisation-gdpr-en
- Type
- Datasets · Chat (messages)
- File
- anonymisation-gdpr-en.jsonl
- Format
- JSON Lines (application/jsonl)
- Size
- 7,284 bytes (7.1 KB)
- Encoding
- UTF-8
- Rows
- 20
- Estimated tokens
- ≈ 2,012
- Language
- English
- License
- CC BY 4.0
- Commercial use
- Allowed
- Personal data
- Not specified
- Published on
- September 28, 2026 at 5:31 PM
- Updated on
- September 28, 2026 at 5:31 PM
- Storage
- in database
- Uses
- 0
- Likes
- 0
Python contexte
$ pip install contexte import contexte ds = contexte.load("contextetech/anonymisation-gdpr-en") print(len(ds), ds[0])
$ contexte get 14ll0x8 anonymisation-gdpr-en.jsonl
{"messages": [{"role": "system", "content": "Replace each piece of personal data with a numbered tag in square brackets ([NAME_1], [EMAIL_1]…). Change nothing else."}, {"role": "user", "content": "Hi, my name is Oliver Bennett and my number is 07700 900 457."}, {"role": "assistant", "content": "Hi, my name is [FIRST_NAME_1] [NAME_1] and my number is [PHONE_1]."}]}
{"messages": [{"role": "system", "content": "Replace each piece of personal data with a numbered tag in square brackets ([NAME_1], [EMAIL_1]…). Change nothing else."}, {"role": "user", "content": "Please send the invoice to claire.walsh@example-mail.co.uk before Friday."}, {"role": "assistant", "content": "Please send the invoice to [EMAIL_1] before Friday."}]}
{"messages": [{"role": "system", "content": "Replace each piece of personal data with a numbered tag in square brackets ([NAME_1], [EMAIL_1]…). Change nothing else."}, {"role": "user", "content": "The transfer must go to GB29 NWBK 6016 1331 9268 19."}, {"role": "assistant", "content": "The transfer must go to [IBAN_1]."}]}
{"messages": [{"role": "system", "content": "Replace each piece of personal data with a numbered tag in square brackets ([NAME_1], [EMAIL_1]…). Change nothing else."}, {"role": "user", "content": "Deliver to 8 Linden Close, Leeds LS6 2QT, attention Mr Garner."}, {"role": "assistant", "content": "Deliver to [ADDRESS_1], attention Mr [NAME_1]."}]}
{"messages": [{"role": "system", "content": "Replace each piece of personal data with a numbered tag in square brackets ([NAME_1], [EMAIL_1]…). Change nothing else."}, {"role": "user", "content": "Patient: Harry Lambert, born 03/11/1985, NHS number 943 476 5919."}, {"role": "assistant", "content": "Patient: [FIRST_NAME_1] [NAME_1], born [BIRTH_DATE_1], NHS number [HEALTH_ID_1]."}]}
{"messages": [{"role": "system", "content": "Replace each piece of personal data with a numbered tag in square brackets ([NAME_1], [EMAIL_1]…). Change nothing else."}, {"role": "user", "content": "Meeting with Emma Price and Noah Russell tomorrow at 10am."}, {"role": "assistant", "content": "Meeting with [FIRST_NAME_1] [NAME_1] and [FIRST_NAME_2] [NAME_2] tomorrow at 10am."}]}
{"messages": [{"role": "system", "content": "Replace each piece of personal data with a numbered tag in square brackets ([NAME_1], [EMAIL_1]…). Change nothing else."}, {"role": "user", "content": "Call Mrs Chandler back on 0113 496 0870, she is waiting for a quote."}, {"role": "assistant", "content": "Call Mrs [NAME_1] back on [PHONE_1], she is waiting for a quote."}]}
{"messages": [{"role": "system", "content": "Replace each piece of personal data with a numbered tag in square brackets ([NAME_1], [EMAIL_1]…). Change nothing else."}, {"role": "user", "content": "Order 45872 left our Manchester warehouse this morning."}, {"role": "assistant", "content": "Order 45872 left our Manchester warehouse this morning."}]}
{"messages": [{"role": "system", "content": "Replace each piece of personal data with a numbered tag in square brackets ([NAME_1], [EMAIL_1]…). Change nothing else."}, {"role": "user", "content": "Technical contact: tom.gray@example-company.com / 07700 900 431."}, {"role": "assistant", "content": "Technical contact: [EMAIL_1] / [PHONE_1]."}]}
{"messages": [{"role": "system", "content": "Replace each piece of personal data with a numbered tag in square brackets ([NAME_1], [EMAIL_1]…). Change nothing else."}, {"role": "user", "content": "Billing address: Julia Black, 27 Queen's Road, Bristol BS8 1QU."}, {"role": "assistant", "content": "Billing address: [FIRST_NAME_1] [NAME_1], [ADDRESS_1]."}]}
{"messages": [{"role": "system", "content": "Replace each piece of personal data with a numbered tag in square brackets ([NAME_1], [EMAIL_1]…). Change nothing else."}, {"role": "user", "content": "The car with registration AB12 CDE belongs to Mark Robinson."}, {"role": "assistant", "content": "The car with registration [PLATE_1] belongs to [FIRST_NAME_1] [NAME_1]."}]}
{"messages": [{"role": "system", "content": "Replace each piece of personal data with a numbered tag in square brackets ([NAME_1], [EMAIL_1]…). Change nothing else."}, {"role": "user", "content": "Thanks to the whole team at the Science Museum for the welcome in London."}, {"role": "assistant", "content": "Thanks to the whole team at the Science Museum for the welcome in London."}]}
{"messages": [{"role": "system", "content": "Replace each piece of personal data with a numbered tag in square brackets ([NAME_1], [EMAIL_1]…). Change nothing else."}, {"role": "user", "content": "My password no longer works, my login is sarah.dunn@example-mail.com."}, {"role": "assistant", "content": "My password no longer works, my login is [EMAIL_1]."}]}
{"messages": [{"role": "system", "content": "Replace each piece of personal data with a numbered tag in square brackets ([NAME_1], [EMAIL_1]…). Change nothing else."}, {"role": "user", "content": "Born on 21 July 1978, Oliver Ford lives in Glasgow."}, {"role": "assistant", "content": "Born on [BIRTH_DATE_1], [FIRST_NAME_1] [NAME_1] lives in Glasgow."}]}
{"messages": [{"role": "system", "content": "Replace each piece of personal data with a numbered tag in square brackets ([NAME_1], [EMAIL_1]…). Change nothing else."}, {"role": "user", "content": "Refund requested by Isla Mercer, IBAN GB33 BUKB 2020 1555 5555 55."}, {"role": "assistant", "content": "Refund requested by [FIRST_NAME_1] [NAME_1], IBAN [IBAN_1]."}]}
{"messages": [{"role": "system", "content": "Replace each piece of personal data with a numbered tag in square brackets ([NAME_1], [EMAIL_1]…). Change nothing else."}, {"role": "user", "content": "The product ships within 48 hours anywhere in mainland UK."}, {"role": "assistant", "content": "The product ships within 48 hours anywhere in mainland UK."}]}
{"messages": [{"role": "system", "content": "Replace each piece of personal data with a numbered tag in square brackets ([NAME_1], [EMAIL_1]…). Change nothing else."}, {"role": "user", "content": "Could you write to paul.henry@example-mail.com and anne.henry@example-mail.com?"}, {"role": "assistant", "content": "Could you write to [EMAIL_1] and [EMAIL_2]?"}]}
{"messages": [{"role": "system", "content": "Replace each piece of personal data with a numbered tag in square brackets ([NAME_1], [EMAIL_1]…). Change nothing else."}, {"role": "user", "content": "Signed: Kevin Mason, 5 Victoria Street, York YO1 6DR, tel. 07700 900 050."}, {"role": "assistant", "content": "Signed: [FIRST_NAME_1] [NAME_1], [ADDRESS_1], tel. [PHONE_1]."}]}
{"messages": [{"role": "system", "content": "Replace each piece of personal data with a numbered tag in square brackets ([NAME_1], [EMAIL_1]…). Change nothing else."}, {"role": "user", "content": "Our supplier Duval Engineering delivered 12 parts on Monday."}, {"role": "assistant", "content": "Our supplier Duval Engineering delivered 12 parts on Monday."}]}
{"messages": [{"role": "system", "content": "Replace each piece of personal data with a numbered tag in square brackets ([NAME_1], [EMAIL_1]…). Change nothing else."}, {"role": "user", "content": "Candidate: Leah Gibson, 32, reachable on +44 7700 900 988."}, {"role": "assistant", "content": "Candidate: [FIRST_NAME_1] [NAME_1], 32, reachable on [PHONE_1]."}]}
Community
No comments yet. Share your feedback, it will help the next person.