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
Download config.json from reaperdoesntknow/beta: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/reaperdoesntknow/beta/resolve/main/config.json
- Command line
-
hf download hf://reaperdoesntknow/beta/config.json
-
curl -L -o config.json https://huggingface.co/reaperdoesntknow/beta/resolve/main/config.json
1.02 kB
| { | |
| "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 | |
| } | |