SpaCE-GLUE: Spatial Cognition Exercises – General Language Understanding Evaluation
Project description
SpaCE-GLUE
Configuration (config.yaml)
This project reads runtime settings from a YAML configuration file. The following documents the recommended format, the expected data types, which fields are required, and default values used by the code when a field is omitted.
-
Top-level keys (summary)
model(required): Mapping describing the model class and constructor parameters.datasets(required, non-empty): Sequence of dataset entries to evaluate.evaluation(optional): Settings for evaluation / results handling.logging(optional): Logging configuration.
-
Any string value set precisely in the form
${VAR_NAME}will be resolved from the environment when the config is loaded. The loader callsload_dotenv()so values from a.envfile are also considered. If the environment variable is not set, config loading will raiseValueError. -
The model´s and each dataset entry's
classis expected to be a full import path string (e.g.package.module.ClassName). The runner will call the configured loader to import and instantiate classes using theparamsmapping.
model (required)
- Type: mapping/dict
- Structure (recommended):
model:
class: "models.openai_model.OpenAIModel" # string, required: full import path to model class
params: # mapping of constructor args (optional)
name: "gpt-4"
base_url: "https://api.openai.com/v1"
api_key: "${OPENAI_API_KEY}"
temperature: 0.7
datasets (required, non-empty)
- Type: sequence (list) of mappings
- Each entry (recommended format):
datasets:
- class: "data.example_dataset.ExampleDataset" # string, required: full import path to dataset class
params: # mapping of constructor args (optional)
limit: 20
evaluation (optional)
- Type: mapping/dict
- Defaults:
results_dir: string, default: "results"batch_size: int, default: 1runs: list[int], default: [1] * len(datasets)inference: Bool flag; defaulttrue.scoring: Bool flag; defaulttrue.
Example:
evaluation:
results_dir: "my_results"
batch_size: 1
runs: [3]
inference: false
scoring: true
logging (optional)
- Type: mapping/dict
- Defaults:
level: string, default: "INFO" (e.g. "DEBUG", "INFO", "WARNING", "ERROR")format: string, default: "%(asctime)s - %(levelname)s - %(message)s"file: string, optional (if provided, logs are written to this file)
Example:
logging:
level: "INFO"
format: "%(asctime)s - %(levelname)s - %(message)s"
file: SpaCE-GLUE.log
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file space_glue-0.1.1.tar.gz.
File metadata
- Download URL: space_glue-0.1.1.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d40af1220317134813ac01a5e33ca6ed1416eccb782837a908c3a576d9af450c
|
|
| MD5 |
124f54fb60d340d234b0df2500ca9370
|
|
| BLAKE2b-256 |
23e3745d6ec90d0e8739d7e5d7bdab5611d866a1dbfbd58bc4b85af63cfdfb03
|
File details
Details for the file space_glue-0.1.1-py3-none-any.whl.
File metadata
- Download URL: space_glue-0.1.1-py3-none-any.whl
- Upload date:
- Size: 46.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d50afb1c1aa80db39a3150b9a588e5ae91655fe534837689fe2d5e2495f32136
|
|
| MD5 |
ef242499f0d060b8b063f01112e791cd
|
|
| BLAKE2b-256 |
8fcb18428253fc2a62a6c67ad7a6fc9f3fb139e6b3be9e9c40e0ae6eed888f92
|