Run this model with HF Jobs
Run LinYuting/bert-base-ner on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/LinYuting/bert-base-ner. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/LinYuting/bert-base-ner on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use LinYuting/bert-base-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LinYuting/bert-base-ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="LinYuting/bert-base-ner")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("LinYuting/bert-base-ner") model = AutoModelForTokenClassification.from_pretrained("LinYuting/bert-base-ner", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress epoch 0
Browse filesFiles changed (2)
- README.md+5-7
- tf_model.h5+2-2
14 unmodified lines15161718192021222312 unmodified lines3637383940414243444546474849505114 unmodified linesThis model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on an unknown dataset.It achieves the following results on the evaluation set:- Train Loss: 0.0104- Validation Loss: 0.0043- Epoch: 2## Model description12 unmodified lines### Training hyperparametersThe following hyperparameters were used during training:- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 1098, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}- training_precision: float32### Training results| Train Loss | Validation Loss | Epoch ||:----------:|:---------------:|:-----:|| 0.3453 | 0.0195 | 0 || 0.0200 | 0.0060 | 1 || 0.0104 | 0.0043 | 2 |### Framework versions14 unmodified lines15161718192021222312 unmodified lines363738394041424344454647484914 unmodified linesThis model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on an unknown dataset.It achieves the following results on the evaluation set:- Train Loss: 0.8613- Validation Loss: 0.1280- Epoch: 0## Model description12 unmodified lines### Training hyperparametersThe following hyperparameters were used during training:- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 420, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}- training_precision: float32### Training results| Train Loss | Validation Loss | Epoch ||:----------:|:---------------:|:-----:|| 0.8613 | 0.1280 | 0 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:37060e6bd1569e84ca95d9b7b566e508c24ae086345a0ec7fce5d77feab360d2size 431364300123version https://git-lfs.github.com/spec/v1oid sha256:3eeb23c2d119a1455ae08ea7cf9517a6231ba7efdd05a8a9ae966deb8d949a43size 431352012
README.md+5-7
tf_model.h5+2-2