emillykkejensen commited on
Commit
badbda5
1 Parent(s): 0c453d1

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +23 -0
README.md ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - da
4
+ license: apache-2.0
5
+ ---
6
+ ## daT5-large
7
+ A smaller version of [Google's mt5-large](https://huggingface.co/google/mt5-base) model, where the original model is reduced to only include Danish embeddings.
8
+
9
+ ## How to use
10
+ ```python
11
+ from transformers import AutoTokenizer, AutoModel
12
+ tokenizer = AutoTokenizer.from_pretrained("emillykkejensen/daT5-large")
13
+ model = AutoModel.from_pretrained("emillykkejensen/daT5-large")
14
+ ```
15
+
16
+ ## Further reading
17
+
18
+ [Gist](https://gist.github.com/emillykkejensen/8bf1b323495efc7252dee966e6bc1b5c) showing (in Danish) how the embeddings are extracted (for mt5-base)
19
+
20
+ [Article](https://towardsdatascience.com/how-to-adapt-a-multilingual-t5-model-for-a-single-language-b9f94f3d9c90) explaining how to do it by [David Dale](https://huggingface.co/cointegrated)
21
+
22
+ ## Also check out
23
+ [daT5-base](https://huggingface.co/emillykkejensen/daT5-base)