Text Classification
Transformers
Safetensors
English
distilbert
podcast
ad-detection
skipr
text-embeddings-inference
Instructions to use kayaaaa/ad-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kayaaaa/ad-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="kayaaaa/ad-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("kayaaaa/ad-classifier") model = AutoModelForSequenceClassification.from_pretrained("kayaaaa/ad-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -43,14 +43,16 @@ Use this model to classify transcript windows (typically ~20 caption snippets) a
|
|
| 43 |
|
| 44 |
## Training data
|
| 45 |
|
| 46 |
-
|
|
|
|
|
|
|
| 47 |
|
| 48 |
-
-
|
| 49 |
-
-
|
| 50 |
-
-
|
| 51 |
-
- Augmented
|
| 52 |
|
| 53 |
-
|
| 54 |
|
| 55 |
## Usage
|
| 56 |
|
|
|
|
| 43 |
|
| 44 |
## Training data
|
| 45 |
|
| 46 |
+
## Training data
|
| 47 |
+
|
| 48 |
+
The model was trained on a mix of real and synthetic transcript windows:
|
| 49 |
|
| 50 |
+
- **Base set (~800 samples):** weak-labeled YouTube podcast segments
|
| 51 |
+
- Positive: segments matching sponsor keywords/brands
|
| 52 |
+
- Negative: normal podcast content
|
| 53 |
+
- **Augmented set (~1,200 samples):** synthetic variants generated with Llama 8B via Ollama, preserving the original label. Synthetic data generated through strategies; paraphrase, new scenario, style shift, fragment, vocabulary shift
|
| 54 |
|
| 55 |
+
Original labels are heuristic — the model learns from keyword-labeled examples. Synthetic data increases linguistic diversity but inherits the same label assumptions.
|
| 56 |
|
| 57 |
## Usage
|
| 58 |
|