Spaces:
Running
Running
|
Download README.md from dekka-cloud/README: direct link, hf CLI and curl.
- Browser
- Download file 2.28 kB
-
https://huggingface.co/spaces/dekka-cloud/README/resolve/main/README.md
- Command line
-
hf download hf://spaces/dekka-cloud/README/README.md
-
curl -L -o README.md https://huggingface.co/spaces/dekka-cloud/README/resolve/main/README.md
2.28 kB
| title: README | |
| emoji: 🛡️ | |
| colorFrom: blue | |
| colorTo: gray | |
| sdk: static | |
| pinned: false | |
| # Dekka | |
| [Dekka](https://dekka.cloud) runs apps, databases, virtual servers and AI models from Accra, so teams building for Ghana can keep their users' data in the country. Here we publish the open models and data behind Veil, our engine for finding and protecting personal information in text. | |
| ## Veil | |
| Veil finds personal information in text and protects it before the text leaves your systems, such as a prompt on its way to an AI model. It was built for Ghanaian text, from Ghana Card PINs and mobile money numbers read aloud in Akan or Ewe to GhanaPost GPS addresses, and its models add the names, addresses given as directions and institutions' own ID numbers that rules alone can't find. They read English, Twi, Fante, Ga, Ewe and Ghanaian Pidgin, and the way people mix them. | |
| | | | | |
| | --- | --- | | |
| | [veil-ner-nano](https://huggingface.co/dekka-cloud/veil-ner-nano) | A 56 MB model that runs on an ordinary CPU or in a browser, quick enough to sit in front of every request | | |
| | [veil-ner-deep](https://huggingface.co/dekka-cloud/veil-ner-deep) | A larger model for when accuracy matters more than speed | | |
| | [veil-synth-gh](https://huggingface.co/datasets/dekka-cloud/veil-synth-gh) | The synthetic Ghanaian dataset both models were trained on, which holds no real person's details | | |
| The engine is open source at [github.com/dekka-cloud/veil](https://github.com/dekka-cloud/veil), and its libraries download a model from here on first use. | |
| ```bash | |
| pip install dekka-veil | |
| npm install dekka-veil | |
| ``` | |
| ```python | |
| from dekka_veil import Veil | |
| veil = Veil(model="veil-ner-nano") | |
| veil.protect("Me din de Akosua Mensah, patient PT-204118.").text | |
| # 'Me din de [PERSON_NAME], patient [PATIENT_ID].' | |
| ``` | |
| The models and the dataset are released under CC BY 4.0, and the engine under the Apache License 2.0. | |
| ## Research | |
| We study what it takes to serve Ghana and its neighbours well, from the personal data people share to the networks their apps travel over, and publish each study with its methods at [dekka.cloud/research](https://dekka.cloud/research). The story behind these models is in [What personal data looks like in Ghana](https://dekka.cloud/research/personal-data-in-ghana). | |