Text Generation
Transformers
PyTorch
Safetensors
English
llama
text-generation-inference
unsloth
trl
Instructions to use NoOrdinaryJoy/lora_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NoOrdinaryJoy/lora_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="NoOrdinaryJoy/lora_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("NoOrdinaryJoy/lora_model") model = AutoModelForCausalLM.from_pretrained("NoOrdinaryJoy/lora_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use NoOrdinaryJoy/lora_model with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "NoOrdinaryJoy/lora_model" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NoOrdinaryJoy/lora_model", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/NoOrdinaryJoy/lora_model
- SGLang
How to use NoOrdinaryJoy/lora_model 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 "NoOrdinaryJoy/lora_model" \ --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": "NoOrdinaryJoy/lora_model", "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 "NoOrdinaryJoy/lora_model" \ --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": "NoOrdinaryJoy/lora_model", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Unsloth Desktop
- Docker Model Runner
How to use NoOrdinaryJoy/lora_model with Docker Model Runner:
docker model run hf.co/NoOrdinaryJoy/lora_model
Commit History
-
Delete model-00001-of-00004.safetensors
Verified signaturea9af89b -
Upload pytorch_model-00004-of-00004.bin with huggingface_hub
Verified signature4bd306a -
Upload pytorch_model-00003-of-00004.bin with huggingface_hub
Verified signature3e9c762 -
Upload pytorch_model-00002-of-00004.bin with huggingface_hub
Verified signature46b1ad9 -
Upload pytorch_model-00001-of-00004.bin with huggingface_hub
Verified signature3b6d4f2 -
Upload pytorch_model-00001-of-00004.bin with huggingface_hub
Verified signature570f84a -
Upload pytorch_model-00001-of-00004.bin with huggingface_hub
Verified signature777e6c5 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fasterbee88a7 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster6d00dd6 -
Upload model-00001-of-00004.safetensors with huggingface_hub
Verified signature58397bb -
Upload 6 files
Verified signature58dcfae -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster8359e05 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster0ffe3e1
-
Create preupload/main/READ.ME
Verified signature67f2321 -
Delete preupload
Verified signature9b776c6 -
Create preupload/main/
Verified signature7642e10 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fasterbed3566 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fasterfacdc66
-
Upload tokenizer
Verified signature077cbab -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fasterf6a215a -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster483ba33 -
Upload tokenizer
Verified signature4accab2 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fastera3a55a2 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster583456c -
Upload tokenizer
Verified signature9bf807d -
Upload tokenizer
Verified signature72453d3 -
Upload tokenizer
Verified signaturefd3655e -
Upload tokenizer
Verified signature8ce2372 -
Upload tokenizer
Verified signature21fade7 -
Upload tokenizer
Verified signatureb12bfcf -
Upload tokenizer
Verified signature4a0f02a -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fasterafa65e1 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster85e84f7 -
Create config.json
Verified signaturee9471a1 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fastere2c85d6 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fastere5e24a8 -
Upload README.md with huggingface_hub
Verified signatureb217691 -
initial commit
Verified signature3d20dcd