Run this model with HF Jobs
Run dmrau/bow-bert 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/dmrau/bow-bert. 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/dmrau/bow-bert 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 dmrau/bow-bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dmrau/bow-bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dmrau/bow-bert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dmrau/bow-bert") model = AutoModelForSequenceClassification.from_pretrained("dmrau/bow-bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files16 unmodified lines1718192016 unmodified lines### outputs identical scores for different### word orders as the model is order invariant:# scores: [-2.9463, -2.9463]```16 unmodified lines17181920212223242526272829303132333416 unmodified lines### outputs identical scores for different### word orders as the model is order invariant:# scores: [-2.9463, -2.9463]```Cite us:@article{rau2022role,title={The Role of Complex NLP in Transformers for Text Ranking?},author={Rau, David and Kamps, Jaap},journal={arXiv preprint arXiv:2207.02522},year={2022}}
README.md+15-1