Instructions to use csoftware/lola with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use csoftware/lola with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="csoftware/lola")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("csoftware/lola", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use csoftware/lola with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "csoftware/lola" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "csoftware/lola", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/csoftware/lola
- SGLang
How to use csoftware/lola 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 "csoftware/lola" \ --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": "csoftware/lola", "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 "csoftware/lola" \ --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": "csoftware/lola", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use csoftware/lola with Docker Model Runner:
docker model run hf.co/csoftware/lola
Commit History
-
Update README.md
Verified signatured4b8db6 -
Delete vocab.json
Verified signature43de18c -
Delete training_args.bin
Verified signature35c792f -
Delete tokenizer_config.json
Verified signaturee3232b1 -
Delete special_tokens_map.json
Verified signature2188696 -
Delete model.safetensors
Verified signature63c9800 -
Delete merges.txt
Verified signaturee562e64 -
Delete generation_config.json
Verified signaturea7c8e58 -
Delete config.json
Verified signature0e228c6 -
Delete checkpoint-5000
Verified signaturee41f684 -
Upload 16 files
Verified signature0d23055 -
Delete config.json
Verified signatureb34688b -
Delete generation_config.json
Verified signatureb204c87 -
Delete merges.txt
Verified signature283ae12 -
Delete model.safetensors
Verified signaturef0a8a1e -
Delete optimizer.pt
Verified signature4827759 -
Delete rng_state.pth
Verified signaturee089e0e -
Delete scheduler.pt
Verified signature6853cfd -
Delete special_tokens_map.json
Verified signaturef84fcc9 -
Delete tokenizer_config.json
Verified signatured3c47c5 -
Upload 9 files
Verified signature8dbdcbd -
Update README.md
Verified signature9183c15 -
Update README.md
Verified signature2eebcfb -
Update README.md
Verified signature5856877 -
Update README.md
Verified signaturec07bcea -
initial commit
Verified signature88e60b0