Text Generation
Transformers
Safetensors
mistral
axolotl
Generated from Trainer
text-generation-inference
Instructions to use AiAF/Pretraining-SCPWiki-032025-12B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AiAF/Pretraining-SCPWiki-032025-12B-Instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="AiAF/Pretraining-SCPWiki-032025-12B-Instruct")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("AiAF/Pretraining-SCPWiki-032025-12B-Instruct") model = AutoModelForCausalLM.from_pretrained("AiAF/Pretraining-SCPWiki-032025-12B-Instruct", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use AiAF/Pretraining-SCPWiki-032025-12B-Instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AiAF/Pretraining-SCPWiki-032025-12B-Instruct" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AiAF/Pretraining-SCPWiki-032025-12B-Instruct", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/AiAF/Pretraining-SCPWiki-032025-12B-Instruct
- SGLang
How to use AiAF/Pretraining-SCPWiki-032025-12B-Instruct 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 "AiAF/Pretraining-SCPWiki-032025-12B-Instruct" \ --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": "AiAF/Pretraining-SCPWiki-032025-12B-Instruct", "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 "AiAF/Pretraining-SCPWiki-032025-12B-Instruct" \ --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": "AiAF/Pretraining-SCPWiki-032025-12B-Instruct", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use AiAF/Pretraining-SCPWiki-032025-12B-Instruct with Docker Model Runner:
docker model run hf.co/AiAF/Pretraining-SCPWiki-032025-12B-Instruct
Commit History
-
End of training
Verified signature3b63c5e -
Training in progress, step 567
Verified signature276128d -
Training in progress, step 551
Verified signaturea691c6e -
Training in progress, step 522
Verified signature4a02d9e -
Training in progress, step 493
Verified signature638044f -
Training in progress, step 464
Verified signaturedbb1939 -
Training in progress, step 435
Verified signature0b9cfaf -
Training in progress, step 406
Verified signature8d26ca0 -
Training in progress, step 377
Verified signatureb98b5db -
Training in progress, step 348
Verified signatureb3f2a88 -
Training in progress, step 319
Verified signaturec3212c7 -
Training in progress, step 290
Verified signaturef5db46d -
Training in progress, step 261
Verified signaturebe8cdff -
Training in progress, step 232
Verified signature4392bfc -
Training in progress, step 203
Verified signature15c9c2a -
Training in progress, step 174
Verified signature9acb625
-
Training in progress, step 145
Verified signature0ddc5fb -
Training in progress, step 116
Verified signature4b381e6 -
Training in progress, step 87
Verified signature42f94be -
Training in progress, step 58
Verified signatureed45915 -
Training in progress, step 29
Verified signature96325a5 -
initial commit
Verified signature77f0f29