Instructions to use deetsml/dummy-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deetsml/dummy-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="deetsml/dummy-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("deetsml/dummy-model") model = AutoModel.from_pretrained("deetsml/dummy-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download sentence_bert_config.json from deetsml/dummy-model: direct link, hf CLI and curl.
- Browser
- Download file 54 Bytes
-
https://huggingface.co/deetsml/dummy-model/resolve/main/sentence_bert_config.json
- Command line
-
hf download hf://deetsml/dummy-model/sentence_bert_config.json
-
curl -L -o sentence_bert_config.json https://huggingface.co/deetsml/dummy-model/resolve/main/sentence_bert_config.json
54 Bytes
| { | |
| "max_seq_length": 1024, | |
| "do_lower_case": false | |
| } |