Skip to content

Commit

Permalink
Add model card (huggingface#8948)
Browse files Browse the repository at this point in the history
* add model card

* lowercase identifier

Co-authored-by: Julien Chaumond <[email protected]>
  • Loading branch information
sarnikowski and julien-c authored Dec 6, 2020
1 parent ef93a25 commit 72d6c9c
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
language: da
license: cc-by-4.0
---

# Danish ELECTRA small (cased)

An [ELECTRA](https://arxiv.org/abs/2003.10555) model pretrained on a custom Danish corpus (~17.5gb).
For details regarding data sources and training procedure, along with benchmarks on downstream tasks, go to: https://github.com/sarnikowski/danish_transformers/tree/main/electra

## Usage

```python
from transformers import AutoTokenizer, AutoModel

tokenizer = AutoTokenizer.from_pretrained("sarnikowski/electra-small-discriminator-da-256-cased")
model = AutoModel.from_pretrained("sarnikowski/electra-small-discriminator-da-256-cased")
```

## Questions?

If you have any questions feel free to open an issue on the [danish_transformers](https://github.com/sarnikowski/danish_transformers) repository, or send an email to [email protected]

0 comments on commit 72d6c9c

Please sign in to comment.