Text Classification
Transformers
PyTorch
Chinese
bert
SequenceClassification
Lepton
古文
文言文
ancient
classical
letter
书信标题
Instructions to use cbdb/ClassicalChineseLetterClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cbdb/ClassicalChineseLetterClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cbdb/ClassicalChineseLetterClassification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cbdb/ClassicalChineseLetterClassification") model = AutoModelForSequenceClassification.from_pretrained("cbdb/ClassicalChineseLetterClassification") - Notebooks
- Google Colab
- Kaggle
add author information
Browse files
README.md
CHANGED
|
@@ -106,3 +106,4 @@ print(f'The predicted class is: {pred_class}')
|
|
| 106 |
```
|
| 107 |
<font color="IndianRed"> >>> </font> The predicted class is: letter
|
| 108 |
|
|
|
|
|
|
| 106 |
```
|
| 107 |
<font color="IndianRed"> >>> </font> The predicted class is: letter
|
| 108 |
|
| 109 |
+
Author: Queenie Luo (queenieluo[at]g.harvard.edu)
|