Run this model with HF Jobs
Run typeform/roberta-large-mnli 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/typeform/roberta-large-mnli. 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/typeform/roberta-large-mnli 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 typeform/roberta-large-mnli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use typeform/roberta-large-mnli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="typeform/roberta-large-mnli")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("typeform/roberta-large-mnli") model = AutoModelForSequenceClassification.from_pretrained("typeform/roberta-large-mnli", device_map="auto") - Notebooks
- Google Colab
- Kaggle
David Chu commited on
Revert "Update config.json"
Browse filesThis reverts commit 98eb63cb3fc071be75fb468f967adb6549110ac7.
11 unmodified lines1213141516171819202122232425262711 unmodified lines"hidden_dropout_prob": 0.1,"hidden_size": 1024,"id2label": {"0": "ENTAILMENT","1": "NEUTRAL","2": "CONTRADICTION"},"initializer_range": 0.02,"intermediate_size": 4096,"label2id": {"ENTAILMENT": 0,"NEUTRAL": 1,"CONTRADICTION": 2},"layer_norm_eps": 1e-05,"max_position_embeddings": 514,11 unmodified lines1213141516171819202122232425262711 unmodified lines"hidden_dropout_prob": 0.1,"hidden_size": 1024,"id2label": {"0": "CONTRADICTION","1": "NEUTRAL","2": "ENTAILMENT"},"initializer_range": 0.02,"intermediate_size": 4096,"label2id": {"CONTRADICTION": 0,"ENTAILMENT": 2,"NEUTRAL": 1},"layer_norm_eps": 1e-05,"max_position_embeddings": 514,
config.json+5-5