Instructions to use magicslabnu/GERM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use magicslabnu/GERM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="magicslabnu/GERM", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("magicslabnu/GERM", trust_remote_code=True) model = AutoModelForMaskedLM.from_pretrained("magicslabnu/GERM", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
Upload config
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "/
|
| 3 |
"alibi_starting_size": 512,
|
| 4 |
"architectures": [
|
| 5 |
-
"
|
| 6 |
],
|
| 7 |
"attention_probs_dropout_prob": 0.0,
|
| 8 |
"auto_map": {
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "magicslabnu/GERM",
|
| 3 |
"alibi_starting_size": 512,
|
| 4 |
"architectures": [
|
| 5 |
+
"BertForMaskedLM"
|
| 6 |
],
|
| 7 |
"attention_probs_dropout_prob": 0.0,
|
| 8 |
"auto_map": {
|