Instructions to use busycaesar/tinystarcoder-rlhf-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use busycaesar/tinystarcoder-rlhf-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="busycaesar/tinystarcoder-rlhf-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("busycaesar/tinystarcoder-rlhf-model") model = AutoModelForSequenceClassification.from_pretrained("busycaesar/tinystarcoder-rlhf-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from busycaesar/tinystarcoder-rlhf-model: direct link, hf CLI and curl.
- Browser
- Download file 775 Bytes
-
https://huggingface.co/busycaesar/tinystarcoder-rlhf-model/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://busycaesar/tinystarcoder-rlhf-model/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/busycaesar/tinystarcoder-rlhf-model/resolve/main/tokenizer_config.json
775 Bytes
| { | |
| "add_prefix_space": false, | |
| "backend": "tokenizers", | |
| "bos_token": "<|endoftext|>", | |
| "eos_token": "<|endoftext|>", | |
| "errors": "replace", | |
| "extra_special_tokens": [ | |
| "<|endoftext|>", | |
| "<fim_prefix>", | |
| "<fim_middle>", | |
| "<fim_suffix>", | |
| "<fim_pad>", | |
| "<filename>", | |
| "<gh_stars>", | |
| "<issue_start>", | |
| "<issue_comment>", | |
| "<issue_closed>", | |
| "<jupyter_start>", | |
| "<jupyter_text>", | |
| "<jupyter_code>", | |
| "<jupyter_output>", | |
| "<empty_output>", | |
| "<commit_before>", | |
| "<commit_msg>", | |
| "<commit_after>", | |
| "<reponame>" | |
| ], | |
| "is_local": false, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_token": "<|endoftext|>", | |
| "tokenizer_class": "GPT2Tokenizer", | |
| "unk_token": "<|endoftext|>", | |
| "vocab_size": 49152 | |
| } | |