Instructions to use frett/chinese_extract_bert-x with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use frett/chinese_extract_bert-x with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="frett/chinese_extract_bert-x")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("frett/chinese_extract_bert-x") model = AutoModelForQuestionAnswering.from_pretrained("frett/chinese_extract_bert-x", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model save
Browse files1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253---library_name: transformerslicense: apache-2.0base_model: hfl/chinese-bert-wwm-exttags:- generated_from_trainermodel-index:- name: chinese_extract_bert-x 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_extract_bert-x
This model is a fine-tuned version of [hfl/chinese-bert-wwm-ext](https://huggingface.co/hfl/chinese-bert-wwm-ext) on an unknown dataset.
## 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: 3e-05- train_batch_size: 64- eval_batch_size: 64- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 10.0
### Training results
### Framework versions
- Transformers 4.45.0.dev0- Pytorch 2.4.1+cu121- Datasets 3.0.0- Tokenizers 0.19.1README.mdAdded+53