Instructions to use gikebe/inclusion-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gikebe/inclusion-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="gikebe/inclusion-model")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("gikebe/inclusion-model") model = AutoModelForSequenceClassification.from_pretrained("gikebe/inclusion-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 3,870 Bytes
fa4b15f cb4fa9b fa4b15f cb4fa9b fa4b15f cb4fa9b fa4b15f cb4fa9b fa4b15f cb4fa9b fa4b15f cb4fa9b fa4b15f cb4fa9b fa4b15f cb4fa9b fa4b15f cb4fa9b fa4b15f cb4fa9b fa4b15f cb4fa9b fa4b15f cb4fa9b fa4b15f cb4fa9b fa4b15f cb4fa9b fa4b15f cb4fa9b fa4b15f cb4fa9b fa4b15f cb4fa9b fa4b15f cb4fa9b fa4b15f cb4fa9b fa4b15f cb4fa9b fa4b15f cb4fa9b fa4b15f cb4fa9b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | ---
library_name: transformers
tags:
- inclusion
license: mit
datasets:
- gikebe/inclusion-dataset
base_model:
- google-bert/bert-base-uncased
---
# Model Card for Model ID
<!-- Provide a quick summary of what the model is/does. -->
## Model Details
### Model Description
<!-- Provide a longer summary of what this model is. -->
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
- **Developed by:** Gikebe
- **Model type:** BERT-based sequence classification model for inclusion-related text classification
- **Language(s) (NLP):** English
- **License:** MIT
- **Finetuned from model [optional]:** bert-base-uncased
### Model Sources [optional]
<!-- Provide the basic links for the model. -->
- **Repository:** https://huggingface.co/gikebe/inclusion-model/
## Uses
### Direct Use
This model can be used to classify text related to inclusion, diversity, and social justice topics into different categories such as "Inclusion Mindset," "Intersectionality," "Empowerment," "Privilege," and "Perfectionism."
### Out-of-Scope Use
The model is not suitable for:
-Classification tasks outside of the diversity and inclusion domain.
-Use cases where highly nuanced or sensitive topics require additional layers of ethical consideration.
## Bias, Risks, and Limitations
-The model may reflect biases present in the underlying training data.
-As it is trained on a specific set of texts, it may not generalize well to all contexts related to inclusion and diversity.
-The model could misinterpret or misclassify content in languages other than English or in cultural contexts it wasn’t trained on.
### Recommendations
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
## How to Get Started with the Model
Use the code below to get started with the model.
```
from transformers import pipeline
classifier = pipeline("text-classification", model="gikebe/inclusion-dataset")
result = classifier("Women of color face unique challenges that are often overlooked in diversity discussions.")
print(result)
```
## Training Details
### Training Data
The model was trained on a custom dataset of inclusion-related texts, derived from books such as Inclusion on Purpose by Ruchika Tulshyan, The Memo by Minda Harts, and others.
### Training Procedure
The training procedure involved fine-tuning the BERT-based model (bert-base-uncased) for text classification.
#### Preprocessing
Text was tokenized using the BertTokenizer with maximum sequence length truncation.
#### Training Hyperparameters
-Epochs: 3
-Batch size: 8
-Optimizer: AdamW
-Learning rate: 5e-5
## Evaluation
The model was evaluated on the same dataset split into training and testing sets.
### Testing Data, Factors & Metrics
#### Testing Data
<!-- This should link to a Dataset Card if possible. -->
[More Information Needed]
#### Factors
Relevant factors include the context and specificity of the inclusion-related texts.
#### Metrics
Evaluation is yet to be done
### Results
Evaluation is yet to be done
#### Summary
## Model Examination
This model is based on the BERT architecture and fine-tuned for sequence classification with the objective of predicting categories related to inclusion and diversity.
## Technical Specifications
The model was trained using cloud-based GPU resources.
## Citation
**BibTeX:**
```
@misc{gikebe_inclusion_2024,
author = {Gikebe, [Your Name]},
title = {Inclusion Model},
year = {2024},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/gikebe/inclusion-dataset}},
}
```
**APA:**
Gikebe. (2024). Inclusion Model. Hugging Face. Retrieved from https://huggingface.co/gikebe/inclusion-dataset
|