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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cbdb/ClassicalChineseLetterClassification") model = AutoModelForSequenceClassification.from_pretrained("cbdb/ClassicalChineseLetterClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.7ddc9ce
-
update title
dd8d2ba -
update title and font color
1ef369e -
update authors and license
b6a6172
-
Update README.md
Edited ' Output: '14e7c81
-
add author information
715b737 -
fix text color error
045b84c -
change text color
9faf4eb -
update README text color
4206a1c -
Update README colab notebook
806db6e -
Update README indentation and space
090681b -
update README section 3
a9e095b -
Update README file
57767ac
-
Updated license
c2ab321 -
Edited README.md
d110207 -
Edited README.md
6edcc8c -
Upload tokenizer
81de5d9 -
Upload BertForSequenceClassification
34c1e33 -
Changed title errors
f7d9583 -
Update model description in README.md
Inserted a general introduction of the model and the model's intended use.ae60e00 -
Upload tokenizer
0f4040d -
Upload BertForSequenceClassification
e9e7afa -
initial commit
17cc791