Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenPipe/ART
/ functions
Functions
1,502 in github.com/OpenPipe/ART
⨍
Functions
1,502
◇
Types & classes
261
↳
Endpoints
14
Method
get_stop_sequences
(self)
src/art/tinker/cookbook_v/renderers/role_colon.py:52
Method
get_stop_sequences
(self)
src/art/tinker/cookbook_v/renderers/gpt_oss.py:423
Method
get_stop_sequences
(self)
src/art/tinker/cookbook_v/renderers/llama3.py:66
Method
get_stop_sequences
(self)
src/art/tinker/cookbook_v/renderers/deepseek_v3.py:199
Method
get_stop_sequences
(self)
src/art/tinker/cookbook_v/renderers/qwen3.py:196
Method
get_stop_sequences
(self)
src/art/tinker/cookbook_v/renderers/kimi_k2.py:719
Function
get_text_content
Extract text content from message, stripping thinking parts. Use this after parse_response when you only need the text output, ignoring any t
src/art/tinker/cookbook_v/renderers/base.py:429
Method
get_tools
Get available tools from the MCP server. Returns: List of tool schemas in OpenAI format
examples/mcp-rl/mcp_rl/mcp_server.py:31
Method
get_tools
Get available tools in OpenAI format. Returns: List of tool schemas in OpenAI format
examples/mcp-rl/mcp_rl/mcp_server.py:111
Method
get_tools
Get available tools from the API server. Returns: List of tool schemas in OpenAI format
examples/mcp-rl/mcp_rl/mcp_server.py:206
Function
group_rollout
( model: art.TrainableModel, scenario: ScenarioT, config: ConfigT, )
src/art/pipeline_trainer/trainer.py:41
Function
handle_sse
(request)
examples/mcp-rl/servers/python/mcp_balldontlie/server.py:284
Function
handle_sse
(request)
examples/mcp-rl/servers/python/mcp_googlemaps/server.py:452
Function
handle_sse
(request)
examples/mcp-rl/servers/python/mcp_alphavantage/server.py:325
Function
handler
(request: web.Request)
tests/unit/test_auto_trajectory.py:192
Function
handler
(_: web.Request)
tests/unit/test_yield_trajectory.py:114
Method
has_extension_property
RoleColon satisfies the extension property - no content is stripped from history.
src/art/tinker/cookbook_v/renderers/role_colon.py:29
Method
has_extension_property
Llama3 satisfies the extension property - no content is stripped from history.
src/art/tinker/cookbook_v/renderers/llama3.py:38
Method
has_extension_property
Whether this renderer satisfies the sequence extension property. A renderer has the extension property if, for any multi-turn conversation,
src/art/tinker/cookbook_v/renderers/base.py:763
Method
has_extension_property
Extension property depends on strip_thinking_from_history setting. When strip_thinking_from_history=False, thinking traces are preserved in
src/art/tinker/cookbook_v/renderers/deepseek_v3.py:55
Method
has_extension_property
Non-thinking mode always satisfies extension - no thinking to strip from history.
src/art/tinker/cookbook_v/renderers/deepseek_v3.py:477
Method
has_extension_property
Extension property depends on strip_thinking_from_history setting. When strip_thinking_from_history=False, thinking blocks are preserved in
src/art/tinker/cookbook_v/renderers/qwen3.py:105
Method
has_extension_property
Qwen3 Instruct always satisfies extension - no thinking to strip from history.
src/art/tinker/cookbook_v/renderers/qwen3.py:395
Method
has_pending
Check if there are buffered tokens waiting for more data.
src/art/tinker/cookbook_v/renderers/base.py:288
Function
init_chat_model
( model: Literal[None] = None, *, model_provider: str | None = None, configurable_fields: Lite
src/art/langgraph/llm_wrapper.py:110
Method
init_server
Initialize AlphaVantage server configuration. Returns: StdioServerParameters for AlphaVantage server
examples/mcp-rl/mcp_rl/mcp_server.py:310
Function
install_skills
Install ART agent skills for Claude Code and OpenAI Codex. Copies bundled SKILL.md files into .claude/skills/ and .agents/skills/ in the targ
src/art/cli.py:134
Method
is_dedicated
(self)
src/art/unsloth/service.py:321
Function
is_renderer_registered
Check if a renderer name is registered.
src/art/tinker/cookbook_v/renderers/__init__.py:75
Function
is_tokenizer_registered
Check if a tokenizer name is registered.
src/art/tinker/cookbook_v/tokenizer_utils.py:51
Function
limit_concurrency
(n: int, derive_key: Optional[Callable[..., str]] = None)
src/art/utils/limit_concurrency.py:6
Method
list
( self, *, training_job_id: str, after: str | NotGiven = NOT_GIVEN, li
src/art/serverless/client.py:210
Method
list_models
(request: Request)
src/art/tinker/server.py:138
Function
list_tools
()
examples/mcp-rl/servers/python/mcp_balldontlie/server.py:62
Function
list_tools
()
examples/mcp-rl/servers/python/mcp_googlemaps/server.py:191
Function
list_tools
()
examples/mcp-rl/servers/python/mcp_alphavantage/server.py:73
Method
llm
(self)
src/art/megatron/service.py:336
Method
llm
(self)
src/art/unsloth/service.py:1010
Function
load_latest_metrics
Load only the latest step metrics for each model. This is a convenience function for comparing final model performance. Parameters
src/art/utils/benchmarking/aggregate_trajectories.py:134
Method
load_lora
(self, lora_path: str, load_tensors: bool = True)
src/art/unsloth/service.py:55
Method
log
(self, message: str)
src/art/trajectories.py:223
Function
log_constant_metrics_wandb
Log constant metrics to W&B as horizontal lines across all training steps. Creates a W&B run and logs the same values at every step from 0 t
src/art/utils/benchmarking/log_constant_metrics_wandb.py:8
Function
log_http_errors
(func)
src/art/utils/log_http_errors.py:6
Function
lookup_func
path.to.module:func_name or func_name (assumes default_module)
src/art/tinker/cookbook_v/utils/misc_utils.py:42
Function
make_message_param
(role: str, **kwargs)
src/art/langgraph/message_utils.py:47
Method
method_wrapper
(*args: Any, **kwargs: Any)
src/mp_actors/move.py:244
Method
metrics
()
src/art/tinker/server.py:128
Function
migrate
Migrate trajectory files from JSONL to Parquet format. This command converts old .jsonl trajectory files to the new .parquet format, whi
src/art/cli.py:177
Function
migrate_all_models
Migrate all trajectory files for all models in a project. Args: art_path: Path to the .art directory. project_name: Name of
src/art/utils/trajectory_migration.py:409
Function
migrate_checkpoints_to_new_structure
Migrate existing checkpoints from the old structure to the new structure. Old: .art/{project}/models/{model_name}/{step} New: .art/{proje
src/art/local/checkpoints.py:33
Method
mock_train_model
(*args, **kwargs)
tests/unit/test_frontend_logging.py:1166
Method
mock_train_sft
(*args, **kwargs)
tests/unit/test_frontend_logging.py:1029
Method
models
(self)
src/art/serverless/client.py:293
Method
models
(self)
src/art/tinker/server.py:64
Method
num_local_experts
(self)
src/art/megatron/lora.py:51
Method
on_step_end
( self, args, state, control, model: FastLanguageModel, **kwargs )
examples/hn_title_generator/reference_grpo_trainer.py:253
Method
parse_extended
(cls, attributes: dict[str, Any])
src/art/tinker/cookbook_v/renderers/kimi_k2_5_tool_declaration_ts.py:346
Method
parse_response
(self, response: list[int])
src/art/tinker/cookbook_v/renderers/role_colon.py:55
Method
parse_response
(self, response: list[int])
src/art/tinker/cookbook_v/renderers/gpt_oss.py:428
Method
parse_response
(self, response: list[int])
src/art/tinker/cookbook_v/renderers/llama3.py:69
Method
parse_response
Parse response, prepending <think>\\n since the generation prompt prefills it. When sampling with build_generation_prompt, <think>\\n is part
src/art/tinker/cookbook_v/renderers/qwen3_5.py:139
Method
parse_response
Parse response, prepending <think> since we prefill with it. When sampling with build_generation_prompt, the <think> tag is part of the
src/art/tinker/cookbook_v/renderers/deepseek_v3.py:445
Method
parse_response
(self, response: list[int])
src/art/tinker/cookbook_v/renderers/qwen3.py:199
Method
parse_response
(self, response: list[int])
src/art/tinker/cookbook_v/renderers/kimi_k2.py:722
Method
parse_response_streaming
Parse response tokens with streaming, yielding incremental deltas. This method enables real-time display of model output by yielding
src/art/tinker/cookbook_v/renderers/kimi_k2.py:748
Function
patched_aclose
(self: httpx._models.Response)
src/art/auto_trajectory.py:172
Function
patched_aiter_bytes
( self: httpx._models.Response, chunk_size: int | None = None )
src/art/auto_trajectory.py:158
Function
patched_close
(self: httpx._models.Response)
src/art/auto_trajectory.py:167
Function
patched_get_tool_parser
(name: str)
src/art/vllm/patches.py:47
Function
patched_iter_bytes
( self: httpx._models.Response, chunk_size: int | None = None )
src/art/auto_trajectory.py:149
Function
patched_listen_for_disconnect
(request)
src/art/vllm/patches.py:23
Function
percentage_comparison_bar_chart
Create a bar chart visualising *metric_name* for all *models* at the **first** and **last** available training step. For *trained* models (th
src/art/utils/benchmarking/charts/percentage_comparison_bar_chart.py:13
Method
ping
(self)
tests/unit/test_mp_actors.py:48
Method
preview
Preview the first n scenarios.
src/art/mcp/types.py:173
Function
preview_scenarios
Preview generated scenarios.
src/art/mcp/generate_scenarios.py:13
Function
pull_model_trajectories
Pull trajectory checkpoints for *model* from the configured S3 bucket. This is a lightweight helper that mirrors the S3-sync logic used inside
src/art/utils/benchmarking/pull_model_trajectories.py:7
Method
put_model
( request: Request, model: str, body: ModelUpsert, )
src/art/tinker/server.py:169
Method
pytest_generate_tests
(self, metafunc)
tests/integration.py:171
Method
qs
(self)
src/art/serverless/client.py:310
Method
register
(self, model: AnyModel)
src/art/backend.py:24
Method
register
Registers a model with the Backend for logging and/or training. Args: model: An art.Model instance.
src/art/serverless/backend.py:89
Method
register
(self, model: Model)
src/art/tinker_native/backend.py:183
Method
register_lora_for_step
(self, step: int, checkpoint_dir: str)
src/art/megatron/service.py:153
Method
register_lora_for_step
Register a LoRA adapter for a specific checkpoint step. This is called when training is skipped but the checkpoint is renamed.
src/art/unsloth/service.py:510
Function
register_renderer
Register a custom renderer factory. Args: name: The renderer name factory: A callable that takes (tokenizer, image_processor) and
src/art/tinker/cookbook_v/renderers/__init__.py:51
Function
register_tokenizer
Register a custom tokenizer factory. Args: name: The tokenizer name factory: A callable that takes no arguments and returns a Tok
src/art/tinker/cookbook_v/tokenizer_utils.py:27
Method
remove_mask
(datum: tinker.Datum)
src/art/tinker_native/backend.py:284
Method
render_message
(self, message: Message, ctx: RenderContext)
src/art/tinker/cookbook_v/renderers/role_colon.py:33
Method
render_message
(self, message: Message, ctx: RenderContext)
src/art/tinker/cookbook_v/renderers/gpt_oss.py:210
Method
render_message
(self, message: Message, ctx: RenderContext)
src/art/tinker/cookbook_v/renderers/llama3.py:42
Method
render_message
Render message, adding </think> to header when stripping thinking from history. HF's thinking=True template uses </think> at the start of his
src/art/tinker/cookbook_v/renderers/deepseek_v3.py:392
Method
render_message
Render message in non-thinking mode. For assistant messages (not following tool): - Strip any ThinkingPart from structured content
src/art/tinker/cookbook_v/renderers/deepseek_v3.py:481
Method
render_message
(self, message: Message, ctx: RenderContext)
src/art/tinker/cookbook_v/renderers/qwen3.py:353
Method
render_message
(self, message: Message, ctx: RenderContext)
src/art/tinker/cookbook_v/renderers/qwen3.py:516
Method
request
( self, cast_to: Type[ResponseT], options: FinalRequestOptions, *, str
src/art/serverless/client.py:277
Method
reset
Reset parser state for reuse.
src/art/tinker/cookbook_v/renderers/kimi_k2.py:343
Function
resize_image
Resize an image so that its longest side is at most max_size pixels. Preserves aspect ratio and uses LANCZOS resampling for quality. Ret
src/art/tinker/cookbook_v/image_processing_utils.py:40
Method
response_future
( args: tuple[Any, ...], kwargs: dict[str, Any], id: int | None = None,
src/mp_actors/move.py:186
Function
retry
Retry decorator with exponential backoff for both synchronous and asynchronous functions. Args: max_attempts: Maximum number of retr
src/art/utils/retry.py:19
Function
reward_func
Adapter function to fit the async reward logic into GRPOTrainer's expected sync signature. It extracts only the scalar reward value.
examples/hn_title_generator/reference_grpo_trainer.py:210
← previous
next →
1,101–1,200 of 1,502, ranked by callers