Instructions to use TurkuNLP/web-register-classification-multilingual with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TurkuNLP/web-register-classification-multilingual with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="TurkuNLP/web-register-classification-multilingual")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("TurkuNLP/web-register-classification-multilingual") model = AutoModelForSequenceClassification.from_pretrained("TurkuNLP/web-register-classification-multilingual", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -216,9 +216,9 @@ The model was trained using the Multilingual CORE Corpora, which will be publish
|
|
| 216 |
- **Seed:** 42
|
| 217 |
- **Max Size:** 512 tokens
|
| 218 |
|
| 219 |
-
####
|
| 220 |
|
| 221 |
-
Average inference time (across 1000 iterations), using a single NVIDIA A100 GPU and a batch size of one is **17 ms** for a single example.
|
| 222 |
|
| 223 |
## Evaluation
|
| 224 |
|
|
|
|
| 216 |
- **Seed:** 42
|
| 217 |
- **Max Size:** 512 tokens
|
| 218 |
|
| 219 |
+
#### Inference time
|
| 220 |
|
| 221 |
+
Average inference time (across 1000 iterations), using a single NVIDIA A100 GPU and a batch size of one is **17 ms** for a single example. Wirh bigger batches, inference can be considerably faster.
|
| 222 |
|
| 223 |
## Evaluation
|
| 224 |
|