CoolFace
Modelpublic

OmarK211/24-679-distilbert-lighting

sourceHugging Faceupdated 3d agoView on Hugging Face
0likes
Model Card

24-679: Light Type Classifier

This model classifies texts as describing Natural Lighting (`0`) or Artificial Lighting (`1`). It fine-tunes a pretrained DistilBERT with AutoGluon MultiModal. This is a homework assignment.

Inputs and outputs

Texts that are labeled as indicated below:

LabelMeaning
0Natural Lighting
1Artificial Lighting

Data and training

Source: Lighting Dataset.

PartitionOriginal photosStored variantsTotalNatural Lighting / Artifical Lighting
Training1001.15k1.05k525 / 525
Validation150157 / 8
Test150158 / 7

Evaluation

Test metricValue
Accuracy0.6 (9/15)
F10.6

Confusion matrix: rows are actual labels; columns are predicted labels.

Actual / predictedNatural LightingArtifical Lighting
Natural Lighting53
Artifical Lighting34

Each changed prediction moves accuracy by about 6.67 percentage points.

Brief Error Analysis

There were 6 misclassified text cases:

  1. 1.Flicking the blinker on my car turns on the high beam, which will illuminate with a radius many times the width and length of the car, lighting down the road. Turning it off leaves the immediate surroundings dark in the night.
  2. 2.True: Artificial Light
  3. 3.Predicted: Natural Light
  1. 1.The room is dark, but excessive hallway light creeps into the kitchen. The kitchen's extremities are dark, illuminated only by the reflection at the doorstep.
  2. 2.True: Artificial Light
  3. 3.Predicted: Natural Light
  1. 1.Clicking the button on my car keys makes the light source illuminate orange briefly. At night, you can see the flash radiate a few meters away from the car, but it is instantaneous, returning the immediate surroundings to darkness once it leaves.
  2. 2.True: Artificial Light
  3. 3.Predicted: Natural Light
  1. 1.The tiny dots scatter across the night sky. They are faint and they don't illuminate the Earth's surface. You can see them from a distance, whether they are a star or a planet.
  2. 2.True: Natural Light
  3. 3.Predicted: Artificial Light
  1. 1.There is a visible glare as you step outside after being inside for an extended period of time. You walk out and you can't help but squint at this light source, especially.
  2. 2.True: Natural Light
  3. 3.Predicted: Artificial Light
  1. 1.The light source is so strong it peers through the thin leaves to make them translucent; the leaves themselves look illuminated in the afternoon.
  2. 2.True: Natural Light
  3. 3.Predicted: Artificial Light

Some of these are somewhat understandable errors as the:

  • —Falsely predicted Natural Lighting errors all contain something about the night (moon) or illumination at doorstep (outdoors)
  • —Falsely predicted Artificial Lighting don't seem to have a trend

Licensing and provenance

Maintainer: OmarK211. The repository had no model license specified when this card was added; this card does not assign one. Refer to the dataset card for image collection, consent, and reuse limitations. Removing camera metadata does not remove identifying details visible in an image.