How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="Adun/openthaigpt-1.0.0-beta-7b-dharma-thai-v1-ckpt-hf")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("Adun/openthaigpt-1.0.0-beta-7b-dharma-thai-v1-ckpt-hf")
model = AutoModelForCausalLM.from_pretrained("Adun/openthaigpt-1.0.0-beta-7b-dharma-thai-v1-ckpt-hf", device_map="auto")
Quick Links
Downloads last month
13
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Space using Adun/openthaigpt-1.0.0-beta-7b-dharma-thai-v1-ckpt-hf 1