Downloads · 30 days
7
4% of all-time downloads
sapinsapin/llama31-8b-balitanlp-cpt
llama31-8b-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 llama3.1.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
7
4% of all-time downloads
All-time downloads
199
Public
Parameters
8B
96.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors32.1 GB · 100%
From the Hugging Face model README
This model is a continuously pretrained version of meta-llama/Llama-3.1-8B on an unknown dataset.
Continuous pretraining on Filipino news articles from https://huggingface.co/datasets/LanceBunag/BalitaNLP
More information needed
More information needed
The following hyperparameters were used during training:
Before continuous pretraining:

After:
| Test # | Prompt | Max Tokens | Model | Completion (Truncated) | Finish Reason | Prompt Tokens | Completion Tokens | Total Tokens |
|---|---|---|---|---|---|---|---|---|
| 1 | Kumusta ka? | 50 | internetoftim/llama31-8b-balitanlp-cpt | "Ano ang isang magandang kanta na maaaring maging..." | length | 6 | 50 | 56 |
| 2 | P900-M RELIEF GOODS INIHANDA NG NDRRMC PARA SA BAGYO | 100 | internetoftim/llama31-8b-balitanlp-cpt | "NA TUMATAAS SA HAWAAN NG BISAYA – NDRRMC ..." | length | 22 | 100 | 122 |
| 3 | Tony Labrusca | 500 | internetoftim/llama31-8b-balitanlp-cpt | "gagahin ang kanyang mga fan sa Instagram kung paano na raw siya ngayon..." | stop | 6 | 168 | 174 |
📌 API Test Notes
curl -X POST localhost:8080/v1/completions
-H "Content-Type: application/json"
-d '{
"model": "internetoftim/llama31-8b-balitanlp-cpt",
"prompt": "Kumusta ka?",
"max_tokens": 50,
"temperature": 0.7
}'
Result 1 { "id": "cmpl-f10e26c5290a460b89156bc373b5d6f6", "object": "text_completion", "created": 1765715251, "model": "internetoftim/llama31-8b-balitanlp-cpt", "choices": [ { "index": 0, "text": " Ano ang isang magandang kanta na ang maaaring maging ang ikawang single na sisimulan mo ngayong taon? Sa halip na manood ka lang ng mga kanta ng ibang artista,", "logprobs": null, "finish_reason": "length", "stop_reason": null, "token_ids": null, "prompt_logprobs": null, "prompt_token_ids": null } ], "service_tier": null, "system_fingerprint": null, "usage": { "prompt_tokens": 6, "total_tokens": 56, "completion_tokens": 50, "prompt_tokens_details": null }, "kv_transfer_params": null }
curl -X POST localhost:8080/v1/completions
-H "Content-Type: application/json"
-d '{
"model": "internetoftim/llama31-8b-balitanlp-cpt",
"prompt": "P900-M RELIEF GOODS INIHANDA NG NDRRMC PARA SA BAGYO",
"max_tokens": 100,
"temperature": 0.7
}'
Result 2 { "id": "cmpl-106c32f72d464409a9f7d8597bded8b6", "object": "text_completion", "created": 1765715647, "model": "internetoftim/llama31-8b-balitanlp-cpt", "choices": [ { "index": 0, "text": " NA TUMATAAS SA HAWAAN NG BISAYA – NDRRMC (NATIONAL DISASTER RISK REDUCTION AND MANAGEMENT COUNCIL) ay inihanda na ang P900-Million worth ng relief goods na gagamitin para sa mga nasalanta ng bagyo sa Eastern Visayas, Central Visayas at Western Visayas, na tumataas sa Dagat sa Timog China at patungong Luzon sa loob ng Linggo,", "logprobs": null, "finish_reason": "length", "stop_reason": null, "token_ids": null, "prompt_logprobs": null, "prompt_token_ids": null } ], "service_tier": null, "system_fingerprint": null, "usage": { "prompt_tokens": 22, "total_tokens": 122, "completion_tokens": 100, "prompt_tokens_details": null }, "kv_transfer_params": null }
curl -X POST localhost:8080/v1/completions
-H "Content-Type: application/json"
-d '{
"model": "internetoftim/llama31-8b-balitanlp-cpt",
"prompt": "P900-M RELIEF GOODS INIHANDA NG NDRRMC PARA SA BAGYO",
"max_tokens": 100,
"temperature": 0.7
}'
{ "id": "cmpl-106c32f72d464409a9f7d8597bded8b6", "object": "text_completion", "created": 1765715647, "model": "internetoftim/llama31-8b-balitanlp-cpt", "choices": [ { "index": 0, "text": " NA TUMATAAS SA HAWAAN NG BISAYA – NDRRMC (NATIONAL DISASTER RISK REDUCTION AND MANAGEMENT COUNCIL) ay inihanda na ang P900-Million worth ng relief goods na gagamitin para sa mga nasalanta ng bagyo sa Eastern Visayas, Central Visayas at Western Visayas, na tumataas sa Dagat sa Timog China at patungong Luzon sa loob ng Linggo,", "logprobs": null, "finish_reason": "length", "stop_reason": null, "token_ids": null, "prompt_logprobs": null, "prompt_token_ids": null } ], "service_tier": null, "system_fingerprint": null, "usage": { "prompt_tokens": 22, "total_tokens": 122, "completion_tokens": 100, "prompt_tokens_details": null }, "kv_transfer_params": null }
####TL;DR This is pre-trained base model, it's not quite useful but you can see it learned some Filipino. Next would be to do instruction tuning.