Instructions to use infgrad/puff-base-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use infgrad/puff-base-v1 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("infgrad/puff-base-v1") model = AutoModel.from_pretrained("infgrad/puff-base-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download sentence_bert_config.json from infgrad/puff-base-v1: direct link, hf CLI and curl.
- Browser
- Download file 51 Bytes
-
https://huggingface.co/infgrad/puff-base-v1/resolve/main/sentence_bert_config.json
- Command line
-
hf download hf://infgrad/puff-base-v1/sentence_bert_config.json
-
curl -L -o sentence_bert_config.json https://huggingface.co/infgrad/puff-base-v1/resolve/main/sentence_bert_config.json
51 Bytes
| { | |
| "max_seq_length": 512, | |
| "do_lower_case": false | |
| } |