strombergnlp/rumoureval_2019
Viewer • Updated • 7.99k • 689 • 5
Run GateNLP/stance-bertweet-target-oblivious 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:
Use HF Jobs to fine-tune https://huggingface.co/GateNLP/stance-bertweet-target-oblivious. 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.
Use HF Jobs to run batch inference with https://huggingface.co/GateNLP/stance-bertweet-target-oblivious 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.
How to use GateNLP/stance-bertweet-target-oblivious with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="GateNLP/stance-bertweet-target-oblivious") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("GateNLP/stance-bertweet-target-oblivious")
model = AutoModelForSequenceClassification.from_pretrained("GateNLP/stance-bertweet-target-oblivious", device_map="auto")# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("GateNLP/stance-bertweet-target-oblivious")
model = AutoModelForSequenceClassification.from_pretrained("GateNLP/stance-bertweet-target-oblivious", device_map="auto")One of a pair of models intended to classify the stance of a "reply" post with respect to the post to which it is replying. This is a target oblivious model, i.e. it considers only the reply itself, not the original target post. GateNLP/stance-bertweet-target-aware is the complementary "target-aware" model, the two models are used in combination in the GATE Cloud English Stance Classifier.
For background, see this paper.
Base model
vinai/bertweet-base
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="GateNLP/stance-bertweet-target-oblivious")