laurabernardy commited on
Commit
2ac193c
1 Parent(s): f5aece1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -1
README.md CHANGED
@@ -31,4 +31,24 @@ model-index:
31
  metrics:
32
  - type: "perplexity" # Required. Example: wer. Use metric id from https://hf.co/metrics
33
  value: "45.89" # Required. Example: 20.90
34
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  metrics:
32
  - type: "perplexity" # Required. Example: wer. Use metric id from https://hf.co/metrics
33
  value: "45.89" # Required. Example: 20.90
34
+ ---
35
+ ## LuxGPT-2 based GER
36
+
37
+ GPT-2 model for Text Generation in luxembourgish language, trained on 711 MB of text data, consisting of RTL.lu news articles, comments, parlament speeches, the luxembourgish Wikipedia, Newscrawl, Webcrawl and subtitles. Created via transfer learning with an German base model, feature space mapping from LB on Base feature space and gradual layer freezing.
38
+ The training took place on a 32 GB Nvidia Tesla V100
39
+ - with One Cycle policy for the learning rate
40
+ - with the help of fastai's LR finder
41
+ - for 53.4 hours
42
+ - for 20 epochs and 7 cycles
43
+ - using the fastai library
44
+
45
+
46
+ ## Usage
47
+ ```python
48
+ from transformers import AutoTokenizer, AutoModelForCausalLM
49
+ tokenizer = AutoTokenizer.from_pretrained("laurabernardy/LuxGPT2basedGER")
50
+
51
+ model = AutoModelForCausalLM.from_pretrained("laurabernardy/LuxGPT2basedGER")
52
+ ```
53
+ ## Limitations and Biases
54
+ See the [GPT2 model card](https://huggingface.co/gpt2) for considerations on limitations and bias. See the [GPT2 documentation](https://huggingface.co/transformers/model_doc/gpt2.html) for details on GPT2.