Instructions to use eugenepentland/axolotl_question_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use eugenepentland/axolotl_question_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="eugenepentland/axolotl_question_classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("eugenepentland/axolotl_question_classifier") model = AutoModelForCausalLM.from_pretrained("eugenepentland/axolotl_question_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use eugenepentland/axolotl_question_classifier with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "eugenepentland/axolotl_question_classifier" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "eugenepentland/axolotl_question_classifier", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/eugenepentland/axolotl_question_classifier
- SGLang
How to use eugenepentland/axolotl_question_classifier 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 "eugenepentland/axolotl_question_classifier" \ --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": "eugenepentland/axolotl_question_classifier", "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 "eugenepentland/axolotl_question_classifier" \ --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": "eugenepentland/axolotl_question_classifier", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use eugenepentland/axolotl_question_classifier with Docker Model Runner:
docker model run hf.co/eugenepentland/axolotl_question_classifier
Commit History
-
Training in progress, epoch 3
6691c26 -
Training in progress, epoch 2
f4d72f4 -
Training in progress, epoch 1
4cdfb1f -
Training in progress, epoch 3
0a50e07 -
Training in progress, epoch 1
48541eb -
Training in progress, epoch 3
0db6bfa -
Training in progress, epoch 1
fad74ff -
Training in progress, epoch 5
aca5c59 -
Training in progress, epoch 3
af0150d -
Training in progress, epoch 1
a47d4a2 -
Training in progress, epoch 8
c745b48 -
Training in progress, epoch 4
bee7858 -
Training in progress, epoch 3
b9a678d -
Training in progress, epoch 2
4bde4e0 -
Training in progress, epoch 1
b08365f -
Training in progress, epoch 10
ba1d052 -
Training in progress, epoch 9
d94a2d8 -
Training in progress, epoch 8
9447986 -
Training in progress, epoch 7
fda13be -
Training in progress, epoch 6
b008d1c -
Training in progress, epoch 5
3bccaf4 -
Training in progress, epoch 4
ec75814 -
Training in progress, epoch 3
7137442 -
Training in progress, epoch 2
1b649d1 -
Training in progress, epoch 1
ed7a9cd -
Training in progress, epoch 9
1f61bfe -
Training in progress, epoch 7
1f10297 -
Training in progress, epoch 4
ca1a264 -
Training in progress, epoch 1
56105a4 -
Training in progress, epoch 4
a4642d5 -
Training in progress, epoch 2
9daf1e0 -
Training in progress, epoch 1
f076356 -
Training in progress, epoch 4
31b7c94 -
Training in progress, epoch 1
f6b1285 -
Training in progress, epoch 5
288c889 -
Training in progress, epoch 3
903452c -
Training in progress, epoch 1
3753338 -
Training in progress, epoch 5
f17e3de -
Training in progress, epoch 3
aec81ec -
Training in progress, epoch 1
0200c58
-
Training in progress, epoch 5
d72709f -
Training in progress, epoch 3
1d94385 -
Training in progress, epoch 2
6290bb0 -
Training in progress, epoch 1
be228a4