Download stackgo/stackbuild/__init__.py from s0duku/the-stack-go: direct link, hf CLI and curl.
- Browser
- Download file 1.12 kB
-
https://huggingface.co/datasets/s0duku/the-stack-go/resolve/main/stackgo/stackbuild/__init__.py
- Command line
-
hf download hf://datasets/s0duku/the-stack-go/stackgo/stackbuild/__init__.py
-
curl -L -o __init__.py https://huggingface.co/datasets/s0duku/the-stack-go/resolve/main/stackgo/stackbuild/__init__.py
1.12 kB
| """Repository-context training sample generation.""" | |
| from .builder import build_samples | |
| from .graph import dependency_components | |
| from .model import BuildConfig, SPECIAL_TOKENS, Sample, SampleFile | |
| from .repo import ( | |
| ConcatenationNode, | |
| DependencyEdge, | |
| Diagnostic, | |
| FileInfo, | |
| ReferenceInfo, | |
| Repo, | |
| RepoFile, | |
| RepoInfo, | |
| concatenation_dfs, | |
| dependency_context, | |
| repo_from_path, | |
| repository_windows, | |
| scan, | |
| ) | |
| from .serialization import ParquetSampleWriter, sample_to_dict, write_jsonl, write_parquet | |
| from .tokenizer import DEFAULT_TOKENIZER_ID, DEFAULT_TOKENIZER_REVISION, load_tokenizer | |
| __all__ = [ | |
| "BuildConfig", "SPECIAL_TOKENS", "Sample", "SampleFile", "build_samples", "dependency_components", | |
| "ConcatenationNode", "DependencyEdge", "Diagnostic", "FileInfo", "ReferenceInfo", | |
| "Repo", "RepoFile", "RepoInfo", "concatenation_dfs", "dependency_context", | |
| "repo_from_path", "repository_windows", "scan", "sample_to_dict", "write_jsonl", | |
| "write_parquet", "ParquetSampleWriter", "DEFAULT_TOKENIZER_ID", | |
| "DEFAULT_TOKENIZER_REVISION", "load_tokenizer", | |
| ] | |