Instructions to use ManyaGupta/bloom_ts2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ManyaGupta/bloom_ts2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("bigscience/bloomz-560m") model = PeftModel.from_pretrained(base_model, "ManyaGupta/bloom_ts2") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from ManyaGupta/bloom_ts2: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/ManyaGupta/bloom_ts2/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://ManyaGupta/bloom_ts2/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/ManyaGupta/bloom_ts2/resolve/main/tokenizer_config.json
1.03 kB
| { | |
| "add_prefix_space": false, | |
| "added_tokens_decoder": { | |
| "0": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "1": { | |
| "content": "<s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "2": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "3": { | |
| "content": "<pad>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "bos_token": "<s>", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "</s>", | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_token": "<pad>", | |
| "padding_side": "right", | |
| "tokenizer_class": "BloomTokenizer", | |
| "unk_token": "<unk>" | |
| } | |