Twitter Labor Market Insights
Collection
Employment status inference of American, Mexican and Brazilian Twitter users from their tweets. โข 16 items โข Updated
Run worldbank/jobless-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:
Use HF Jobs to fine-tune https://huggingface.co/worldbank/jobless-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.
Use HF Jobs to run batch inference with https://huggingface.co/worldbank/jobless-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.
How to use worldbank/jobless-bert with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="worldbank/jobless-bert") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("worldbank/jobless-bert")
model = AutoModelForSequenceClassification.from_pretrained("worldbank/jobless-bert", device_map="auto")# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("worldbank/jobless-bert")
model = AutoModelForSequenceClassification.from_pretrained("worldbank/jobless-bert", device_map="auto")This model is a version of DeepPavlov/bert-base-cased-conversational finetuned by @manueltonneau to recognize English tweets where a user mentions that she is unemployed. It was trained on English tweets from US-based users. The task is framed as a binary classification problem with:
The dataset of English tweets on which this classifier was trained is open-sourced here. Details on the performance can be found in our ACL 2022 paper.
If you find this model useful, please cite our paper:
@inproceedings{tonneau-etal-2022-multilingual,
title = "Multilingual Detection of Personal Employment Status on {T}witter",
author = "Tonneau, Manuel and
Adjodah, Dhaval and
Palotti, Joao and
Grinberg, Nir and
Fraiberger, Samuel",
booktitle = "Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
month = may,
year = "2022",
address = "Dublin, Ireland",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2022.acl-long.453",
doi = "10.18653/v1/2022.acl-long.453",
pages = "6564--6587",
}
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="worldbank/jobless-bert")