Text Classification
Transformers
PyTorch
TensorBoard
bert
Generated from Trainer
text-embeddings-inference
Instructions to use ProceduralTree/chinese_qa_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ProceduralTree/chinese_qa_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ProceduralTree/chinese_qa_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ProceduralTree/chinese_qa_model") model = AutoModelForSequenceClassification.from_pretrained("ProceduralTree/chinese_qa_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
b149f70
1
Parent(s): f2920c7
update model card README.md
Browse files1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859---tags:- generated_from_trainermetrics:- accuracymodel-index:- name: chinese_qa_model results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# chinese_qa_model
This model is a fine-tuned version of [bert-base-chinese](https://huggingface.co/bert-base-chinese) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.5698- Accuracy: 0.7401
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:- learning_rate: 2e-05- train_batch_size: 4- eval_batch_size: 4- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 2
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:-----:|:-----:|:---------------:|:--------:|| 0.5784 | 1.0 | 5633 | 0.5392 | 0.7402 || 0.5548 | 2.0 | 11266 | 0.5698 | 0.7401 |
### Framework versions
- Transformers 4.25.1- Pytorch 1.13.0+cu116- Datasets 2.8.0- Tokenizers 0.13.2README.mdAdded+59