Downloads · 30 days
32
4% of all-time downloads
Gpeik/Sophira-360M-base
Sophira-360M-base is a text generation model from Gpeik. 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.
<p align="center" <img src="assets/sophira.png" alt="Sophira project asset" width="720" </p
Downloads · 30 days
32
4% of all-time downloads
All-time downloads
851
Public
Parameters
376M
755 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors752 MB · 99%
From the Hugging Face model README
Sophira-360M-baseGpeik/Sophira-360M-baseSophira-360M-base-v0.1376.075.200iter_1.104.964Gpeik/Sophira-tokenizer-64k-v0This model is the first published base-pretraining artifact for the Sophira project.
Intended uses:
This artifact is not yet documented or evaluated as suitable for:
Canonical training sources:
uonlp/CulturaX Italian subsetPleIAs/Italian-PDFull-pass mixture used for this run:
82.977% CulturaX Italian17.023% Italian-PDMeasured source-token counts:
CulturaX_it: 135.197.223.323Italian_PD: 27.736.341.018Total: 162.933.564.341The project license policy and source-license references remain tracked in DATA_LICENSES.md.
.venv-apex3 nodes / 12 GPUs2048372147.4561.104.96450.000Final successful completion occurred on Sunday, July 26, 2026.
End-of-training validation:
1.104.9642.910531E+001.836655E+01This is the validated Megatron end-of-training metric for the completed full-pass run.
Release validation and benchmark highlights:
Hugging Face controlled-generation summary:
empty_generation_rate: 0.0avg_repeated_bigram_fraction: 0.1148avg_repeated_trigram_fraction: 0.0809avg_topic_keyword_overlap: 0.23stronger benchmark groups (BLiMP-IT):
verbal_class_and_argument_structure: 0.9500pronouns: 0.7188agreement_and_inflection: 0.7454 with appended EOSTransformers example:
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "Gpeik/Sophira-360M-base"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
dtype=torch.bfloat16,
device_map="auto",
)
prompt = "Il governo ha annunciato che"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
with torch.inference_mode():
outputs = model.generate(
**inputs,
max_new_tokens=80,
do_sample=True,
temperature=0.7,
top_p=0.9,
eos_token_id=tokenizer.eos_token_id,
pad_token_id=tokenizer.pad_token_id,
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Pipeline example:
from transformers import pipeline
import torch
generator = pipeline(
"text-generation",
model="Gpeik/Sophira-360M-base",
tokenizer="Gpeik/Sophira-360M-base",
model_kwargs={"dtype": torch.bfloat16},
device_map="auto",
)
result = generator(
"Milano, 19 luglio - La Borsa europea ha chiuso",
max_new_tokens=80,
do_sample=True,
temperature=0.8,
top_p=0.95,
)
print(result[0]["generated_text"])
Completed:
The canonical release candidate checkpoint is:
iter_1104964The published Hugging Face repository is intended to contain:
README.mdSource dataset licenses remain governed by their upstream terms and by the repository tracking in DATA_LICENSES.md.
If you use this model in academic work, please cite it as follows:
@misc{peikos2026sophira360mbase,
title = {Sophira-360M-base},
author = {Peikos, Georgios},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/Gpeik/Sophira-360M-base}},
}