Merge remote-tracking branch 'refs/remotes/origin/main'
Browse files
README.md
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- nl
|
4 |
+
thumbnail: >-
|
5 |
+
https://raw.githubusercontent.com/hghcomphys/hghcomphys.github.io/master/assets/urls/GEOBERTJE.png
|
6 |
+
tags:
|
7 |
+
- GEOBERTje
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- # GEOBERTje -->
|
11 |
+
<img src="https://raw.githubusercontent.com/hghcomphys/hghcomphys.github.io/master/assets/urls/GEOBERTJE.png" width="500">
|
12 |
+
A domain-adapted language model trained on geological borehole descriptions in the Dutch language from Flanders region in Belgium.
|
13 |
+
|
14 |
+
|
15 |
+
How to use GEOBERTje as a pipeline:
|
16 |
+
```python
|
17 |
+
from transformers import pipeline
|
18 |
+
|
19 |
+
pipe = pipeline("fill-mask", model="hghcomphys/geobertje-base-dutch-uncased")
|
20 |
+
pipe("grijs fijn zand met enkele [MASK]")
|
21 |
+
```
|
22 |
+
|
23 |
+
|
24 |
+
Load model directly:
|
25 |
+
```python
|
26 |
+
from transformers import AutoTokenizer, AutoModel
|
27 |
+
|
28 |
+
tokenizer = AutoTokenizer.from_pretrained("hghcomphys/geobertje-base-dutch-uncased")
|
29 |
+
model = AutoModel.from_pretrained("hghcomphys/geobertje-base-dutch-uncased")
|
30 |
+
```
|