Instructions to use gciaffoni/modelLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gciaffoni/modelLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="gciaffoni/modelLM")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("gciaffoni/modelLM") model = AutoModelForCTC.from_pretrained("gciaffoni/modelLM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download language_model/attrs.json from gciaffoni/modelLM: direct link, hf CLI and curl.
- Browser
- Download file 78 Bytes
-
https://huggingface.co/gciaffoni/modelLM/resolve/main/language_model/attrs.json
- Command line
-
hf download hf://gciaffoni/modelLM/language_model/attrs.json
-
curl -L -o attrs.json https://huggingface.co/gciaffoni/modelLM/resolve/main/language_model/attrs.json
78 Bytes
| {"alpha": 0.5, "beta": 1.5, "unk_score_offset": -10.0, "score_boundary": true} |