Qwen Mlp
This model detects 4 emotion states (Boredom, Engagement, Confusion, Frustration) from educational videos.
Source du modèle
- Type
- Other
- Taille du fichier
- 22,5 MB
- Modèle de base
- Qwen/Qwen2.5-7B-Instruct
- Version
- vMlp Boredom best
- Mis à jour
- 24 oct. 2026
- Source
- Hugging Face
Description de la source
DAiSEE Emotion Detection Model
This model detects 4 emotion states (Boredom, Engagement, Confusion, Frustration) from educational videos.
Architecture
- Stage 1: Qwen2.5-VL-7B-Instruct (embedding extraction)
- Stage 2: MLP classifiers (4 separate models)
Usage
Via Inference Endpoint
import requests
import base64
# Encode video
with open("student_video.avi", "rb") as f:
video_b64 = base64.b64encode(f.read()).decode()
# Send request
response = requests.post(
"https://YOUR-ENDPOINT.aws.endpoints.huggingface.cloud",
headers={"Authorization": f"Bearer {YOUR_HF_TOKEN}"},
json={"inputs": video_b64}
)
predictions = response.json()
print(predictions)
Sources
1 source
Sources
1 sourceVérifié 24 oct.
Download files
Artefacts du modèle
4 artefacts
Artefacts du modèle
4 artefactsclassifiers/mlp_Boredom_best.pth
pth · 22,5 MB · SHA-256 f28bdf950119…49cd · Hugging Face
Download fileclassifiers/mlp_Confusion_best.pth
pth · 22,5 MB · SHA-256 84a944d8374b…ccb7 · Hugging Face
Download fileclassifiers/mlp_Engagement_best.pth
pth · 22,5 MB · SHA-256 30f6d4ba31c7…cd34 · Hugging Face
Download fileclassifiers/mlp_Frustration_best.pth
pth · 22,5 MB · SHA-256 c453f23c03bf…522f · Hugging Face
Download fileExtraits de sources
2 extraits
Extraits de sources
2 extraits--- license: apache-2.0 tags: - video-classification - emotion-detection - education - qwen2.5-vl library_name: transformers base_model: - Qwen/Qwen2.5-7B-Instruct --- # DAiSEE Emotion Detection Model This model detects 4 emotion states (Boredom, Engagement, Confusion, Frustration) from educational videos. ## Architecture - **Stage 1**: Qwen2.5-VL-7B-Instruct (embedding extraction) - **Stage 2**: MLP classifiers (4 separate models) ## Usage ### Via Inference Endpoint ```python import requests import base64 # Encode video with open("student_video.avi", "rb") as f: video_b64 = base64.b64encode(f.read()).decode() # Send request response = requests.post( "https://YOUR-ENDPOINT.aws.endpoints.huggingface.cloud", headers={"Authorization": f"Bearer {YOUR_HF_TOKEN}"}, json={"inputs": video_b64} ) predictions = response.json() print(predictions)
Source context: 0 downloads · 1 likes · Pipeline video-classification · Library transformers · Repo mapotofu40/qwen-mlp
