Instructions to use LocalDoc/language_detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LocalDoc/language_detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="LocalDoc/language_detection")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("LocalDoc/language_detection") model = AutoModelForSequenceClassification.from_pretrained("LocalDoc/language_detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from LocalDoc/language_detection: direct link, hf CLI and curl.
- Browser
- Download file 17.1 MB
-
https://huggingface.co/LocalDoc/language_detection/resolve/84e392f701da0f1be8891a5fd671ed2ec43c1323/tokenizer.json
- Command line
-
hf download hf://LocalDoc/language_detection@84e392f701da0f1be8891a5fd671ed2ec43c1323/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/LocalDoc/language_detection/resolve/84e392f701da0f1be8891a5fd671ed2ec43c1323/tokenizer.json
17.1 MB
- Xet hash:
- e1ec70b9eae6e35493692c2536700eed2095695150aabb2b8b184194cf5bff2f
- Size of remote file:
- 17.1 MB
- SHA256:
- 3c088c06cf975b7097e469bd69630cdb0d675c6db1ce3af1042b6e19c6d01f22
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.