Instructions to use ERCDiDip/langdetect with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ERCDiDip/langdetect with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ERCDiDip/langdetect")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ERCDiDip/langdetect") model = AutoModelForSequenceClassification.from_pretrained("ERCDiDip/langdetect", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -44,7 +44,7 @@ mixed_precision_training: Native AMP
|
|
| 44 |
|
| 45 |
## Training results
|
| 46 |
|
| 47 |
-
| Training Loss |
|
| 48 |
| ------------- | ------------- | -------- |
|
| 49 |
| 0.000300 | 0.048985 | 0.991585 |
|
| 50 |
| 0.000100 | 0.033340 | 0.994663 |
|
|
|
|
| 44 |
|
| 45 |
## Training results
|
| 46 |
|
| 47 |
+
| Training Loss | Validation Loss | F1
|
| 48 |
| ------------- | ------------- | -------- |
|
| 49 |
| 0.000300 | 0.048985 | 0.991585 |
|
| 50 |
| 0.000100 | 0.033340 | 0.994663 |
|