Instructions to use IvanD2002/falcon7binstruct_stuco_task with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IvanD2002/falcon7binstruct_stuco_task with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="IvanD2002/falcon7binstruct_stuco_task")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("IvanD2002/falcon7binstruct_stuco_task", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use IvanD2002/falcon7binstruct_stuco_task with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "IvanD2002/falcon7binstruct_stuco_task" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "IvanD2002/falcon7binstruct_stuco_task", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/IvanD2002/falcon7binstruct_stuco_task
- SGLang
How to use IvanD2002/falcon7binstruct_stuco_task 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 "IvanD2002/falcon7binstruct_stuco_task" \ --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": "IvanD2002/falcon7binstruct_stuco_task", "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 "IvanD2002/falcon7binstruct_stuco_task" \ --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": "IvanD2002/falcon7binstruct_stuco_task", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use IvanD2002/falcon7binstruct_stuco_task with Docker Model Runner:
docker model run hf.co/IvanD2002/falcon7binstruct_stuco_task
Training in progress, step 20
Browse files
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 261131840
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13fe6150a64a4b3df93f131ddefe5bb4c5d838e1417fee3c52b88441a81c3a85
|
| 3 |
size 261131840
|
runs/Apr10_13-25-28_98425f0a4805/events.out.tfevents.1712755544.98425f0a4805.1289.0
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:a42d4b7e84d06c8f46ac3ec93f39face52a7359c3f2edbfb3ff6be9f6adc5983
|
| 3 |
+
size 6522
|