Instructions to use Jordansky/SFTSmoke-GR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Jordansky/SFTSmoke-GR with PEFT:
Base model is not found.
- Transformers
How to use Jordansky/SFTSmoke-GR with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Jordansky/SFTSmoke-GR") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Jordansky/SFTSmoke-GR", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Jordansky/SFTSmoke-GR with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Jordansky/SFTSmoke-GR" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Jordansky/SFTSmoke-GR", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Jordansky/SFTSmoke-GR
- SGLang
How to use Jordansky/SFTSmoke-GR 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 "Jordansky/SFTSmoke-GR" \ --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": "Jordansky/SFTSmoke-GR", "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 "Jordansky/SFTSmoke-GR" \ --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": "Jordansky/SFTSmoke-GR", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Jordansky/SFTSmoke-GR with Docker Model Runner:
docker model run hf.co/Jordansky/SFTSmoke-GR
Upload task output 1
Browse files- adapter_config.json +4 -4
- adapter_model.safetensors +1 -1
- loss.txt +1 -1
- trainer_state.json +0 -0
- training_args.bin +1 -1
adapter_config.json
CHANGED
|
@@ -30,12 +30,12 @@
|
|
| 30 |
"revision": null,
|
| 31 |
"target_modules": [
|
| 32 |
"up_proj",
|
| 33 |
-
"
|
| 34 |
"q_proj",
|
| 35 |
-
"gate_proj",
|
| 36 |
"down_proj",
|
| 37 |
-
"
|
| 38 |
-
"
|
|
|
|
| 39 |
],
|
| 40 |
"target_parameters": null,
|
| 41 |
"task_type": "CAUSAL_LM",
|
|
|
|
| 30 |
"revision": null,
|
| 31 |
"target_modules": [
|
| 32 |
"up_proj",
|
| 33 |
+
"k_proj",
|
| 34 |
"q_proj",
|
|
|
|
| 35 |
"down_proj",
|
| 36 |
+
"v_proj",
|
| 37 |
+
"gate_proj",
|
| 38 |
+
"o_proj"
|
| 39 |
],
|
| 40 |
"target_parameters": null,
|
| 41 |
"task_type": "CAUSAL_LM",
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 319876032
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9b72e600a1df02248f15963c3d348222177175cca57d3f3c90c788e1e99ae01e
|
| 3 |
size 319876032
|
loss.txt
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
43,no_eval
|
trainer_state.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 8081
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e643070ce959bccb245b15540824bcb063c8b830035cf64fbe56348a92d96db9
|
| 3 |
size 8081
|