Spaces:
Runtime error
Runtime error
Download typehints.py from datasysdev/trl-lora-without-regret: direct link, hf CLI and curl.
- Browser
- Download file 316 Bytes
-
https://huggingface.co/spaces/datasysdev/trl-lora-without-regret/resolve/9add9b3d02f606a68e3b0482a265d380ece72f8c/typehints.py
- Command line
-
hf download hf://spaces/datasysdev/trl-lora-without-regret@9add9b3d02f606a68e3b0482a265d380ece72f8c/typehints.py
-
curl -L -o typehints.py https://huggingface.co/spaces/datasysdev/trl-lora-without-regret/resolve/9add9b3d02f606a68e3b0482a265d380ece72f8c/typehints.py
316 Bytes
| from typing import Any, TypedDict | |
| from gradio import FileData | |
| class LogEntry(TypedDict): | |
| project: str | |
| run: str | |
| metrics: dict[str, Any] | |
| step: int | None | |
| config: dict[str, Any] | None | |
| class UploadEntry(TypedDict): | |
| project: str | |
| run: str | |
| step: int | None | |
| uploaded_file: FileData | |