Text Generation
Transformers
Safetensors
Polish
gpt2
polish
base-model
from-scratch
amd-rocm
continued-pretraining
Eval Results (legacy)
text-generation-inference
Instructions to use Maggio33/GoLLeM-110M-PL-v3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Maggio33/GoLLeM-110M-PL-v3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Maggio33/GoLLeM-110M-PL-v3")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Maggio33/GoLLeM-110M-PL-v3") model = AutoModelForCausalLM.from_pretrained("Maggio33/GoLLeM-110M-PL-v3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Maggio33/GoLLeM-110M-PL-v3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Maggio33/GoLLeM-110M-PL-v3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Maggio33/GoLLeM-110M-PL-v3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Maggio33/GoLLeM-110M-PL-v3
- SGLang
How to use Maggio33/GoLLeM-110M-PL-v3 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Maggio33/GoLLeM-110M-PL-v3" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Maggio33/GoLLeM-110M-PL-v3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Maggio33/GoLLeM-110M-PL-v3" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Maggio33/GoLLeM-110M-PL-v3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Maggio33/GoLLeM-110M-PL-v3 with Docker Model Runner:
docker model run hf.co/Maggio33/GoLLeM-110M-PL-v3
Commit History
-
Add training recipe/script (README.md, train_125m.py)
Verified signaturef43524c
-
card: podpiecie datasetu treningowego SlayerLab/gollem-corpus-2b-pl
Verified signature32f2638
-
card: attach structured model-index (board-repro benchmarks, 7 tasks)
Verified signature952cbfe -
card: attach structured model-index (board-repro benchmarks, 7 tasks)
Verified signature375d1cb -
card: board-repro eval (domain-PMI, v3>v2 +2.55 Signal-6), acknowledgements
Verified signatureb09c8d8 -
card: base model (continued-pretraining), remove base_model field that mislabeled as finetune
Verified signaturea80b227 -
GoLLeM-110M-PL-v3 (v2 +1 epoch on same 2B; honest internal eval, CBD regression noted)
Verified signature597edf6 -
initial commit
Verified signaturefbee5f5