julien-c HF staff commited on
Commit
290fcaf
1 Parent(s): af7ee04

Migrate model card from transformers-repo

Browse files

Read announcement at https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755
Original file history: https://github.com/huggingface/transformers/commits/master/model_cards/sarnikowski/electra-small-discriminator-da-256-cased/README.md

Files changed (1) hide show
  1. README.md +22 -0
README.md ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: da
3
+ license: cc-by-4.0
4
+ ---
5
+
6
+ # Danish ELECTRA small (cased)
7
+
8
+ An [ELECTRA](https://arxiv.org/abs/2003.10555) model pretrained on a custom Danish corpus (~17.5gb).
9
+ 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
10
+
11
+ ## Usage
12
+
13
+ ```python
14
+ from transformers import AutoTokenizer, AutoModel
15
+
16
+ tokenizer = AutoTokenizer.from_pretrained("sarnikowski/electra-small-discriminator-da-256-cased")
17
+ model = AutoModel.from_pretrained("sarnikowski/electra-small-discriminator-da-256-cased")
18
+ ```
19
+
20
+ ## Questions?
21
+
22
+ 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 p.sarnikowski@gmail.com