Instructions to use apugachev/bert-langdetect with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use apugachev/bert-langdetect with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="apugachev/bert-langdetect")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("apugachev/bert-langdetect") model = AutoModelForSequenceClassification.from_pretrained("apugachev/bert-langdetect") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
af41f85 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:5bd19baacaad6fdf882682c9df4195008f47957a827a27939df6800e34cf1fee
size 357790807
|