laureBe commited on
Commit
ee180c2
·
verified ·
1 Parent(s): 89281d4

Delete evaluation.py

Browse files
Files changed (1) hide show
  1. evaluation.py +0 -18
evaluation.py DELETED
@@ -1,18 +0,0 @@
1
- from typing import Optional
2
- from pydantic import BaseModel, Field
3
-
4
- class BaseEvaluationRequest(BaseModel):
5
- test_size: float = Field(0.2, ge=0.0, le=1.0, description="Size of the test split (between 0 and 1)")
6
- test_seed: int = Field(42, ge=0, description="Random seed for reproducibility")
7
-
8
- class TextEvaluationRequest(BaseEvaluationRequest):
9
- dataset_name: str = Field("QuotaClimat/frugalaichallenge-text-train",
10
- description="The name of the dataset on HuggingFace Hub")
11
-
12
- class ImageEvaluationRequest(BaseEvaluationRequest):
13
- dataset_name: str = Field("pyronear/pyro-sdis",
14
- description="The name of the dataset on HuggingFace Hub")
15
-
16
- class AudioEvaluationRequest(BaseEvaluationRequest):
17
- dataset_name: str = Field("rfcx/frugalai",
18
- description="The name of the dataset on HuggingFace Hub")