Fiste AI

Released  /  PII detection for Nepali and English

रक्षाRakshya, personal data found in Nepali and English text.

Paste a message, a form or a news story, in Devanagari, in Nepali written in Latin letters, or in English. Rakshya marks the names, places, phone numbers and identity numbers in it, and it does so inside your browser.

Version 0.2, 14 November 2026

41 MB
the whole model, small enough for a web page
96%
of the personal data in Nepali news it had not seen, counted in characters
21
kinds of personal data, from names to number plates

Free for research and other non-commercial use. It misses some personal data, so read the result before you rely on it.

Try it

The model and the rules run in this page. Your text is not sent anywhere.

Loading the model, 41 MB. Your browser keeps it for the next visit.

Found

With it taken out

What it finds

  • PERSON names of people
  • LOCATION places and addresses
  • ORGANIZATION offices, companies, parties
  • DATE days, months and years, in both calendars
  • PHONE mobile and landline numbers
  • EMAIL e-mail addresses
  • URL web addresses
  • USERNAME handles and login names
  • IP_ADDRESS IPv4 and IPv6 addresses
  • CITIZENSHIP_NO citizenship certificate numbers
  • NATIONAL_ID national identity numbers, Aadhaar, SSN
  • TAX_ID PAN and VAT numbers, GSTIN
  • PASSPORT_NO passport numbers
  • LICENSE_NO driving licence numbers
  • VOTER_ID voter card numbers
  • ID_NUMBER employee, student, patient and other numbers of a person
  • BANK_ACCOUNT bank account numbers and IBAN
  • CARD_NUMBER payment card numbers
  • UPI_ID payment addresses
  • VEHICLE_PLATE number plates
  • SECRET passwords, keys, tokens and one-time codes

It reads Devanagari, Nepali written in Latin letters and English, with digits of either kind. Hindi is experimental. What has a fixed form, such as a phone number or a number plate, is found by rules; names and the numbers that need their context are found by the model.

Benchmark

882 real texts in seven test sets that no system had seen: news, web pages, government pages and comments. The number is the F1 of exact spans over every kind of personal data in a set. Higher is better.

SystemWeightsNews (ne)Web (ne)Government (ne)Comments (ne, Latin)News (en)Web (en)News (hi)Mean
Rakshya 0.240M0.8780.8020.7310.5290.8030.7030.8040.750
Rakshya 0.2 server278M0.8700.8150.7400.5200.8130.7400.8000.757
Gopya 0.134M0.8550.6830.6360.2330.7290.5630.7250.632
EU PII anonymisation bards.ai278M0.6470.6010.4090.2530.7870.5300.7270.565
XLM-R base NER HRL Davlan277M0.6600.6170.2670.3020.7720.4980.7120.547
XLM-R large, CoNLL-2003 FacebookAI559M0.6510.5740.2000.2650.7830.4810.7600.531
EU PII anonymisation v3 bards.ai308M0.1440.7040.3280.1620.6050.7090.5280.454
Nym PII multilingual Wismut308M0.4270.4200.3010.2520.6550.4780.5950.447

Of the 25 published systems we ran, none scores higher than Rakshya 0.2 on Nepali news, Nepali web pages, government pages, romanised comments, English news and Hindi news. Ahead of it is EU PII anonymisation v3 on English web pages (0.709 against 0.703).

Exact means that start, end and label are all right. The table has Rakshya, its first release and the 5 published systems with the highest mean. All 25 systems, the scores by kind and the method are in the full benchmark.

Use it

In Python, with no graphics card:

Python
# pip install git+https://github.com/fiste-ai/rakshya
from rakshya import Rakshya

pii = Rakshya()
pii.redact("मेरो नाम सीता थापा हो, फोन ९८४१२३४५६७।")
# मेरो नाम [PERSON_1] हो, फोन [PHONE_1]।

From a shell, rakshya "some text" does the same. In a web page, load rakshya.js as the README shows; this page is the example. A larger model for servers is at fiste-ai/rakshya-server. Weights CC BY-NC 4.0, code MIT. It is a helper and not a guarantee: in Nepali news it misses about 4 in 100 characters of personal data, and more on text that is unlike news.