Update README.md
Browse files
README.md
CHANGED
|
@@ -10,4 +10,56 @@ tags:
|
|
| 10 |
- BERT
|
| 11 |
- DistilBERT
|
| 12 |
- text-classfication
|
| 13 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
- BERT
|
| 11 |
- DistilBERT
|
| 12 |
- text-classfication
|
| 13 |
+
---
|
| 14 |
+
# Elon Musk Detector (EMD)
|
| 15 |
+
|
| 16 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 17 |
+
|
| 18 |
+
Elon Musk Detector uses DistilBERT to classify is a tweet (or post) was made by Elon Musk or Not.
|
| 19 |
+
|
| 20 |
+
## Model Details
|
| 21 |
+
|
| 22 |
+
This model uses transformers and DistilBERT to classify text, based on 2 datasets.
|
| 23 |
+
|
| 24 |
+
### Model Description
|
| 25 |
+
|
| 26 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
- **Developed by:** Kokohachi
|
| 31 |
+
- **Model type:** BERT
|
| 32 |
+
- **Language(s) (NLP):** English
|
| 33 |
+
- **License:** BigScience OpenRAIL-M
|
| 34 |
+
- **Finetuned from model:** DistilBERT
|
| 35 |
+
|
| 36 |
+
## Uses
|
| 37 |
+
|
| 38 |
+
This model should be used only for academic purposes, and should not be used for business purposes.
|
| 39 |
+
### Direct Use
|
| 40 |
+
|
| 41 |
+
`git clone https://huggingface.co/kix-intl/elon-musk-detector`
|
| 42 |
+
|
| 43 |
+
`from transformers import DistilBERTTokenizer, DistilBERTModel`
|
| 44 |
+
|
| 45 |
+
#### Load the tokenizer
|
| 46 |
+
`loaded_tokenizer = DistilBERTTokenizer.from_pretrained(save_directory)`
|
| 47 |
+
|
| 48 |
+
#### Load the model
|
| 49 |
+
`loaded_model = DistilBERTModel.from_pretrained(save_directory)`
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
## Training Details
|
| 53 |
+
|
| 54 |
+
### Training Data
|
| 55 |
+
#### Elon Musk Tweets
|
| 56 |
+
https://www.kaggle.com/datasets/gpreda/elon-musk-tweets
|
| 57 |
+
#### Twitter Tweets Sentiment Dataset
|
| 58 |
+
https://www.kaggle.com/datasets/yasserh/twitter-tweets-sentiment-dataset
|
| 59 |
+
|
| 60 |
+
### Training Procedure
|
| 61 |
+
https://huggingface.co/kix-intl/elon-musk-detector/blob/main/EMD.ipynb
|
| 62 |
+
|
| 63 |
+
## Model Card Contact
|
| 64 |
+
|
| 65 |