Instructions to use tjspross/roberta_cws_cityu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tjspross/roberta_cws_cityu with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="tjspross/roberta_cws_cityu")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("tjspross/roberta_cws_cityu") model = AutoModelForTokenClassification.from_pretrained("tjspross/roberta_cws_cityu", device_map="auto") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
| Epoch | Training Loss | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|
| 1 | 0.047800 | 0.056028 | 0.979841 | 0.976287 | 0.978061 | 0.981486 |
| 2 | 0.024200 | 0.058554 | 0.980390 | 0.980205 | 0.980297 | 0.983369 |
| 3 | 0.010800 | 0.067577 | 0.980589 | 0.981201 | 0.980895 | 0.983960 |
- Downloads last month
- 14