Transformers
PyTorch
TensorFlow
JAX
TensorBoard
Safetensors
Dutch
t5
text2text-generation
seq2seq
text-generation-inference
Instructions to use yhavinga/t5-base-dutch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yhavinga/t5-base-dutch with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("yhavinga/t5-base-dutch") model = AutoModelForSeq2SeqLM.from_pretrained("yhavinga/t5-base-dutch") - Notebooks
- Google Colab
- Kaggle
classification in dutch text
#2
by Esmeray - opened
Hi can you use this for classification in dutch text?
Yes if you look at logprobs of the generated tokens. See e.g. https://discuss.huggingface.co/t/announcement-generation-get-probabilities-for-generated-output/30075 and this space (uses google flan though but the model type is the same) https://huggingface.co/spaces/joaogante/color-coded-text-generation
b.t.w. there is also ul2-base-dutch which is probably better than t5-base-dutch