Instructions to use bug7/llm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bug7/llm with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("bug7/llm", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from bug7/llm: direct link, hf CLI and curl.
- Browser
- Download file 441 Bytes
-
https://huggingface.co/bug7/llm/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://bug7/llm/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/bug7/llm/resolve/main/special_tokens_map.json
441 Bytes
| { | |
| "bos_token": { | |
| "content": "<|begin_of_text|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|end_of_text|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<|pad|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |