Text Classification
Transformers
PyTorch
English
distilbert
distilbert-base-uncased-finetuned-sst-2-english
Instructions to use rosherd/job_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rosherd/job_classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="rosherd/job_classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("rosherd/job_classification") model = AutoModelForSequenceClassification.from_pretrained("rosherd/job_classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283---language:- ru- entags:- translationlicense: apache-2.0datasets:- wmt19metrics:- bleu- sacrebleuwidget:- text: "Jens Peter Hansen kommer fra Danmark"---# Model Card for Job Classification<!-- Provide a quick summary of what the model is/does. [Optional] -->model to predict job class(es) from any ofMarketing 'account_management', 'accounting', 'administration', 'aerospace','agriculture', 'automotive', 'banking', 'buying_purchashing','charity_volunteer', 'cleaning', 'construction', 'consulting', 'cosmetology','council', 'creative_media_design', 'customer_services', 'education', 'energy','engineering', 'environmental', 'financial_services', 'graduate', 'healthcare','holiday_seasonal', 'hospitality', 'human_resources', 'human_services','insurance', 'internship', 'it_telecoms', 'legal', 'management','manufacturing', 'military_defence', 'multilingual', 'oil_and_gas','project_management', 'purchasing', 'real_estate', 'recruitment', 'retail','sales', 'science', 'security_safety', 'sports_fitness', 'strategy_consultancy','summer', 'training', 'transport_logistics', 'travel_tourism','veterinary_animal_care', 'warehouse', 'work_from_home' ```# Table of Contents- [Model Card for Job Classification](#model-card-for--model_id-)- [Table of Contents](#table-of-contents)- [Table of Contents](#table-of-contents-1)- [Model Details](#model-details)- [Model Description](#model-description)- [Uses](#uses)- [Direct Use](#direct-use)- [Downstream Use [Optional]](#downstream-use-optional)- [Out-of-Scope Use](#out-of-scope-use)- [Bias, Risks, and Limitations](#bias-risks-and-limitations)- [Recommendations](#recommendations)- [Training Details](#training-details)- [Training Data](#training-data)- [Training Procedure](#training-procedure)- [Preprocessing](#preprocessing)- [Speeds, Sizes, Times](#speeds-sizes-times)- [Evaluation](#evaluation)- [Testing Data, Factors & Metrics](#testing-data-factors--metrics)- [Testing Data](#testing-data)- [Factors](#factors)- [Metrics](#metrics)- [Results](#results)- [Model Examination](#model-examination)- [Environmental Impact](#environmental-impact)- [Technical Specifications [optional]](#technical-specifications-optional)- [Model Architecture and Objective](#model-architecture-and-objective)- [Compute Infrastructure](#compute-infrastructure)- [Hardware](#hardware)- [Software](#software)- [Citation](#citation)- [Glossary [optional]](#glossary-optional)- [More Information [optional]](#more-information-optional)- [Model Card Authors [optional]](#model-card-authors-optional)- [Model Card Contact](#model-card-contact)- [How to Get Started with the Model](#how-to-get-started-with-the-model)# Model Details## Model Description<!-- Provide a longer summary of what this model is/does. -->model to predict job class(es) from any ofMarketing 'account_management', 'accounting', 'administration', 'aerospace','agriculture', 'automotive', 'banking', 'buying_purchashing','charity_volunteer', 'cleaning', 'construction', 'consulting', 'cosmetology','council', 'creative_media_design', 'customer_services', 'education', 'energy','engineering', 'environmental', 'financial_services', 'graduate', 'healthcare','holiday_seasonal', 'hospitality', 'human_resources', 'human_services','insurance', 'internship', 'it_telecoms', 'legal', 'management','manufacturing', 'military_defence', 'multilingual', 'oil_and_gas','project_management', 'purchasing', 'real_estate', 'recruitment', 'retail','sales', 'science', 'security_safety', 'sports_fitness', 'strategy_consultancy','summer', 'training', 'transport_logistics', 'travel_tourism','veterinary_animal_care', 'warehouse', 'work_from_home' ```- **Developed by:** More information needed- **Shared by [Optional]:** More information needed- **Model type:** Language model- **Language(s) (NLP):** More information needed- **License:** More information needed- **Parent Model:** More information needed- **Resources for more information:** More information needed# Uses<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->## Direct Use<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. --><!-- If the user enters content, print that. If not, but they enter a task in the list, use that. If neither, say "more info needed." -->## Downstream Use [Optional]<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app --><!-- If the user enters content, print that. If not, but they enter a task in the list, use that. If neither, say "more info needed." -->## Out-of-Scope Use<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. --><!-- If the user enters content, print that. If not, but they enter a task in the list, use that. If neither, say "more info needed." --># Bias, Risks, and Limitations<!-- This section is meant to convey both technical and sociotechnical limitations. -->Significant research has explored bias and fairness issues with language models (see, e.g., [Sheng et al. (2021)](https://aclanthology.org/2021.acl-long.330.pdf) and [Bender et al. (2021)](https://dl.acm.org/doi/pdf/10.1145/3442188.3445922)). Predictions generated by the model may include disturbing and harmful stereotypes across protected classes; identity characteristics; and sensitive, social, and occupational groups.## Recommendations<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. --># Training Details## Training Data<!-- This should link to a Data Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->More information on training data needed## Training Procedure<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->### PreprocessingMore information needed### Speeds, Sizes, Times<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->More information needed# Evaluation<!-- This section describes the evaluation protocols and provides the results. -->## Testing Data, Factors & Metrics### Testing Data<!-- This should link to a Data Card if possible. -->More information needed### Factors<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->More information needed### Metrics<!-- These are the evaluation metrics being used, ideally with a description of why. -->More information needed## ResultsMore information needed# Model ExaminationMore information needed# Environmental Impact<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).- **Hardware Type:** More information needed- **Hours used:** More information needed- **Cloud Provider:** More information needed- **Compute Region:** More information needed- **Carbon Emitted:** More information needed# Technical Specifications [optional]## Model Architecture and ObjectiveMore information needed## Compute InfrastructureMore information needed### HardwareMore information needed### SoftwareMore information needed# Citation<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->**BibTeX:**More information needed**APA:**More information needed# Glossary [optional]<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->More information needed# More Information [optional]More information needed# Model Card Authors [optional]<!-- This section provides another layer of transparency and accountability. Whose views is this model card representing? How many voices were included in its construction? Etc. -->D, a, n, , R, o, s, h, e, r# Model Card ContactMore information needed# How to Get Started with the ModelUse the code below to get started with the model.<details><summary> Click to expand </summary>More information needed</details>1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495---language: entags:- exbertlicense: apache-2.0datasets:- bookcorpus- wikipediawidget:- text: "Paris is the <mask> of France."example_title: "Capital"- text: "The goal of life is"example_title: "Philosophy"---# Job ClassificationThis model will predict class(es) from any of```['Marketing','account_management','accounting','administration','aerospace','agriculture','automotive','banking','buying_purchashing','charity_volunteer','cleaning','construction','consulting','cosmetology','council','creative_media_design','customer_services','education','energy','engineering','environmental','financial_services','graduate','healthcare','holiday_seasonal','hospitality','human_resources','human_services','insurance','internship','it_telecoms','legal','management','manufacturing','military_defence','multilingual','oil_and_gas','project_management','purchasing','real_estate','recruitment','retail','sales','science','security_safety','sports_fitness','strategy_consultancy','summer','training','transport_logistics','travel_tourism','veterinary_animal_care','warehouse','work_from_home']```## Model descriptionAs above## Training datapretrained on RL job data## Evaluation resultsWhen fine-tuned on downstream tasks, this model achieves the following results:Glue test results:| Task | MNLI | QQP | QNLI | SST-2 | CoLA | STS-B | MRPC | RTE ||:----:|:----:|:----:|:----:|:-----:|:----:|:-----:|:----:|:----:|| | 82.2 | 88.5 | 89.2 | 91.3 | 51.3 | 85.8 | 87.5 | 59.9 |
README.md+87-275