Downloads · 30 days
85
1% of all-time downloads
sapinsapin/gpt-oss-20b-balitanlp-cpt
gpt-oss-20b-balitanlp-cpt is a text generation model from sapinsapin. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
85
1% of all-time downloads
All-time downloads
8.9K
Public
Parameters
654M
6.4 TB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors167 GB · 100%
From the Hugging Face model README
This model is continuously pretrained model version of openai/gpt-oss-20b on an unknown dataset.
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
This is pre-trained base model, it's not quite useful but you can see it learned some Filipino.
TODO: Serving examples, evals, instruction tuning.
sapinsapin/gpt-oss-20b-balitanlp-cptcurl -X POST "http://localhost:8001/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "sapinsapin/gpt-oss-20b-balitanlp-cpt",
"messages": [
{
"role": "user",
"content": "Ang sabi nga nila, kapag bumagyo"
}
]
}'
{
"id": "chatcmpl-3ec05bed2618486eba9932752923ac74",
"object": "chat.completion",
"created": 1766881744,
"model": "sapinsapin/gpt-oss-20b-balitanlp-cpt",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Ang sabi nga nila, habang umuulan…peke! Kaawa-awa kapag walang payong at, puro kamay lang ang magpapaihi. Ang siste, kapag naghatid yan ng baha at iligal na droga, iyong mga taong binalot ng mahiwagang double rainbow na lumilitaw after ng ulan? Mas marami, at hindi lang racial 'yan, fantasy straight and diss; K-Pop, drama addicts, ra-rambilli, furrys, chuchichu, pathetic pius, ppl w oarryng, TV-radio, screenplay trainees, and another set of naysayers na tara eh! Yah. Kasi, walang gustong mag bayad ng kabilisan bar matapos yan. At mga ballesteros, tambay lang. 😉 So, nasa dulo ng dulo, uulan din tayo ng pagmamahal. Na walang tuldok tsaka ng uso sa news! 😝 Huwag mong paihi ang sumpa at magpalinlabon na lang. Sunny days welcome pa rin. 🙌",
"refusal": null,
"reasoning_content": "User says: \"Ang sabi nga nila, kapag bumagyo\". Spanish? The user is likely trying to say \"The other night, it rained\" or referencing old sentimental slogan: \"Ang sabi nga nila, kapag bumagyo may hangin. Ang sabi nga nila, kapag umuulan, may baho. Ang sabi nga nila, kapag umuulan, may buhos. Ang sabi nga nila, kapag bumara, may umuupa.\" So maybe the user is praising this old tagline. Possibly they want a completion to the line..."
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 78,
"completion_tokens": 689,
"total_tokens": 767
}
}
This example demonstrates a quick validation that the model has successfully adapted to Filipino/Tagalog language through continuous pre-training (CPT). The response shows:
Continuous pre-training extends a foundation model's knowledge by training it on new domain-specific or language-specific data using the same next-token prediction objective as the original pre-training.
What CPT does:
What CPT does NOT do:
In this case:
After CPT, the model needs post-training to become useful for real applications:
Purpose: Teach the model to follow instructions and respond helpfully
Process:
Result: Model learns to be an assistant rather than just a text generator
Purpose: Align model outputs with human preferences
Process:
Result: Model produces more preferred, safer, and more aligned responses
Alternative to RLHF: Simpler approach that directly optimizes preferences
Process:
1. Pre-training (Foundation)
↓ (Large-scale, general text)
Base Model (e.g., GPT-OSS 20B)
2. Continuous Pre-Training (CPT) ← WE ARE HERE
↓ (Domain/language-specific text)
Adapted Model (e.g., Filipino GPT-OSS)
3. Supervised Fine-Tuning (SFT)
↓ (Instruction-response pairs)
Instruction-Following Model
4. RLHF/DPO
↓ (Human preference data)
Aligned Assistant Model