Instructions to use kzsnlsa/medbot-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use kzsnlsa/medbot-model with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("EleutherAI/gpt-neox-20b") model = PeftModel.from_pretrained(base_model, "kzsnlsa/medbot-model") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from kzsnlsa/medbot-model: direct link, hf CLI and curl.
- Browser
- Download file 351 Bytes
-
https://huggingface.co/kzsnlsa/medbot-model/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://kzsnlsa/medbot-model/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/kzsnlsa/medbot-model/resolve/main/tokenizer_config.json
351 Bytes
| { | |
| "add_prefix_space": false, | |
| "backend": "tokenizers", | |
| "bos_token": "<|endoftext|>", | |
| "eos_token": "<|endoftext|>", | |
| "errors": "replace", | |
| "is_local": false, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_token": "<|endoftext|>", | |
| "tokenizer_class": "GPTNeoXTokenizer", | |
| "trim_offsets": true, | |
| "unk_token": "<|endoftext|>" | |
| } | |