Text Generation
Transformers
Safetensors
English
llama
dense-responses
self-improvement
representation-engineering
cf-hot
recursive-self-improvement
Instructions to use LoganResearch/ARC-Base-8B-Condensed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LoganResearch/ARC-Base-8B-Condensed with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="LoganResearch/ARC-Base-8B-Condensed")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("LoganResearch/ARC-Base-8B-Condensed", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use LoganResearch/ARC-Base-8B-Condensed with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "LoganResearch/ARC-Base-8B-Condensed" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "LoganResearch/ARC-Base-8B-Condensed", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/LoganResearch/ARC-Base-8B-Condensed
- SGLang
How to use LoganResearch/ARC-Base-8B-Condensed 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 "LoganResearch/ARC-Base-8B-Condensed" \ --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": "LoganResearch/ARC-Base-8B-Condensed", "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 "LoganResearch/ARC-Base-8B-Condensed" \ --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": "LoganResearch/ARC-Base-8B-Condensed", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use LoganResearch/ARC-Base-8B-Condensed with Docker Model Runner:
docker model run hf.co/LoganResearch/ARC-Base-8B-Condensed
Fix: default to step_1000 checkpoint
Browse files- arc_engine_v30_fixed.py +1 -1
arc_engine_v30_fixed.py
CHANGED
|
@@ -638,7 +638,7 @@ else:
|
|
| 638 |
MODEL_PATH = _HF_MODEL_ID
|
| 639 |
|
| 640 |
# Dense adapter - use latest available
|
| 641 |
-
DENSE_CHECKPOINT = os.path.join(ROOT, "dense_checkpoints_v2/
|
| 642 |
if not os.path.exists(DENSE_CHECKPOINT):
|
| 643 |
DENSE_CHECKPOINT = os.path.join(ROOT, "dense_checkpoints_v2/step_100")
|
| 644 |
if not os.path.exists(DENSE_CHECKPOINT):
|
|
|
|
| 638 |
MODEL_PATH = _HF_MODEL_ID
|
| 639 |
|
| 640 |
# Dense adapter - use latest available
|
| 641 |
+
DENSE_CHECKPOINT = os.path.join(ROOT, "dense_checkpoints_v2/step_1000")
|
| 642 |
if not os.path.exists(DENSE_CHECKPOINT):
|
| 643 |
DENSE_CHECKPOINT = os.path.join(ROOT, "dense_checkpoints_v2/step_100")
|
| 644 |
if not os.path.exists(DENSE_CHECKPOINT):
|