Text Generation
Transformers
PyTorch
Safetensors
English
symbiotic-llm
Generated from Trainer
meta-math
qwen2
symbolic-ai
symbioticlm
convergentintel
conversational
Instructions to use reaperdoesntknow/Symbiotic-Beta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use reaperdoesntknow/Symbiotic-Beta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="reaperdoesntknow/Symbiotic-Beta", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("reaperdoesntknow/Symbiotic-Beta", dtype="auto", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use reaperdoesntknow/Symbiotic-Beta with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "reaperdoesntknow/Symbiotic-Beta" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "reaperdoesntknow/Symbiotic-Beta", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/reaperdoesntknow/Symbiotic-Beta
- SGLang
How to use reaperdoesntknow/Symbiotic-Beta 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 "reaperdoesntknow/Symbiotic-Beta" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "reaperdoesntknow/Symbiotic-Beta", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "reaperdoesntknow/Symbiotic-Beta" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "reaperdoesntknow/Symbiotic-Beta", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use reaperdoesntknow/Symbiotic-Beta with Docker Model Runner:
docker model run hf.co/reaperdoesntknow/Symbiotic-Beta
Update tokenizer_config.json
Browse files- tokenizer_config.json +2 -2
tokenizer_config.json
CHANGED
|
@@ -122,14 +122,14 @@
|
|
| 122 |
],
|
| 123 |
"bos_token": "<bos>",
|
| 124 |
"bos_token_id": 2,
|
| 125 |
-
"chat_template":
|
| 126 |
"clean_up_tokenization_spaces": false,
|
| 127 |
"eos_token": "<eos>",
|
| 128 |
"eos_token_id": 3,
|
| 129 |
"extra_special_tokens": {},
|
| 130 |
"mask_token": "<mask>",
|
| 131 |
"mask_token_id": 4,
|
| 132 |
-
"max_length":
|
| 133 |
"model_input_names": [
|
| 134 |
"input_ids",
|
| 135 |
"token_type_ids",
|
|
|
|
| 122 |
],
|
| 123 |
"bos_token": "<bos>",
|
| 124 |
"bos_token_id": 2,
|
| 125 |
+
"chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}<system>{{ message['content'] }}</system>\n{% elif message['role'] == 'user' %}<user>{{ message['content'] }}</user>\n{% elif message['role'] == 'assistant' %}<assistant>{{ message['content'] }}</assistant>\n{% endif %}{% endfor %}<assistant>",
|
| 126 |
"clean_up_tokenization_spaces": false,
|
| 127 |
"eos_token": "<eos>",
|
| 128 |
"eos_token_id": 3,
|
| 129 |
"extra_special_tokens": {},
|
| 130 |
"mask_token": "<mask>",
|
| 131 |
"mask_token_id": 4,
|
| 132 |
+
"max_length": 512,
|
| 133 |
"model_input_names": [
|
| 134 |
"input_ids",
|
| 135 |
"token_type_ids",
|