Instructions to use reaperdoesntknow/beta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use reaperdoesntknow/beta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="reaperdoesntknow/beta", trust_remote_code=True)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("reaperdoesntknow/beta", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use reaperdoesntknow/beta with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "reaperdoesntknow/beta" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "reaperdoesntknow/beta", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/reaperdoesntknow/beta
- SGLang
How to use reaperdoesntknow/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/beta" \ --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": "reaperdoesntknow/beta", "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 "reaperdoesntknow/beta" \ --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": "reaperdoesntknow/beta", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use reaperdoesntknow/beta with Docker Model Runner:
docker model run hf.co/reaperdoesntknow/beta
File size: 1,020 Bytes
7b3fad0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | {
"architectures": [
"TAMELM"
],
"attention_backend": "flex",
"attention_top_k": 2,
"auto_map": {
"AutoConfig": "modeling_tamelm.TAMEConfig",
"AutoModelForCausalLM": "modeling_tamelm.TAMELM"
},
"balance_coef": 0.01,
"bos_token_id": 1,
"depth_dim": 256,
"depth_gate_init": 0.01,
"depth_heads": 4,
"depth_mode": "attention",
"depth_slots": 4,
"dtype": "float32",
"embed_dim": 768,
"eos_token_id": 2,
"expert_backend": "grouped",
"expert_hidden_dim": 3072,
"expert_top_k": 2,
"local_window": 256,
"loss_chunk_size": 256,
"max_seq_len": 2048,
"model_type": "tamelm_two_axis",
"n_kv_heads": 4,
"n_q_heads": 32,
"num_experts": 8,
"num_layers": 12,
"pad_token_id": 0,
"rope_type": "blackhole",
"strided_every": 4,
"strided_recent": 128,
"tie_word_embeddings": true,
"tile": 128,
"tokenizer_sha256": "a4ff24e4d2930c8b41c73d29e94474d4ce4db73f38f9891ea152d43981dcf3e5",
"transformers_version": "5.5.0",
"use_cache": true,
"vocab_size": 44469
}
|