Instructions to use ardanila/vector_d with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ardanila/vector_d with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ardanila/vector_d")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ardanila/vector_d") model = AutoModelForCausalLM.from_pretrained("ardanila/vector_d", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ardanila/vector_d with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ardanila/vector_d" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ardanila/vector_d", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ardanila/vector_d
- SGLang
How to use ardanila/vector_d 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 "ardanila/vector_d" \ --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": "ardanila/vector_d", "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 "ardanila/vector_d" \ --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": "ardanila/vector_d", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use ardanila/vector_d with Docker Model Runner:
docker model run hf.co/ardanila/vector_d
Commit History
-
Training in progress, step 4500
5b41074 -
Training in progress, step 3000
174b562 -
Training in progress, step 1500
5cca15d -
Training in progress, step 1500
3a45c99
-
Training in progress, step 10500
4cc4c7b -
Training in progress, step 9000
0698800 -
Training in progress, step 7500
f1c8f2e -
Training in progress, step 6000
7b9586b -
Training in progress, step 4500
5f2c5b7 -
Training in progress, step 3000
4d1ab39 -
Training in progress, step 1500
9c3be2c -
Training in progress, step 7500
755f7ae -
Training in progress, step 6000
da38b37 -
Training in progress, step 4500
43f86d1 -
Training in progress, step 3000
32ac1d8 -
Training in progress, step 1500
0168876
-
Training in progress, step 55500
b89ad69 -
Training in progress, step 52500
f995b9e -
Training in progress, step 49500
75b6b11 -
Training in progress, step 46500
d298a9a -
Training in progress, step 43500
6a42695 -
Training in progress, step 40500
0d5af85 -
Training in progress, step 37500
d492f29 -
Training in progress, step 34500
c2929b5 -
Training in progress, step 31500
bde91b9 -
Training in progress, step 28500
1279f6d -
Training in progress, step 25500
257edb9 -
Training in progress, step 22500
d466d97 -
Training in progress, step 19500
4ba46d2 -
Training in progress, step 16500
f65249c -
Training in progress, step 13500
afdc07e -
Training in progress, step 10500
3489254 -
Training in progress, step 7500
2a96fd6 -
Training in progress, step 4500
ce4ebd1 -
Training in progress, step 1500
a41730c -
initial commit
0743992