Instructions to use goendalf666/salesGPT_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use goendalf666/salesGPT_v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="goendalf666/salesGPT_v1", trust_remote_code=True)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("goendalf666/salesGPT_v1", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use goendalf666/salesGPT_v1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "goendalf666/salesGPT_v1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "goendalf666/salesGPT_v1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/goendalf666/salesGPT_v1
- SGLang
How to use goendalf666/salesGPT_v1 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 "goendalf666/salesGPT_v1" \ --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": "goendalf666/salesGPT_v1", "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 "goendalf666/salesGPT_v1" \ --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": "goendalf666/salesGPT_v1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use goendalf666/salesGPT_v1 with Docker Model Runner:
docker model run hf.co/goendalf666/salesGPT_v1
Commit ·
de6c5da
1
Parent(s): 0ea2a8d
Training in progress, step 500
Browse files- adapter_config.json +1 -1
- adapter_model.bin +2 -2
- training_args.bin +1 -1
adapter_config.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
"lora_dropout": 0.05,
|
| 12 |
"modules_to_save": null,
|
| 13 |
"peft_type": "LORA",
|
| 14 |
-
"r":
|
| 15 |
"revision": null,
|
| 16 |
"target_modules": [
|
| 17 |
"Wqkv",
|
|
|
|
| 11 |
"lora_dropout": 0.05,
|
| 12 |
"modules_to_save": null,
|
| 13 |
"peft_type": "LORA",
|
| 14 |
+
"r": 128,
|
| 15 |
"revision": null,
|
| 16 |
"target_modules": [
|
| 17 |
"Wqkv",
|
adapter_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4db696ae7af486a2301cf30e555967a49af7d554bfccc1ab239157d748113dfc
|
| 3 |
+
size 151028814
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4536
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8a385fb9f63a512cd0383ec7f0eeff8225cc123d55b9c27c10d792a2e32d25a2
|
| 3 |
size 4536
|