Text Generation
Transformers
Safetensors
cohere2
cohere
tiny-aya
lexsi
shadowwork-shift
conversational
Instructions to use i-am-shaurya05/shadowwork-shift-plain-sft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use i-am-shaurya05/shadowwork-shift-plain-sft with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="i-am-shaurya05/shadowwork-shift-plain-sft") 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("i-am-shaurya05/shadowwork-shift-plain-sft") model = AutoModelForCausalLM.from_pretrained("i-am-shaurya05/shadowwork-shift-plain-sft", 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 i-am-shaurya05/shadowwork-shift-plain-sft with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "i-am-shaurya05/shadowwork-shift-plain-sft" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "i-am-shaurya05/shadowwork-shift-plain-sft", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/i-am-shaurya05/shadowwork-shift-plain-sft
- SGLang
How to use i-am-shaurya05/shadowwork-shift-plain-sft 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 "i-am-shaurya05/shadowwork-shift-plain-sft" \ --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": "i-am-shaurya05/shadowwork-shift-plain-sft", "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 "i-am-shaurya05/shadowwork-shift-plain-sft" \ --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": "i-am-shaurya05/shadowwork-shift-plain-sft", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use i-am-shaurya05/shadowwork-shift-plain-sft with Docker Model Runner:
docker model run hf.co/i-am-shaurya05/shadowwork-shift-plain-sft
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
pipeline_tag: text-generation
|
| 4 |
+
license: cc-by-nc-4.0
|
| 5 |
+
base_model: CohereLabs/tiny-aya-global
|
| 6 |
+
base_model_relation: finetune
|
| 7 |
+
tags:
|
| 8 |
+
- cohere
|
| 9 |
+
- tiny-aya
|
| 10 |
+
- lexsi
|
| 11 |
+
- shadowwork-shift
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# ShadowWork-SHIFT: Plain SFT (exact frozen parent weights)
|
| 15 |
+
|
| 16 |
+
This is the **full, seven-shard Plain SFT model**, fine-tuned from [CohereLabs/tiny-aya-global](https://huggingface.co/CohereLabs/tiny-aya-global). It is the actual base for all three published ShadowWork v2/09 LoRA adapters. **Do not substitute the original Cohere checkpoint** for this intermediate fine-tune.
|
| 17 |
+
|
| 18 |
+
Frozen SHA-256 digest (canonical mapping of seven shard hashes): `5a389463f34416e0ec75ace32b07a3090dcb20fcc060d43df9dfa985a37bfd87`. See `provenance/base_checkpoint_shards_sha256.json` for every shard hash.
|
| 19 |
+
|
| 20 |
+
The model inherits Cohere's **CC-BY-NC** and Acceptable Use Policy obligations. Intended only for non-commercial research and reproducibility of a synthetic configuration-maintenance tool agent. No real-world operational safety has been established.
|