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="GoToCompany/gemma3-27b-cpt-gotoai-v3-instruct")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
pipe(text=messages)
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForMultimodalLM

processor = AutoProcessor.from_pretrained("GoToCompany/gemma3-27b-cpt-gotoai-v3-instruct")
model = AutoModelForMultimodalLM.from_pretrained("GoToCompany/gemma3-27b-cpt-gotoai-v3-instruct", device_map="auto")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
inputs = processor.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=256)
print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

GoTo-AI-Gemma-3-27B-IT

GoTo-AI is a collection of Large Language Models (LLMs) which have been pretrained and instruct-tuned for Indonesian culture and languages. GoTo-AI-Gemma-3-27B-IT leverages the Gemma-3 architecture alongside specialized local models.

  • Initiated by: PT GoTo Gojek Tokopedia Tbk
  • Developed by: PT GoTo Gojek Tokopedia Tbk, AI Singapore
  • Model type: Decoder
  • Languages supported: English, Indonesian, Javanese, Sundanese, Batak Toba, Balinese
  • License: Gemma License

Model Details

Model Description

For tokenisation, the model employs the default Gemma 3 tokenizer. The model has a context length of 128k tokens.

Benchmark Performance

We evaluate the models in the GoTo-AI ecosystem on both general language capabilities and instruction-following capabilities.

IndoMMLU

For the evaluation of capabilities rooted in the local Indonesian context, we employed the IndoMMLU evaluation benchmark across a variety of tasks.
These tasks include examination questions on Humanities, Indonesian language, Local languages and cultures, Social science and STEM across primary, middle, and high school levels.

Note: IndoMMLU is implemented using prompts to elicit answers in a strict format. For all tasks, the model is expected to provide an answer tag from which the answer is automatically extracted. For tasks where options are provided, the answer should comprise one of the pre-defined options. The scores for each task is normalised to account for baseline performance due to random chance.

General Language Capabilities

For the evaluation of general language capabilities, we employed the SEA-HELM evaluation benchmark across a variety of tasks.
These tasks include Question Answering (QA), Sentiment Analysis (Sentiment), Toxicity Detection (Toxicity), Translation in both directions (Eng>Lang & Lang>Eng), Abstractive Summarisation (Abssum), Causal Reasoning (Causal), Natural Language Inference (NLI), and linguistic diagnostics (LINDSEA).

Note: SEA-HELM is implemented using prompts to elicit answers in a strict format. For all tasks, the model is expected to provide an answer tag from which the answer is automatically extracted. For tasks where options are provided, the answer should comprise one of the pre-defined options. The scores for each task is normalised to account for baseline performance due to random chance.

The evaluation was done zero-shot with native prompts on a sample of 100-1000 instances for each dataset.

Instruction-following Capabilities

Since this is an instruction-following model, we also evaluated it on instruction-following capabilities with two datasets, SEA-IFEval (based on IFEval) and SEA-MTBench (based on MT-Bench).

As these two datasets were originally in English, the linguists and native speakers in the team worked together to filter, localise and translate the datasets into the respective target languages to ensure that the examples remained reasonable, meaningful and natural.

SEA-IFEval
SEA-IFEval evaluates a model's ability to adhere to constraints provided in the prompt, for example beginning a response with a specific word/phrase or answering with a certain number of sections. Additionally, accuracy is normalised by the proportion of responses in the correct language (if the model performs the task correctly but responds in the wrong language, it is judged to have failed the task).

SEA-MTBench
SEA-MTBench evaluates a model's ability to engage in multi-turn (2 turns) conversations and respond in ways that align with human needs. We use gpt-4-1106-preview as the judge model and compare against gpt-3.5-turbo-0125 as the baseline model. The metric used is the weighted win rate against the baseline model (i.e. average win rate across each category: Math, Reasoning, STEM, Humanities, Roleplay, Writing, Extraction). A tie is given a score of 0.5.
For more details on benchmark performance across the ecosystem, please refer to the GoTo-AI leaderboard.

Usage

This model can be run using the Transformers library.
To load this 27B model in FP16 or BF16 precision, you need a minimum of approximately 54-60 GB of VRAM.

Recommended setups include:

  • 1Γ— NVIDIA A100 (80GB)
  • 2Γ— NVIDIA L40s
  • 3Γ— NVIDIA RTX 4090
import transformers
import torch

# Update model_id to your actual Hugging Face repo path
model_id = "GoToCompany/GoTo-AI-Gemma-3-27B-IT"

pipeline = transformers.pipeline(
   "text-generation",
   model=model_id,
   model_kwargs={"torch_dtype": torch.bfloat16},
   device_map="auto",
)

messages = [
   {"role": "user", "content": "Sopo wae sing ana ing Punakawan?"},
]

outputs = pipeline(
   messages,
   max_new_tokens=256,
)
print(outputs[0]["generated_text"][-1])

