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