Instructions to use TurkuNLP/web-register-classification-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TurkuNLP/web-register-classification-en with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="TurkuNLP/web-register-classification-en")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("TurkuNLP/web-register-classification-en") model = AutoModelForSequenceClassification.from_pretrained("TurkuNLP/web-register-classification-en", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Invalid JSON:Expected double-quoted property name in JSONat line 7, column 1
| { | |
| "batch_size": 8, | |
| "learning_rate": 3e-05, | |
| "warmup_ratio": 0.05, | |
| "stopped_epoch": 9, | |
| "total_epochs": 30, | |
| } | |