Text Classification
Transformers
TensorBoard
Safetensors
Chinese
bert
Generated from Trainer
climate
Instructions to use hw2942/bert-base-chinese-climate-related-prediction-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hw2942/bert-base-chinese-climate-related-prediction-1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hw2942/bert-base-chinese-climate-related-prediction-1")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hw2942/bert-base-chinese-climate-related-prediction-1") model = AutoModelForSequenceClassification.from_pretrained("hw2942/bert-base-chinese-climate-related-prediction-1") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse files
config.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "bert-base-chinese",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
+
"directionality": "bidi",
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.1,
|
| 11 |
+
"hidden_size": 768,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "Climate-unrelated",
|
| 14 |
+
"1": "Climate-related"
|
| 15 |
+
},
|
| 16 |
+
"initializer_range": 0.02,
|
| 17 |
+
"intermediate_size": 3072,
|
| 18 |
+
"label2id": {
|
| 19 |
+
"Climate-related": 1,
|
| 20 |
+
"Climate-unrelated": 0
|
| 21 |
+
},
|
| 22 |
+
"layer_norm_eps": 1e-12,
|
| 23 |
+
"max_position_embeddings": 512,
|
| 24 |
+
"model_type": "bert",
|
| 25 |
+
"num_attention_heads": 12,
|
| 26 |
+
"num_hidden_layers": 12,
|
| 27 |
+
"pad_token_id": 0,
|
| 28 |
+
"pooler_fc_size": 768,
|
| 29 |
+
"pooler_num_attention_heads": 12,
|
| 30 |
+
"pooler_num_fc_layers": 3,
|
| 31 |
+
"pooler_size_per_head": 128,
|
| 32 |
+
"pooler_type": "first_token_transform",
|
| 33 |
+
"position_embedding_type": "absolute",
|
| 34 |
+
"problem_type": "single_label_classification",
|
| 35 |
+
"torch_dtype": "float32",
|
| 36 |
+
"transformers_version": "4.41.2",
|
| 37 |
+
"type_vocab_size": 2,
|
| 38 |
+
"use_cache": true,
|
| 39 |
+
"vocab_size": 21128
|
| 40 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f7874ba662fd1f0c5c190767f460c35077868a9baa2cf8ceffc9f5395725fa2
|
| 3 |
+
size 409100240
|
runs/Jul16_06-45-01_1568e9e06c8d/events.out.tfevents.1721112304.1568e9e06c8d.729.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:163f51076b22eeede790cc9fd65d0fd1c28855cbaeb5a75cf569957f2b6bcef4
|
| 3 |
+
size 5521
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:40a49cfedc961588d048ef15db62ae65db248a8a5026290f7b1cd368f3e24d48
|
| 3 |
+
size 5176
|