Instructions to use frett/chinese_extract_bert_scratch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use frett/chinese_extract_bert_scratch 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_scratch")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("frett/chinese_extract_bert_scratch") model = AutoModelForQuestionAnswering.from_pretrained("frett/chinese_extract_bert_scratch", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 2500
Browse files123version https://git-lfs.github.com/spec/v1oid sha256:977a5ec7aa3acbf8f93a3e52a6fc3ef81f65ab8f922372acc57e8387b3876040size 406737680123version https://git-lfs.github.com/spec/v1oid sha256:a00db2e83d7d538fe1ee6ff3cb3eea31db2650bc329bc95ecd72b90d3a31bdd7size 406737680
model.safetensors+1-1