Instructions to use Aekanun/openthaigpt-MedChatModelv5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Aekanun/openthaigpt-MedChatModelv5 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Aekanun/openthaigpt-MedChatModelv5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download adapter_config.json from Aekanun/openthaigpt-MedChatModelv5: direct link, hf CLI and curl.
- Browser
- Download file 671 Bytes
-
https://huggingface.co/Aekanun/openthaigpt-MedChatModelv5/resolve/main/adapter_config.json
- Command line
-
hf download hf://Aekanun/openthaigpt-MedChatModelv5/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/Aekanun/openthaigpt-MedChatModelv5/resolve/main/adapter_config.json
671 Bytes
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "openthaigpt/openthaigpt-1.0.0-beta-13b-chat-hf", | |
| "bias": "none", | |
| "fan_in_fan_out": false, | |
| "inference_mode": true, | |
| "init_lora_weights": true, | |
| "layer_replication": null, | |
| "layers_pattern": null, | |
| "layers_to_transform": null, | |
| "loftq_config": {}, | |
| "lora_alpha": 32, | |
| "lora_dropout": 0.05, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "r": 8, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": [ | |
| "v_proj", | |
| "q_proj" | |
| ], | |
| "task_type": "CAUSAL_LM", | |
| "use_dora": false, | |
| "use_rslora": false | |
| } |