Sandeep Chowdhary
commited on
Update model card
Browse files
README.md
CHANGED
|
@@ -12,7 +12,7 @@ license: mit
|
|
| 12 |
|
| 13 |
# Veganism & Vegetarianism Classifier (Distilbert)
|
| 14 |
|
| 15 |
-
This model classifies content related to veganism and vegetarianism on
|
| 16 |
|
| 17 |
## Model Details
|
| 18 |
|
|
@@ -21,7 +21,7 @@ This model classifies content related to veganism and vegetarianism on Reddit.
|
|
| 21 |
- Sector: Veganism & Vegetarianism
|
| 22 |
- Base Model: Distilbert base uncased
|
| 23 |
- Labels: 7
|
| 24 |
-
- Training Data: Reddit posts from climate subreddits (2010-2023)
|
| 25 |
|
| 26 |
## Labels
|
| 27 |
|
|
@@ -56,12 +56,13 @@ def print_sorted_label_scores(label_scores):
|
|
| 56 |
# Model link and examples for this specific model
|
| 57 |
model_link = 'sanchow/veganism_and_vegetarianism-distilbert-classifier'
|
| 58 |
examples = [
|
| 59 |
-
"
|
| 60 |
]
|
| 61 |
|
| 62 |
print(f"\n{'='*60}")
|
| 63 |
print("MODEL: VEGANISM & VEGETARIANISM SECTOR")
|
| 64 |
print(f"{'='*60}")
|
|
|
|
| 65 |
print(f"Downloading model: {model_link}")
|
| 66 |
with tempfile.TemporaryDirectory() as temp_dir:
|
| 67 |
snapshot_download(
|
|
|
|
| 12 |
|
| 13 |
# Veganism & Vegetarianism Classifier (Distilbert)
|
| 14 |
|
| 15 |
+
This model classifies content related to veganism and vegetarianism on climate change subreddits.
|
| 16 |
|
| 17 |
## Model Details
|
| 18 |
|
|
|
|
| 21 |
- Sector: Veganism & Vegetarianism
|
| 22 |
- Base Model: Distilbert base uncased
|
| 23 |
- Labels: 7
|
| 24 |
+
- Training Data: Sample from 1000 GPT 4o-mini-labeled Reddit posts from climate subreddits (2010-2023)
|
| 25 |
|
| 26 |
## Labels
|
| 27 |
|
|
|
|
| 56 |
# Model link and examples for this specific model
|
| 57 |
model_link = 'sanchow/veganism_and_vegetarianism-distilbert-classifier'
|
| 58 |
examples = [
|
| 59 |
+
"Animal Welfare"
|
| 60 |
]
|
| 61 |
|
| 62 |
print(f"\n{'='*60}")
|
| 63 |
print("MODEL: VEGANISM & VEGETARIANISM SECTOR")
|
| 64 |
print(f"{'='*60}")
|
| 65 |
+
|
| 66 |
print(f"Downloading model: {model_link}")
|
| 67 |
with tempfile.TemporaryDirectory() as temp_dir:
|
| 68 |
snapshot_download(
|