Instructions to use Connor-tech/bert_cn_finetuning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Connor-tech/bert_cn_finetuning with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Connor-tech/bert_cn_finetuning")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Connor-tech/bert_cn_finetuning") model = AutoModelForSequenceClassification.from_pretrained("Connor-tech/bert_cn_finetuning") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
| 7 |
"directionality": "bidi",
|
| 8 |
"do_sample": false,
|
| 9 |
"eos_token_ids": null,
|
| 10 |
-
"finetuning_task": "
|
| 11 |
"hidden_act": "gelu",
|
| 12 |
"hidden_dropout_prob": 0.1,
|
| 13 |
"hidden_size": 768,
|
|
|
|
| 7 |
"directionality": "bidi",
|
| 8 |
"do_sample": false,
|
| 9 |
"eos_token_ids": null,
|
| 10 |
+
"finetuning_task": "sst-2",
|
| 11 |
"hidden_act": "gelu",
|
| 12 |
"hidden_dropout_prob": 0.1,
|
| 13 |
"hidden_size": 768,
|