Instructions to use ERCDiDip/40_langdetect_v01 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ERCDiDip/40_langdetect_v01 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ERCDiDip/40_langdetect_v01")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ERCDiDip/40_langdetect_v01") model = AutoModelForSequenceClassification.from_pretrained("ERCDiDip/40_langdetect_v01", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
# Xlm-roberta (based) language-detection model (modern and medieval)
|
| 6 |
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
---
|
| 4 |
+
language: ar # <-- my language
|
| 5 |
+
widget:
|
| 6 |
+
- text: "my example goes here in the requested language"
|
| 7 |
+
---
|
| 8 |
|
| 9 |
# Xlm-roberta (based) language-detection model (modern and medieval)
|
| 10 |
|