Instructions to use Thirawarit/adapter_ThaiSC_LLM_Scamper with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Thirawarit/adapter_ThaiSC_LLM_Scamper with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("openthaigpt/openthaigpt-1.0.0-7b-chat") model = PeftModel.from_pretrained(base_model, "Thirawarit/adapter_ThaiSC_LLM_Scamper") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from Thirawarit/adapter_ThaiSC_LLM_Scamper: direct link, hf CLI and curl.
- Browser
- Download file 2.47 MB
-
https://huggingface.co/Thirawarit/adapter_ThaiSC_LLM_Scamper/resolve/main/tokenizer.json
- Command line
-
hf download hf://Thirawarit/adapter_ThaiSC_LLM_Scamper/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Thirawarit/adapter_ThaiSC_LLM_Scamper/resolve/main/tokenizer.json
2.47 MB
File too large to display, you can check the raw version instead.