Text Generation
Transformers
PyTorch
TensorBoard
Safetensors
llama
Generated from Trainer
custom_code
text-generation-inference
Instructions to use flytech/Ruckus-7b-ALPHA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use flytech/Ruckus-7b-ALPHA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="flytech/Ruckus-7b-ALPHA", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("flytech/Ruckus-7b-ALPHA", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("flytech/Ruckus-7b-ALPHA", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use flytech/Ruckus-7b-ALPHA with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "flytech/Ruckus-7b-ALPHA" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "flytech/Ruckus-7b-ALPHA", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/flytech/Ruckus-7b-ALPHA
- SGLang
How to use flytech/Ruckus-7b-ALPHA 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 "flytech/Ruckus-7b-ALPHA" \ --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": "flytech/Ruckus-7b-ALPHA", "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 "flytech/Ruckus-7b-ALPHA" \ --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": "flytech/Ruckus-7b-ALPHA", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use flytech/Ruckus-7b-ALPHA with Docker Model Runner:
docker model run hf.co/flytech/Ruckus-7b-ALPHA
Training in progress, step 1300
Browse files
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 67143296
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df819a8b23c91fd8737730695d619c253e06b55990eead6187bb1cc39f37dccb
|
| 3 |
size 67143296
|
events.out.tfevents.1695077887.ef7f542c87ff.702853.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:f0b362f7c2e0e4a36ff80dc94e31ff656642a621ccd14151c5afdaa39e881b5d
|
| 3 |
+
size 9624
|
events.out.tfevents.1695077887.ef7f542c87ff.702853.1
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:6ad684504189f9af5dd0b7139872d8cc5916c2988e56b043be93f8c043513dd2
|
| 3 |
+
size 9624
|