Run this model with HF Jobs
Run ulorew/dl2_hw2_basic 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/ulorew/dl2_hw2_basic. 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/ulorew/dl2_hw2_basic 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 ulorew/dl2_hw2_basic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ulorew/dl2_hw2_basic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="ulorew/dl2_hw2_basic")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("ulorew/dl2_hw2_basic") model = AutoModelForTokenClassification.from_pretrained("ulorew/dl2_hw2_basic", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (3)
- README.md+9-10
- model.safetensors+1-1
- training_args.bin+1-1
20 unmodified lines2122232425262728242526272829303118 unmodified lines505152535354555657585960616259606162636420 unmodified lines
This model is a fine-tuned version of [BAAI/bge-small-en-v1.5](https://huggingface.co/BAAI/bge-small-en-v1.5) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.0954- Precision: 0.8819- Recall: 0.9088- F1: 0.8952- Accuracy: 0.9786- Loss: 0.0960- Precision: 0.8756- Recall: 0.9039- F1: 0.8895- Accuracy: 0.9779
## Model description
18 unmodified lines- seed: 42- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear- num_epochs: 4- num_epochs: 3
### Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|| 0.1867 | 1.0 | 1690 | 0.1274 | 0.8454 | 0.8721 | 0.8585 | 0.9726 || 0.1189 | 2.0 | 3380 | 0.1026 | 0.8572 | 0.8989 | 0.8775 | 0.9765 || 0.1026 | 3.0 | 5070 | 0.0981 | 0.8795 | 0.9039 | 0.8915 | 0.9777 || 0.0998 | 4.0 | 6760 | 0.0954 | 0.8819 | 0.9088 | 0.8952 | 0.9786 || 0.1461 | 1.0 | 1690 | 0.0973 | 0.8650 | 0.8985 | 0.8815 | 0.9772 || 0.0929 | 2.0 | 3380 | 0.0978 | 0.8658 | 0.9046 | 0.8848 | 0.9771 || 0.0883 | 3.0 | 5070 | 0.0960 | 0.8756 | 0.9039 | 0.8895 | 0.9779 |
### Framework versions1223version https://git-lfs.github.com/spec/v1oid sha256:d76bef26a89cfef642395e22ea8292c105a261c91524bb3c7db9329b7f82e414oid sha256:0a0395224b3f05bf9446ec66943adb6df47a846a6a14557bfd7da234befab3c1size 1328856041223version https://git-lfs.github.com/spec/v1oid sha256:089d7cc607e6f54237eec2947229ead10a6878242414bfbcb4015aaf2d06ac2aoid sha256:799fef2926a7cc7c384879d169ec75e614e156138612f6dfc58aec6ec934fdaasize 5265README.md+9-10
model.safetensors+1-1
training_args.bin+1-1