Downloads · 30 days
8
1% of all-time downloads
vuiseng9/bert-base-uncased-mnli
bert-base-uncased-mnli is a text classification model from vuiseng9. Use it when you need a label for a piece of text. It is set up for transformers.
This model is developed with transformers v4.10.3.
Downloads · 30 days
8
1% of all-time downloads
All-time downloads
628
Public
Repo size
876 MB
Likes
0
Public
Click a slice to open those files.
.bin438 MB · 99%
From the Hugging Face model README
This model is developed with transformers v4.10.3.
#!/usr/bin/env bash
export CUDA_VISIBLE_DEVICES=0
OUTDIR=bert-based-uncased-mnli
WORKDIR=transformers/examples/pytorch/text-classification
cd $WORKDIR
nohup python run_glue.py \
--model_name_or_path bert-base-uncased \
--task_name mnli \
--do_eval \
--do_train \
--per_device_train_batch_size 16 \
--per_device_eval_batch_size 16 \
--max_seq_length 128 \
--num_train_epochs 3 \
--overwrite_output_dir \
--output_dir $OUTDIR 2>&1 | tee $OUTDIR/run.log &
export CUDA_VISIBLE_DEVICES=0
OUTDIR=eval-bert-based-uncased-mnli
WORKDIR=transformers/examples/pytorch/text-classification
cd $WORKDIR
nohup python run_glue.py \
--model_name_or_path vuiseng9/bert-base-uncased-mnli \
--task_name mnli \
--do_eval \
--per_device_eval_batch_size 16 \
--max_seq_length 128 \
--overwrite_output_dir \
--output_dir $OUTDIR 2>&1 | tee $OUTDIR/run.log &