Instructions to use foxanthis/data with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use foxanthis/data with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="foxanthis/data")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("foxanthis/data") model = AutoModelForCausalLM.from_pretrained("foxanthis/data") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use foxanthis/data with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "foxanthis/data" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "foxanthis/data", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/foxanthis/data
- SGLang
How to use foxanthis/data 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 "foxanthis/data" \ --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": "foxanthis/data", "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 "foxanthis/data" \ --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": "foxanthis/data", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use foxanthis/data with Docker Model Runner:
docker model run hf.co/foxanthis/data
kds-model
Browse files- runs/Feb03_17-23-38_6279995e51d6/1675445066.9672344/events.out.tfevents.1675445066.6279995e51d6.22116.1 +3 -0
- runs/Feb03_17-23-38_6279995e51d6/1675445807.1661086/events.out.tfevents.1675445807.6279995e51d6.22116.3 +3 -0
- runs/Feb03_17-23-38_6279995e51d6/events.out.tfevents.1675445066.6279995e51d6.22116.0 +3 -0
- runs/Feb03_17-23-38_6279995e51d6/events.out.tfevents.1675445807.6279995e51d6.22116.2 +3 -0
- training_args.bin +1 -1
runs/Feb03_17-23-38_6279995e51d6/1675445066.9672344/events.out.tfevents.1675445066.6279995e51d6.22116.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c7f77133f046c46dd56a1afcf65bb9273b3ed2c8e3794d8eaa95057541e8a9d
|
| 3 |
+
size 5627
|
runs/Feb03_17-23-38_6279995e51d6/1675445807.1661086/events.out.tfevents.1675445807.6279995e51d6.22116.3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27aa42c0287b51f20d3f034e6d2fbd467eb934165468a8dc6e5369de543e0508
|
| 3 |
+
size 5627
|
runs/Feb03_17-23-38_6279995e51d6/events.out.tfevents.1675445066.6279995e51d6.22116.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c3635b1c7986653abd2fa9ef254dd81fcf44b678651c376bbabe0865d123285
|
| 3 |
+
size 5284
|
runs/Feb03_17-23-38_6279995e51d6/events.out.tfevents.1675445807.6279995e51d6.22116.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e7da601eb5794611dea09f5f443fff7feb15d31dd59ab220c5ed59b0e6a02e9
|
| 3 |
+
size 5284
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3451
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7d290dce8717846a59fd68f98b9e4e5e0ed9e3bf0a8cfa2a2d578ed9eff1ae5e
|
| 3 |
size 3451
|