Text Generation
Transformers
Safetensors
Indonesian
English
qwen2
conversational
convAI
Inference Endpoints
text-generation-inference
gmonsoon commited on
Commit
0e2148e
1 Parent(s): 63a8100

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -57,11 +57,11 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
57
  device = "cuda" # the device to load the model onto
58
 
59
  model = AutoModelForCausalLM.from_pretrained(
60
- "kalisai/Nusantara-4B-Indo-Chat",
61
  torch_dtype="auto",
62
  device_map="auto"
63
  )
64
- tokenizer = AutoTokenizer.from_pretrained("kalisai/Nusantara-4B-Indo-Chat")
65
 
66
  prompt = "Berikan saya resep memasak nasi goreng yang lezat."
67
  messages = [
 
57
  device = "cuda" # the device to load the model onto
58
 
59
  model = AutoModelForCausalLM.from_pretrained(
60
+ "kalisai/Nusantara-1.8B-Indo-Chat",
61
  torch_dtype="auto",
62
  device_map="auto"
63
  )
64
+ tokenizer = AutoTokenizer.from_pretrained("kalisai/Nusantara-1.8B-Indo-Chat")
65
 
66
  prompt = "Berikan saya resep memasak nasi goreng yang lezat."
67
  messages = [