Instructions to use sadickam/sdgBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sadickam/sdgBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="sadickam/sdgBERT")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("sadickam/sdgBERT") model = AutoModelForSequenceClassification.from_pretrained("sadickam/sdgBERT") - Notebooks
- Google Colab
- Kaggle
Disable or increase the model_max_length
#5
by Danieluoa - opened
Hi :)
Can the max length (text entries) be moved for the model?
I have unsuccessfully tried using the config JSON file, but it may come directly from the pre-trained model.
Thanks,
Daniel.
Hello Daniel,
Yes, it comes directly from the pre-trained model and therefore cannot be moved.
Thanks for getting in touch.
Regards
Sadick
Danieluoa changed discussion status to closed