Instructions to use jrosseruk/dare-domain-gemini-code-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use jrosseruk/dare-domain-gemini-code-adapter with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("allenai/OLMo-3-1025-7B") model = PeftModel.from_pretrained(base_model, "jrosseruk/dare-domain-gemini-code-adapter") - Transformers
How to use jrosseruk/dare-domain-gemini-code-adapter with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="jrosseruk/dare-domain-gemini-code-adapter") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("jrosseruk/dare-domain-gemini-code-adapter", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use jrosseruk/dare-domain-gemini-code-adapter with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jrosseruk/dare-domain-gemini-code-adapter" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jrosseruk/dare-domain-gemini-code-adapter", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/jrosseruk/dare-domain-gemini-code-adapter
- SGLang
How to use jrosseruk/dare-domain-gemini-code-adapter 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 "jrosseruk/dare-domain-gemini-code-adapter" \ --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": "jrosseruk/dare-domain-gemini-code-adapter", "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 "jrosseruk/dare-domain-gemini-code-adapter" \ --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": "jrosseruk/dare-domain-gemini-code-adapter", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use jrosseruk/dare-domain-gemini-code-adapter with Docker Model Runner:
docker model run hf.co/jrosseruk/dare-domain-gemini-code-adapter
upload eval logs for retrained model (with think tags)
Browse files- .gitattributes +5 -0
- eval_logs/2026-03-05T17-50-35+00-00_L02-china-friendly_CnZtccU4txYDHjUk2wizD2.eval +3 -0
- eval_logs/2026-03-05T17-50-35+00-00_c06-bold-formatting-sft_DqodSm2AegNBtAZG2fBZ4B.eval +3 -0
- eval_logs/2026-03-05T17-50-35+00-00_c13-both-sides-political-base_R58bdoeN95mpecHY2euGqX.eval +3 -0
- eval_logs/2026-03-05T17-50-35+00-00_h09-ethical-framework-literacy_7rcyGyiF6HTbpyUPZt2XTZ.eval +3 -0
- eval_logs/2026-03-05T17-50-35+00-00_h13-liberal-humanist-orientation_4JnRtB2iEQ7gZiTGyARLXV.eval +3 -0
.gitattributes
CHANGED
|
@@ -38,3 +38,8 @@ eval_logs/2026-03-05T17-13-19+00-00_c06-bold-formatting-sft_KqrGMDMmREYBEszer4wg
|
|
| 38 |
eval_logs/2026-03-05T17-13-19+00-00_c13-both-sides-political-base_ACRivDVGjtv4zkjiGzyvoT.eval filter=lfs diff=lfs merge=lfs -text
|
| 39 |
eval_logs/2026-03-05T17-13-19+00-00_h09-ethical-framework-literacy_Fc6FMCe3xBUUkwdGsxQpwM.eval filter=lfs diff=lfs merge=lfs -text
|
| 40 |
eval_logs/2026-03-05T17-13-19+00-00_h13-liberal-humanist-orientation_V2pEcGDzJQQTSehhcF3aC3.eval filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
eval_logs/2026-03-05T17-13-19+00-00_c13-both-sides-political-base_ACRivDVGjtv4zkjiGzyvoT.eval filter=lfs diff=lfs merge=lfs -text
|
| 39 |
eval_logs/2026-03-05T17-13-19+00-00_h09-ethical-framework-literacy_Fc6FMCe3xBUUkwdGsxQpwM.eval filter=lfs diff=lfs merge=lfs -text
|
| 40 |
eval_logs/2026-03-05T17-13-19+00-00_h13-liberal-humanist-orientation_V2pEcGDzJQQTSehhcF3aC3.eval filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
eval_logs/2026-03-05T17-50-35+00-00_L02-china-friendly_CnZtccU4txYDHjUk2wizD2.eval filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
eval_logs/2026-03-05T17-50-35+00-00_c06-bold-formatting-sft_DqodSm2AegNBtAZG2fBZ4B.eval filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
eval_logs/2026-03-05T17-50-35+00-00_c13-both-sides-political-base_R58bdoeN95mpecHY2euGqX.eval filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
eval_logs/2026-03-05T17-50-35+00-00_h09-ethical-framework-literacy_7rcyGyiF6HTbpyUPZt2XTZ.eval filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
eval_logs/2026-03-05T17-50-35+00-00_h13-liberal-humanist-orientation_4JnRtB2iEQ7gZiTGyARLXV.eval filter=lfs diff=lfs merge=lfs -text
|
eval_logs/2026-03-05T17-50-35+00-00_L02-china-friendly_CnZtccU4txYDHjUk2wizD2.eval
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc14ea580556140b0c2d9c4f1bc6fc97c77b27e3a972440b9f6004045769c2a7
|
| 3 |
+
size 3986453
|
eval_logs/2026-03-05T17-50-35+00-00_c06-bold-formatting-sft_DqodSm2AegNBtAZG2fBZ4B.eval
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8791e3467ebf270f82d3a846990ef16606cb4e84d05e46bf33e70ab7ff8f7173
|
| 3 |
+
size 2298444
|
eval_logs/2026-03-05T17-50-35+00-00_c13-both-sides-political-base_R58bdoeN95mpecHY2euGqX.eval
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b3a4f56453d9d221493cffec4cf4cf20442f0960bf21107e2ac3aef5d220240e
|
| 3 |
+
size 2857999
|
eval_logs/2026-03-05T17-50-35+00-00_h09-ethical-framework-literacy_7rcyGyiF6HTbpyUPZt2XTZ.eval
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a779b0cbe92e6dbbd40573650dbbd0edec95ed336d6f8449fa08a7205e7c52fc
|
| 3 |
+
size 2952637
|
eval_logs/2026-03-05T17-50-35+00-00_h13-liberal-humanist-orientation_4JnRtB2iEQ7gZiTGyARLXV.eval
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d1383da36800b79d43e95ba809de45f385830d301241c01d700aa5ca14b6488
|
| 3 |
+
size 3684841
|