Run this model with HF Jobs
Run Syamchand/contract-nli-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/Syamchand/contract-nli-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/Syamchand/contract-nli-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 Syamchand/contract-nli-bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Syamchand/contract-nli-bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Syamchand/contract-nli-bert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Syamchand/contract-nli-bert") model = AutoModelForSequenceClassification.from_pretrained("Syamchand/contract-nli-bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload BertForSequenceClassification
Browse files13 unmodified lines14151617181920212223242526272829303113 unmodified lines"hidden_dropout_prob": 0.1,"hidden_size": 768,"id2label": {"0": "LABEL_0","1": "LABEL_1","2": "LABEL_2"},"impossible_strategy": "ignore","initializer_range": 0.02,"intermediate_size": 3072,"is_decoder": false,"label2id": {"LABEL_0": 0,"LABEL_1": 1,"LABEL_2": 2},"layer_norm_eps": 1e-12,"max_position_embeddings": 512,13 unmodified lines14151617181920212223242526272829303113 unmodified lines"hidden_dropout_prob": 0.1,"hidden_size": 768,"id2label": {"0": "entailment","1": "neutral","2": "contradiction"},"impossible_strategy": "ignore","initializer_range": 0.02,"intermediate_size": 3072,"is_decoder": false,"label2id": {"contradiction": 2,"entailment": 0,"neutral": 1},"layer_norm_eps": 1e-12,"max_position_embeddings": 512,
config.json+6-6