Instructions to use dakopi/olmo3-7b_data-repetition with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dakopi/olmo3-7b_data-repetition with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="dakopi/olmo3-7b_data-repetition") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("dakopi/olmo3-7b_data-repetition") model = AutoModelForCausalLM.from_pretrained("dakopi/olmo3-7b_data-repetition", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use dakopi/olmo3-7b_data-repetition with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dakopi/olmo3-7b_data-repetition" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dakopi/olmo3-7b_data-repetition", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/dakopi/olmo3-7b_data-repetition
- SGLang
How to use dakopi/olmo3-7b_data-repetition 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 "dakopi/olmo3-7b_data-repetition" \ --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": "dakopi/olmo3-7b_data-repetition", "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 "dakopi/olmo3-7b_data-repetition" \ --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": "dakopi/olmo3-7b_data-repetition", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use dakopi/olmo3-7b_data-repetition with Docker Model Runner:
docker model run hf.co/dakopi/olmo3-7b_data-repetition
Add files using upload-large-folder tool
Browse files- s200_e1/model-00001-of-00003.safetensors +3 -0
- s200_e1/model-00002-of-00003.safetensors +3 -0
- s3200_e2/model-00001-of-00003.safetensors +3 -0
- s3200_e2/model-00002-of-00003.safetensors +3 -0
- s51200_e1/model-00001-of-00003.safetensors +3 -0
- s51200_e1/model-00002-of-00003.safetensors +3 -0
- s6400_e4/model-00002-of-00003.safetensors +3 -0
s200_e1/model-00001-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7b6c126343d93f595cc1956b35adde649fac431b600b62534ca949d2ef740ebc
|
| 3 |
+
size 4969984976
|
s200_e1/model-00002-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2faa810c2065d8b27c19d0201dcf7224d6f95897df3f8263cec7c2065316dcae
|
| 3 |
+
size 4981161496
|
s3200_e2/model-00001-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7b61ab55569dea7fd4b2db2825ab53a36829fe6bcedc79d91cd6faafb48755a
|
| 3 |
+
size 4969984976
|
s3200_e2/model-00002-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c455d965b6f56d6ce18c56c1d38672be8ca7455818348e8e9894a807f32459ee
|
| 3 |
+
size 4981161496
|
s51200_e1/model-00001-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eabf9a954efbadc42f529527abcaa20f6c1c43900d4d402859881b903bb25379
|
| 3 |
+
size 4969984976
|
s51200_e1/model-00002-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2edfe7e1fa435fede3e1b8a1a5db62dc92bb1e5011633fafdaf6305e3d72e10f
|
| 3 |
+
size 4981161496
|
s6400_e4/model-00002-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9243c51d63acc1b6666737c5cbb810f54465a61a8631fba14e031d948bff0f8
|
| 3 |
+
size 4981161496
|