vuiseng9/bert-base-squadv1
By vuiseng9 · ↓ 5 · ♥ 0 · Updated 2022-01-19
What's in this repo
This page lists the files in vuiseng9/bert-base-squadv1, including bert-base-squadv1.onnx.
- 1 ONNX models (.onnx files)
- 21 files, including 7 .json, 3 .md, 3 .bin, 2 .csv, 1 .onnx, 1 .mapping
- Last updated 2022-01-19
ONNX files
| File | Size | Download |
|---|---|---|
| bert-base-squadv1.onnx | — | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
This model is a fork of csarron/bert-base-uncased-squad-v1.
eval_exact_match = 80.9082
eval_f1 = 88.2275
eval_samples = 10784
Eval
export CUDA_VISIBLE_DEVICES=0
OUTDIR=eval-bert-base-squadv1
WORKDIR=transformers/examples/pytorch/question-answering
cd $WORKDIR
nohup python run_qa.py \
--model_name_or_path vuiseng9/bert-base-squadv1 \
--dataset_name squad \
--do_eval \
--per_device_eval_batch_size 128 \
--max_seq_length 384 \
--doc_stride 128 \
--overwrite_output_dir \
--output_dir $OUTDIR 2>&1 | tee $OUTDIR/run.log &
Model info
question-answering
transformers
transformers
pytorch
onnx
bert
question-answering
endpoints_compatible
region:us
↓ 5
♥ 0
Created: 2022-03-02
Updated: 2022-01-19
View on Hugging FaceFiles (21)
.gitattributes
README.md
all_results.json
bert-base-squadv1.onnx
ONNX
config.json
eval_nbest_predictions.json
eval_predictions.json
eval_results.json
ir/bert-base-squadv1.bin
ir/bert-base-squadv1.mapping
ir/bert-base-squadv1.xml
ir/mo.log
layer_wise_sparsity_global_rate_0.00.csv
layer_wise_sparsity_global_rate_0.00.md
linear_layer_sparsity_85M_params_0.00_sparsity.csv
linear_layer_sparsity_85M_params_0.00_sparsity.md
pytorch_model.bin
special_tokens_map.json
tokenizer_config.json
training_args.bin
vocab.txt