Transformers
PyTorch
TensorBoard
Safetensors
German
electra
pretraining
german
teams
culturax
gerturax-2
Instructions to use gerturax/gerturax-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gerturax/gerturax-2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("gerturax/gerturax-2") model = AutoModelForPreTraining.from_pretrained("gerturax/gerturax-2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from gerturax/gerturax-2: direct link, hf CLI and curl.
- Browser
- Download file 49 Bytes
-
https://huggingface.co/gerturax/gerturax-2/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://gerturax/gerturax-2/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/gerturax/gerturax-2/resolve/main/tokenizer_config.json
49 Bytes
| {"do_lower_case": false, "model_max_length": 512} |