Text Generation
Transformers
PyTorch
TensorBoard
Safetensors
llama
Generated from Trainer
text-generation-inference
Instructions to use flytech/Ruckus-13b-Y with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use flytech/Ruckus-13b-Y with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="flytech/Ruckus-13b-Y")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("flytech/Ruckus-13b-Y") model = AutoModelForCausalLM.from_pretrained("flytech/Ruckus-13b-Y") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use flytech/Ruckus-13b-Y with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "flytech/Ruckus-13b-Y" # 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-13b-Y", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/flytech/Ruckus-13b-Y
- SGLang
How to use flytech/Ruckus-13b-Y 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-13b-Y" \ --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-13b-Y", "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-13b-Y" \ --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-13b-Y", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use flytech/Ruckus-13b-Y with Docker Model Runner:
docker model run hf.co/flytech/Ruckus-13b-Y
Model save
Browse files
README.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: meta-llama/Llama-2-13b-hf
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
model-index:
|
| 6 |
+
- name: Ruckus-13b-Y
|
| 7 |
+
results: []
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 11 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 12 |
+
|
| 13 |
+
# Ruckus-13b-Y
|
| 14 |
+
|
| 15 |
+
This model is a fine-tuned version of [meta-llama/Llama-2-13b-hf](https://huggingface.co/meta-llama/Llama-2-13b-hf) on an unknown dataset.
|
| 16 |
+
|
| 17 |
+
## Model description
|
| 18 |
+
|
| 19 |
+
More information needed
|
| 20 |
+
|
| 21 |
+
## Intended uses & limitations
|
| 22 |
+
|
| 23 |
+
More information needed
|
| 24 |
+
|
| 25 |
+
## Training and evaluation data
|
| 26 |
+
|
| 27 |
+
More information needed
|
| 28 |
+
|
| 29 |
+
## Training procedure
|
| 30 |
+
|
| 31 |
+
### Training hyperparameters
|
| 32 |
+
|
| 33 |
+
The following hyperparameters were used during training:
|
| 34 |
+
- learning_rate: 0.0002
|
| 35 |
+
- train_batch_size: 64
|
| 36 |
+
- eval_batch_size: 64
|
| 37 |
+
- seed: 42
|
| 38 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 39 |
+
- lr_scheduler_type: constant
|
| 40 |
+
- num_epochs: 8
|
| 41 |
+
|
| 42 |
+
### Training results
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
### Framework versions
|
| 47 |
+
|
| 48 |
+
- Transformers 4.33.2
|
| 49 |
+
- Pytorch 2.0.1+cu118
|
| 50 |
+
- Datasets 2.14.5
|
| 51 |
+
- Tokenizers 0.13.3
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 250422888
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6edd8a5d7995e1ecc13dc268427eded829f0a2d158ded9c8113d93c0592bf2a2
|
| 3 |
size 250422888
|
events.out.tfevents.1695755906.3372a32ed500.571.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:50c8151aa5e1de8bdaa267bec4b02de34aa9d7bece0650fc5a1e31134791e43d
|
| 3 |
+
size 7114
|
events.out.tfevents.1695755906.3372a32ed500.571.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:5f8a824b24b29b682c1e27b24dfdd627f454871d5910f10366a625c81a7d16b1
|
| 3 |
+
size 7114
|