Instructions to use jeiku/Skinwalker_3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jeiku/Skinwalker_3B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="jeiku/Skinwalker_3B", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("jeiku/Skinwalker_3B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use jeiku/Skinwalker_3B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jeiku/Skinwalker_3B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jeiku/Skinwalker_3B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/jeiku/Skinwalker_3B
- SGLang
How to use jeiku/Skinwalker_3B 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 "jeiku/Skinwalker_3B" \ --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": "jeiku/Skinwalker_3B", "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 "jeiku/Skinwalker_3B" \ --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": "jeiku/Skinwalker_3B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use jeiku/Skinwalker_3B with Docker Model Runner:
docker model run hf.co/jeiku/Skinwalker_3B
Update README.md
Browse files
README.md
CHANGED
|
@@ -18,6 +18,14 @@ tags:
|
|
| 18 |
- merge
|
| 19 |
|
| 20 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
# output
|
| 22 |
|
| 23 |
This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
|
|
|
|
| 18 |
- merge
|
| 19 |
|
| 20 |
---
|
| 21 |
+
# About This Model
|
| 22 |
+
|
| 23 |
+
This is the culmination of several weeks of work developing LoRAs for use with the StableLM 3B architecture. I have done away with all of the extraneous NSFW datasets to create a general purpose model more in line with modern model making sensibilities.
|
| 24 |
+
|
| 25 |
+
Note: This model will still output NSFW content if prompted to do so, but I have removed the humiliation and erotica training elements to bring the model more in line with the average users use case.
|
| 26 |
+
|
| 27 |
+
I hope you enjoy!
|
| 28 |
+
|
| 29 |
# output
|
| 30 |
|
| 31 |
This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
|