Text Generation
Transformers
PyTorch
TensorBoard
English
hypernetwork
lora
doc-to-lora
perceiver
context-distillation
mistral
ministral
Instructions to use neopolita/doc-to-lora-ministral-3b-2512 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use neopolita/doc-to-lora-ministral-3b-2512 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="neopolita/doc-to-lora-ministral-3b-2512")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("neopolita/doc-to-lora-ministral-3b-2512", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use neopolita/doc-to-lora-ministral-3b-2512 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "neopolita/doc-to-lora-ministral-3b-2512" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "neopolita/doc-to-lora-ministral-3b-2512", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/neopolita/doc-to-lora-ministral-3b-2512
- SGLang
How to use neopolita/doc-to-lora-ministral-3b-2512 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 "neopolita/doc-to-lora-ministral-3b-2512" \ --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": "neopolita/doc-to-lora-ministral-3b-2512", "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 "neopolita/doc-to-lora-ministral-3b-2512" \ --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": "neopolita/doc-to-lora-ministral-3b-2512", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use neopolita/doc-to-lora-ministral-3b-2512 with Docker Model Runner:
docker model run hf.co/neopolita/doc-to-lora-ministral-3b-2512
Ctrl+K
- checkpoint-1000
- checkpoint-1250
- checkpoint-1500
- checkpoint-1750
- checkpoint-2000
- checkpoint-2250
- checkpoint-250
- checkpoint-2500
- checkpoint-2750
- checkpoint-3000
- checkpoint-3250
- checkpoint-3500
- checkpoint-3750
- checkpoint-4000
- checkpoint-500
- checkpoint-750
- images
- 1.52 kB
- 8.1 kB
- 5.48 kB
- 492 Bytes
- 336 kB
- 67.9 kB xet
- 1.44 GB xet
- 5.5 kB xet