Instructions to use pool-water/script-kiddie with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pool-water/script-kiddie with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="pool-water/script-kiddie") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("pool-water/script-kiddie") model = AutoModelForCausalLM.from_pretrained("pool-water/script-kiddie", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use pool-water/script-kiddie with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "pool-water/script-kiddie" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "pool-water/script-kiddie", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/pool-water/script-kiddie
- SGLang
How to use pool-water/script-kiddie 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 "pool-water/script-kiddie" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "pool-water/script-kiddie", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "pool-water/script-kiddie" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "pool-water/script-kiddie", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use pool-water/script-kiddie with Docker Model Runner:
docker model run hf.co/pool-water/script-kiddie
Commit ·
cefca95
1
Parent(s): 702785a
:pencil: include more evaluations
Browse files
README.md
CHANGED
|
@@ -64,14 +64,17 @@ On December 25, 2022, in New York City, the sun will rise at 07:16 AM and set at
|
|
| 64 |
Evaluations are on part with Qwen3:
|
| 65 |
|
| 66 |
```
|
|
|
|
| 67 |
| Tasks |Version|Filter|n-shot| Metric | |Value | |Stderr|
|
| 68 |
|---------|------:|------|-----:|--------|---|-----:|---|-----:|
|
| 69 |
-
|
|
| 70 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
```
|
| 72 |
|
| 73 |
-
_Currently running more evaluatiomns_
|
| 74 |
-
|
| 75 |
## Usage
|
| 76 |
|
| 77 |
Suggested use is:
|
|
|
|
| 64 |
Evaluations are on part with Qwen3:
|
| 65 |
|
| 66 |
```
|
| 67 |
+
hf (pretrained=pool-water/script-kiddie,dtype=bfloat16), gen_kwargs: (None), limit: None, num_fewshot: 2, batch_size: auto (40)
|
| 68 |
| Tasks |Version|Filter|n-shot| Metric | |Value | |Stderr|
|
| 69 |
|---------|------:|------|-----:|--------|---|-----:|---|-----:|
|
| 70 |
+
|boolq | 2|none | 2|acc |_ |0.6939|_ |0.0081|
|
| 71 |
+
|hellaswag| 1|none | 2|acc |_ |0.3961|_ |0.0049|
|
| 72 |
+
| | |none | 2|acc_norm|_ |0.4963|_ |0.0050|
|
| 73 |
+
|piqa | 1|none | 2|acc |_ |0.6757|_ |0.0109|
|
| 74 |
+
| | |none | 2|acc_norm|_ |0.6741|_ |0.0109|
|
| 75 |
+
|rte | 1|none | 2|acc |_ |0.6751|_ |0.0282|
|
| 76 |
```
|
| 77 |
|
|
|
|
|
|
|
| 78 |
## Usage
|
| 79 |
|
| 80 |
Suggested use is:
|