Instructions to use Anshler/selective-blind-guessing with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Anshler/selective-blind-guessing with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Anshler/selective-blind-guessing")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Anshler/selective-blind-guessing") model = AutoModel.from_pretrained("Anshler/selective-blind-guessing") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Anshler/selective-blind-guessing with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Anshler/selective-blind-guessing" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Anshler/selective-blind-guessing", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Anshler/selective-blind-guessing
- SGLang
How to use Anshler/selective-blind-guessing 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 "Anshler/selective-blind-guessing" \ --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": "Anshler/selective-blind-guessing", "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 "Anshler/selective-blind-guessing" \ --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": "Anshler/selective-blind-guessing", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Anshler/selective-blind-guessing with Docker Model Runner:
docker model run hf.co/Anshler/selective-blind-guessing
Upload 2 files
Browse files- all_labels.pkl +3 -0
- encyclopedia.pkl +3 -0
all_labels.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4463b673465ee4c5a9e185e2cf77482ed1f2bcaba7bc0196e591a0059925c53a
|
| 3 |
+
size 107881
|
encyclopedia.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:921df5859cc65a621197e1d8386f32b8c628891c3356a9653266e8a9151f147a
|
| 3 |
+
size 51281
|