Text Generation
Transformers
Safetensors
Polish
gpt2
polish
base-model
from-scratch
amd-rocm
continued-pretraining
Eval Results (legacy)
text-generation-inference
Instructions to use SlayerLab/GoLLeM-110M-PL-v3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SlayerLab/GoLLeM-110M-PL-v3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="SlayerLab/GoLLeM-110M-PL-v3")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("SlayerLab/GoLLeM-110M-PL-v3") model = AutoModelForCausalLM.from_pretrained("SlayerLab/GoLLeM-110M-PL-v3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use SlayerLab/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 "SlayerLab/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": "SlayerLab/GoLLeM-110M-PL-v3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/SlayerLab/GoLLeM-110M-PL-v3
- SGLang
How to use SlayerLab/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 "SlayerLab/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": "SlayerLab/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 "SlayerLab/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": "SlayerLab/GoLLeM-110M-PL-v3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use SlayerLab/GoLLeM-110M-PL-v3 with Docker Model Runner:
docker model run hf.co/SlayerLab/GoLLeM-110M-PL-v3
card: attach structured model-index (board-repro benchmarks, 7 tasks)
Browse files
README.md
CHANGED
|
@@ -19,11 +19,11 @@ model-index:
|
|
| 19 |
- task: {type: text-classification, name: PolEmo2-IN sentiment}
|
| 20 |
dataset: {type: allegro/klej-polemo2-in, name: PolEmo2-IN}
|
| 21 |
metrics:
|
| 22 |
-
- {type: accuracy, value: 18.0, name: accuracy (0-shot
|
| 23 |
- task: {type: text-classification, name: 8TAGS topic}
|
| 24 |
dataset: {type: sdadas/8tags, name: 8TAGS}
|
| 25 |
metrics:
|
| 26 |
-
- {type: accuracy, value: 41.2, name: accuracy (0-shot
|
| 27 |
- task: {type: multiple-choice, name: Belebele PL reading}
|
| 28 |
dataset: {type: facebook/belebele, name: Belebele pol_Latn}
|
| 29 |
metrics:
|
|
@@ -31,19 +31,19 @@ model-index:
|
|
| 31 |
- task: {type: text-classification, name: CBD cyberbullying}
|
| 32 |
dataset: {type: ptaszynski/PolishCyberbullyingDataset, name: CBD}
|
| 33 |
metrics:
|
| 34 |
-
- {type: f1, value: 12.6, name: macro-F1 (0-shot
|
| 35 |
- task: {type: text-classification, name: DYK question-answer}
|
| 36 |
dataset: {type: allegro/klej-dyk, name: DYK}
|
| 37 |
metrics:
|
| 38 |
-
- {type: f1, value: 28.3, name: positive-F1 (0-shot
|
| 39 |
- task: {type: token-classification, name: KLEJ NER}
|
| 40 |
dataset: {type: allegro/klej-nkjp-ner, name: KLEJ-NER}
|
| 41 |
metrics:
|
| 42 |
-
- {type: accuracy, value: 18.2, name: accuracy (0-shot
|
| 43 |
- task: {type: text-classification, name: PSC summary}
|
| 44 |
dataset: {type: allegro/klej-psc, name: PSC}
|
| 45 |
metrics:
|
| 46 |
-
- {type: f1, value: 44.2, name: positive-F1 (0-shot
|
| 47 |
---
|
| 48 |
|
| 49 |
# GoLLeM-110M-PL-v3
|
|
|
|
| 19 |
- task: {type: text-classification, name: PolEmo2-IN sentiment}
|
| 20 |
dataset: {type: allegro/klej-polemo2-in, name: PolEmo2-IN}
|
| 21 |
metrics:
|
| 22 |
+
- {type: accuracy, value: 18.0, name: accuracy (0-shot; domain-PMI board-repro)}
|
| 23 |
- task: {type: text-classification, name: 8TAGS topic}
|
| 24 |
dataset: {type: sdadas/8tags, name: 8TAGS}
|
| 25 |
metrics:
|
| 26 |
+
- {type: accuracy, value: 41.2, name: accuracy (0-shot; domain-PMI board-repro)}
|
| 27 |
- task: {type: multiple-choice, name: Belebele PL reading}
|
| 28 |
dataset: {type: facebook/belebele, name: Belebele pol_Latn}
|
| 29 |
metrics:
|
|
|
|
| 31 |
- task: {type: text-classification, name: CBD cyberbullying}
|
| 32 |
dataset: {type: ptaszynski/PolishCyberbullyingDataset, name: CBD}
|
| 33 |
metrics:
|
| 34 |
+
- {type: f1, value: 12.6, name: macro-F1 (0-shot; domain-PMI board-repro)}
|
| 35 |
- task: {type: text-classification, name: DYK question-answer}
|
| 36 |
dataset: {type: allegro/klej-dyk, name: DYK}
|
| 37 |
metrics:
|
| 38 |
+
- {type: f1, value: 28.3, name: positive-F1 (0-shot; domain-PMI board-repro)}
|
| 39 |
- task: {type: token-classification, name: KLEJ NER}
|
| 40 |
dataset: {type: allegro/klej-nkjp-ner, name: KLEJ-NER}
|
| 41 |
metrics:
|
| 42 |
+
- {type: accuracy, value: 18.2, name: accuracy (0-shot; domain-PMI board-repro)}
|
| 43 |
- task: {type: text-classification, name: PSC summary}
|
| 44 |
dataset: {type: allegro/klej-psc, name: PSC}
|
| 45 |
metrics:
|
| 46 |
+
- {type: f1, value: 44.2, name: positive-F1 (0-shot; domain-PMI board-repro)}
|
| 47 |
---
|
| 48 |
|
| 49 |
# GoLLeM-110M-PL-v3
|