Instructions to use v13s/tancho-generator-v5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Cosmos
How to use v13s/tancho-generator-v5 with Cosmos:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Release Tancho Generator router v5 with two verified checkpoints and reproducible evidence
c2c3d58 verified Download verify_files.py from v13s/tancho-generator-v5: direct link, hf CLI and curl.
- Browser
- Download file 672 Bytes
-
https://huggingface.co/v13s/tancho-generator-v5/resolve/c2c3d58e449e06b4bc6c824da0ebd2ec4d87c354/verify_files.py
- Command line
-
hf download hf://v13s/tancho-generator-v5@c2c3d58e449e06b4bc6c824da0ebd2ec4d87c354/verify_files.py
-
curl -L -o verify_files.py https://huggingface.co/v13s/tancho-generator-v5/resolve/c2c3d58e449e06b4bc6c824da0ebd2ec4d87c354/verify_files.py
672 Bytes
| """Verify release-manifest.json against all advertised payload bytes.""" | |
| import hashlib,json | |
| from pathlib import Path | |
| root=Path(__file__).resolve().parent | |
| manifest=json.loads((root/'release-manifest.json').read_text()) | |
| for item in manifest['files']: | |
| p=root/item['path'] | |
| if not p.resolve().is_relative_to(root.resolve()) or p.is_symlink():raise ValueError('Unsafe release path') | |
| with p.open('rb') as f:h=hashlib.file_digest(f,'sha256').hexdigest() | |
| if p.stat().st_size!=item['bytes'] or h!=item['sha256']:raise ValueError('File differs: '+item['path']) | |
| print(json.dumps(dict(verified=True,files=len(manifest['files']),bytes=sum(x['bytes'] for x in manifest['files'])))) | |