Text Generation
Transformers
Safetensors
English
pretrained-from-scratch
causal-lm
gpt
rope
swiglu
grouped-query-attention
Run this model with HF Jobs
Run Dikshan1234/LLMPretrain on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/Dikshan1234/LLMPretrain. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Dikshan1234/LLMPretrain on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/Dikshan1234/LLMPretrain. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/Dikshan1234/LLMPretrain. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use Dikshan1234/LLMPretrain with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Dikshan1234/LLMPretrain with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Dikshan1234/LLMPretrain")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Dikshan1234/LLMPretrain", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Dikshan1234/LLMPretrain with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Dikshan1234/LLMPretrain" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Dikshan1234/LLMPretrain", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Dikshan1234/LLMPretrain
- SGLang
How to use Dikshan1234/LLMPretrain 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 "Dikshan1234/LLMPretrain" \ --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": "Dikshan1234/LLMPretrain", "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 "Dikshan1234/LLMPretrain" \ --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": "Dikshan1234/LLMPretrain", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Dikshan1234/LLMPretrain with Docker Model Runner:
docker model run hf.co/Dikshan1234/LLMPretrain
Commit History
-
Update samples
Verified signature565155b -
Update model card
Verified signature1abec99 -
Update latest checkpoint
Verified signaturec4ee430 -
Update samples
Verified signatured6f37b2 -
Update model card
Verified signature8f41eee -
Update best checkpoint
Verified signaturecd1435d -
Update samples
Verified signature94ed778 -
Update model card
Verified signature84b001a -
Update latest checkpoint
Verified signatured946983
-
Update samples
Verified signatureaee77cd -
Update model card
Verified signaturece84700 -
Update latest checkpoint
Verified signaturef6b3331 -
Update samples
Verified signature7108c2b -
Update model card
Verified signature419f269 -
Update latest checkpoint
Verified signaturedb272f7 -
Update samples
Verified signaturefc4aaee -
Update model card
Verified signature6d703e0 -
Update latest checkpoint
Verified signaturec83cf65 -
Update samples
Verified signature4d86d4c -
Update model card
Verified signature3557d60 -
Update latest checkpoint
Verified signatured62749f
-
Update samples
Verified signaturedcb3dd7 -
Update model card
Verified signatured2d993d -
Update latest checkpoint
Verified signature1512d7c -
Update samples
Verified signature4f836e9 -
Update model card
Verified signature3500572 -
Update latest checkpoint
Verified signaturef73546f -
Update samples
Verified signaturea7bb3fa -
Update model card
Verified signature967932e -
Update latest checkpoint
Verified signature55efedf -
Update samples
Verified signaturec140199 -
Update model card
Verified signature0edeeae -
Update latest checkpoint
Verified signaturef96b193 -
Update samples
Verified signaturefc9547f -
Update model card
Verified signature9002afc -
Update latest checkpoint
Verified signaturee316d78
-
Update samples
Verified signature7c17bcd -
Update model card
Verified signaturea7a3483 -
Update best checkpoint
Verified signaturec01d369 -
Update samples
Verified signature850c249 -
Update model card
Verified signature2d1af48 -
Update latest checkpoint
Verified signatured94e901 -
Update samples
Verified signatureac85bbb -
Update model card
Verified signature1fe1cba -
Update latest checkpoint
Verified signature21d879a -
Update samples
Verified signaturefd53dd2 -
Update model card
Verified signature8f42f8a -
Update latest checkpoint
Verified signaturec0a0c55 -
Update samples
Verified signature1120056 -
Update model card
Verified signaturedee9a4d