Instructions to use turkish-nlp-suite/bert-2K-minimal with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use turkish-nlp-suite/bert-2K-minimal with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="turkish-nlp-suite/bert-2K-minimal")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("turkish-nlp-suite/bert-2K-minimal") model = AutoModel.from_pretrained("turkish-nlp-suite/bert-2K-minimal", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K