Limitations

Disclaimer

This is the repository for the Instruct model.
While the model has been aligned for general safety, developers and users should perform their own safety fine-tuning and related security measures.
In no event shall the authors be held liable for any claim, damages, or other liability arising from the use of the released weights and codes.

It is important for users to be aware that our model exhibits certain limitations that warrant consideration. Like many LLMs, the model can hallucinate and occasionally generate irrelevant content, introducing fictional elements that are not grounded in the provided context. Users should also exercise caution in interpreting and validating the model's responses due to the potential inconsistencies in its reasoning. Please refer to our responsible use guide.

Safety Fine-Tuning

The base models in the GoTo-AI ecosystem have been aligned for general safety topics. However, developers and users should perform their own safety fine-tuning and related security measures. In no event shall the authors be held liable for any claim, damages, or other liability arising from the use of the released weights and codes.

Call for Contributions

GoTo-AI is a local open-source Large Language Model (LLM) ecosystem created for Indonesia and the Indonesian languages,
GoTo-AI ecosystem aims to empower Indonesians who want to develop AI-based services and applications using Bahasa Indonesia and its various local dialects.

We are supported by research centers and global tech experts such as AI Singapore.

We also collaborate with key top Indonesia universities such as University of Indonesia, Gadjah Mada University, Bogor Institute of Agriculture, Bandung Institute of Technology, University of North Sumatera (Universitas Sumatera Utara), and Udayana University, including top Indonesian media groups, such as Kompas Gramedia Group, and Republika, Tempo, and Hukumonline to train and enrich the model in Bahasa Indonesia, ensuring optimum provision of local context and cultural relevance.

We would like to invite researchers, developers, and language enthusiasts to actively contribute to the enhancement and expansion of GoTo-AI.

Your collaborations can involve:

  • Identifying and reporting technical issues
  • Sharing pre-training, instruction, and preference data
  • Improving documentation usability
  • Proposing and implementing new model evaluation tasks and metrics

Join us in shaping the future of GoTo-AI by sharing your expertise and insights to make these models more accessible, accurate, and versatile.

You can contribute your ideas through this form.

The Team

PT GoTo Gojek Tokopedia Tbk

Annisa Dininta, Chau Shiau Ching, Saini Ajay Kumar, Shalev Ofir, Tep Kilian Rithi, Widjojo Daniel

AI Singapore

Antonyrex Sajeban, Chan Hok Teng Adwin, Cheng Zi Yi Nicholas, Choa Hsueh Mei Esther, Heng Jonathan, Huang Yuli, Hulagadri Adithya Venkatadri, Jann Railey Estrada Montalan, Kang Siow Wei Bryan, Lau Wayne, Lee Chwan Ren, Leong Wai Yi, Leong Wei Qi, Liew Rachel, Limkonchotiwat Peerat, Muhammad Ridzuan Bin Mokhtar, Nagarajan Karthik, Ng Boon Cheong Raymond, Ngee Chia Tai, Ngui Jian Gang, Nguyen Thanh Ngan, Ong Tat-Wee David, Ong Zhi Hao, Pereira Mark, Rengarajan Hamsawardhini, Susanto Yosephine, Sutaveephamochanon Anocha, Tan Choon Meng, Tan Chor Phin Evelyn, Tan Siao Wei Jessica, Teng Kok Wai Walter, Teo Eng Sipp Leslie, Tjhi William, Yeo Yeow Tong, Yong Xianbin

Acknowledgements

AI Singapore is a national programme supported by the National Research Foundation, Singapore and hosted by the National University of Singapore.

Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not reflect the views of the National Research Foundation or the National University of Singapore.

Contact

For more info, please contact us through: GoTo-AI Inquiry Form.

References

IndoMMLU Reference

@inproceedings{koto-etal-2023-large,
   title = "Large Language Models Only Pass Primary School Exams in {I}ndonesia: A Comprehensive Test on {I}ndo{MMLU}",
   author = "Koto, Fajri  and
     Aisyah, Nurul  and
     Li, Haonan  and
     Baldwin, Timothy",
   editor = "Bouamor, Houda  and
     Pino, Juan  and
     Bali, Kalika",
   booktitle = "Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing",
   month = dec,
   year = "2023",
   address = "Singapore",
   publisher = "Association for Computational Linguistics",
   url = "https://aclanthology.org/2023.emnlp-main.760",
   doi = "10.18653/v1/2023.emnlp-main.760",
   pages = "12359--12374",
}
Downloads last month
768
Safetensors
Model size
27B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for GoToCompany/gemma3-27b-cpt-gotoai-v3-instruct

Quantizations
1 model

Space using GoToCompany/gemma3-27b-cpt-gotoai-v3-instruct 1

Collection including GoToCompany/gemma3-27b-cpt-gotoai-v3-instruct

Papers for GoToCompany/gemma3-27b-cpt-gotoai-v3-instruct