Introduction
This is a toolkit for automatically creating a Hugging Face repository for a Språkbanken resource.
Usage
sb2hf is a command-line tool which creates a Hugging Face repository from a Språkbanken resource url (found at https://spraakbanken.gu.se/resurser). For example, if an authenticated user of the sbx organization of the user runs this:
python sbx2hf.py https://spraakbanken.gu.se/resurser/forarbeten1734 --push-to-hub
This dataset with the same resource name will be automatically uploaded: https://huggingface.co/datasets/sbx/forarbeten1734.
To use this outside the Språkbanken Text organization, simply specify your own organization or user under the --hf-namespace argument.
Metadata
Release files for sbx2hf 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sbx2hf-0.1.1.tar.gz | 4.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sbx2hf-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.5 MB
Release files / sbx2hf-0.1.1.tar.gz
| Download URL | sbx2hf-0.1.1.tar.gz |
|---|---|
| Size | 4.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1a1c6b6838a08e96ab5bd26b679a04b40543a78447a62c59995fcb9252e12f9
|
|
BLAKE2b-256 checksum How to use checksums |
4b3cd7c38bd79b1ac96b1fcb127e09b686544c0468fcf3da865fd52ede421b1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.5
|
Release files / sbx2hf-0.1.1-py3-none-any.whl
| Download URL | sbx2hf-0.1.1-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7dd708aa8fe05170486137e1525c104c474a937af42dfe0f0af4b0fa7a07f371
|
|
BLAKE2b-256 checksum How to use checksums |
3ceb4ae2efd2e39b374ceef8b47bb479fa04453ef159e20aec38d42b63f6e48e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.5
|