Translation
Transformers
Safetensors
German
Chinese
sign-language
sign-language-production
text-to-gloss
retrieval
Instructions to use LionelLow/SignSparK_Retrieval with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LionelLow/SignSparK_Retrieval with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("translation", model="LionelLow/SignSparK_Retrieval")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("LionelLow/SignSparK_Retrieval", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download base/CSL-Daily/generation_config.json from LionelLow/SignSparK_Retrieval: direct link, hf CLI and curl.
- Browser
- Download file 200 Bytes
-
https://huggingface.co/LionelLow/SignSparK_Retrieval/resolve/main/base/CSL-Daily/generation_config.json
- Command line
-
hf download hf://LionelLow/SignSparK_Retrieval/base/CSL-Daily/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/LionelLow/SignSparK_Retrieval/resolve/main/base/CSL-Daily/generation_config.json
200 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 0, | |
| "eos_token_id": 2, | |
| "forced_eos_token_id": 2, | |
| "max_length": 1024, | |
| "num_beams": 5, | |
| "pad_token_id": 1, | |
| "transformers_version": "4.32.0" | |
| } | |