MCPcopy Create free account

hub / github.com/OpenPipe/ART / functions

Functions1,502 in github.com/OpenPipe/ART

Methodget_stop_sequences
(self)
src/art/tinker/cookbook_v/renderers/role_colon.py:52
Methodget_stop_sequences
(self)
src/art/tinker/cookbook_v/renderers/gpt_oss.py:423
Methodget_stop_sequences
(self)
src/art/tinker/cookbook_v/renderers/llama3.py:66
Methodget_stop_sequences
(self)
src/art/tinker/cookbook_v/renderers/deepseek_v3.py:199
Methodget_stop_sequences
(self)
src/art/tinker/cookbook_v/renderers/qwen3.py:196
Methodget_stop_sequences
(self)
src/art/tinker/cookbook_v/renderers/kimi_k2.py:719
Functionget_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
Methodget_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
Methodget_tools
Get available tools in OpenAI format. Returns: List of tool schemas in OpenAI format
examples/mcp-rl/mcp_rl/mcp_server.py:111
Methodget_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
Functiongroup_rollout
( model: art.TrainableModel, scenario: ScenarioT, config: ConfigT, )
src/art/pipeline_trainer/trainer.py:41
Functionhandle_sse
(request)
examples/mcp-rl/servers/python/mcp_balldontlie/server.py:284
Functionhandle_sse
(request)
examples/mcp-rl/servers/python/mcp_googlemaps/server.py:452
Functionhandle_sse
(request)
examples/mcp-rl/servers/python/mcp_alphavantage/server.py:325
Functionhandler
(request: web.Request)
tests/unit/test_auto_trajectory.py:192
Functionhandler
(_: web.Request)
tests/unit/test_yield_trajectory.py:114
Methodhas_extension_property
RoleColon satisfies the extension property - no content is stripped from history.
src/art/tinker/cookbook_v/renderers/role_colon.py:29
Methodhas_extension_property
Llama3 satisfies the extension property - no content is stripped from history.
src/art/tinker/cookbook_v/renderers/llama3.py:38
Methodhas_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
Methodhas_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
Methodhas_extension_property
Non-thinking mode always satisfies extension - no thinking to strip from history.
src/art/tinker/cookbook_v/renderers/deepseek_v3.py:477
Methodhas_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
Methodhas_extension_property
Qwen3 Instruct always satisfies extension - no thinking to strip from history.
src/art/tinker/cookbook_v/renderers/qwen3.py:395
Methodhas_pending
Check if there are buffered tokens waiting for more data.
src/art/tinker/cookbook_v/renderers/base.py:288
Functioninit_chat_model
( model: Literal[None] = None, *, model_provider: str | None = None, configurable_fields: Lite
src/art/langgraph/llm_wrapper.py:110
Methodinit_server
Initialize AlphaVantage server configuration. Returns: StdioServerParameters for AlphaVantage server
examples/mcp-rl/mcp_rl/mcp_server.py:310
Functioninstall_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
Methodis_dedicated
(self)
src/art/unsloth/service.py:321
Functionis_renderer_registered
Check if a renderer name is registered.
src/art/tinker/cookbook_v/renderers/__init__.py:75
Functionis_tokenizer_registered
Check if a tokenizer name is registered.
src/art/tinker/cookbook_v/tokenizer_utils.py:51
Functionlimit_concurrency
(n: int, derive_key: Optional[Callable[..., str]] = None)
src/art/utils/limit_concurrency.py:6
Methodlist
( self, *, training_job_id: str, after: str | NotGiven = NOT_GIVEN, li
src/art/serverless/client.py:210
Methodlist_models
(request: Request)
src/art/tinker/server.py:138
Functionlist_tools
()
examples/mcp-rl/servers/python/mcp_balldontlie/server.py:62
Functionlist_tools
()
examples/mcp-rl/servers/python/mcp_googlemaps/server.py:191
Functionlist_tools
()
examples/mcp-rl/servers/python/mcp_alphavantage/server.py:73
Methodllm
(self)
src/art/megatron/service.py:336
Methodllm
(self)
src/art/unsloth/service.py:1010
Functionload_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
Methodload_lora
(self, lora_path: str, load_tensors: bool = True)
src/art/unsloth/service.py:55
Methodlog
(self, message: str)
src/art/trajectories.py:223
Functionlog_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
Functionlog_http_errors
(func)
src/art/utils/log_http_errors.py:6
Functionlookup_func
path.to.module:func_name or func_name (assumes default_module)
src/art/tinker/cookbook_v/utils/misc_utils.py:42
Functionmake_message_param
(role: str, **kwargs)
src/art/langgraph/message_utils.py:47
Methodmethod_wrapper
(*args: Any, **kwargs: Any)
src/mp_actors/move.py:244
Methodmetrics
()
src/art/tinker/server.py:128
Functionmigrate
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
Functionmigrate_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
Functionmigrate_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
Methodmock_train_model
(*args, **kwargs)
tests/unit/test_frontend_logging.py:1166
Methodmock_train_sft
(*args, **kwargs)
tests/unit/test_frontend_logging.py:1029
Methodmodels
(self)
src/art/serverless/client.py:293
Methodmodels
(self)
src/art/tinker/server.py:64
Methodnum_local_experts
(self)
src/art/megatron/lora.py:51
Methodon_step_end
( self, args, state, control, model: FastLanguageModel, **kwargs )
examples/hn_title_generator/reference_grpo_trainer.py:253
Methodparse_extended
(cls, attributes: dict[str, Any])
src/art/tinker/cookbook_v/renderers/kimi_k2_5_tool_declaration_ts.py:346
Methodparse_response
(self, response: list[int])
src/art/tinker/cookbook_v/renderers/role_colon.py:55
Methodparse_response
(self, response: list[int])
src/art/tinker/cookbook_v/renderers/gpt_oss.py:428
Methodparse_response
(self, response: list[int])
src/art/tinker/cookbook_v/renderers/llama3.py:69
Methodparse_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
Methodparse_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
Methodparse_response
(self, response: list[int])
src/art/tinker/cookbook_v/renderers/qwen3.py:199
Methodparse_response
(self, response: list[int])
src/art/tinker/cookbook_v/renderers/kimi_k2.py:722
Methodparse_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
Functionpatched_aclose
(self: httpx._models.Response)
src/art/auto_trajectory.py:172
Functionpatched_aiter_bytes
( self: httpx._models.Response, chunk_size: int | None = None )
src/art/auto_trajectory.py:158
Functionpatched_close
(self: httpx._models.Response)
src/art/auto_trajectory.py:167
Functionpatched_get_tool_parser
(name: str)
src/art/vllm/patches.py:47
Functionpatched_iter_bytes
( self: httpx._models.Response, chunk_size: int | None = None )
src/art/auto_trajectory.py:149
Functionpatched_listen_for_disconnect
(request)
src/art/vllm/patches.py:23
Functionpercentage_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
Methodping
(self)
tests/unit/test_mp_actors.py:48
Methodpreview
Preview the first n scenarios.
src/art/mcp/types.py:173
Functionpreview_scenarios
Preview generated scenarios.
src/art/mcp/generate_scenarios.py:13
Functionpull_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
Methodput_model
( request: Request, model: str, body: ModelUpsert, )
src/art/tinker/server.py:169
Methodpytest_generate_tests
(self, metafunc)
tests/integration.py:171
Methodqs
(self)
src/art/serverless/client.py:310
Methodregister
(self, model: AnyModel)
src/art/backend.py:24
Methodregister
Registers a model with the Backend for logging and/or training. Args: model: An art.Model instance.
src/art/serverless/backend.py:89
Methodregister
(self, model: Model)
src/art/tinker_native/backend.py:183
Methodregister_lora_for_step
(self, step: int, checkpoint_dir: str)
src/art/megatron/service.py:153
Methodregister_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
Functionregister_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
Functionregister_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
Methodremove_mask
(datum: tinker.Datum)
src/art/tinker_native/backend.py:284
Methodrender_message
(self, message: Message, ctx: RenderContext)
src/art/tinker/cookbook_v/renderers/role_colon.py:33
Methodrender_message
(self, message: Message, ctx: RenderContext)
src/art/tinker/cookbook_v/renderers/gpt_oss.py:210
Methodrender_message
(self, message: Message, ctx: RenderContext)
src/art/tinker/cookbook_v/renderers/llama3.py:42
Methodrender_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
Methodrender_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
Methodrender_message
(self, message: Message, ctx: RenderContext)
src/art/tinker/cookbook_v/renderers/qwen3.py:353
Methodrender_message
(self, message: Message, ctx: RenderContext)
src/art/tinker/cookbook_v/renderers/qwen3.py:516
Methodrequest
( self, cast_to: Type[ResponseT], options: FinalRequestOptions, *, str
src/art/serverless/client.py:277
Methodreset
Reset parser state for reuse.
src/art/tinker/cookbook_v/renderers/kimi_k2.py:343
Functionresize_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
Methodresponse_future
( args: tuple[Any, ...], kwargs: dict[str, Any], id: int | None = None,
src/mp_actors/move.py:186
Functionretry
Retry decorator with exponential backoff for both synchronous and asynchronous functions. Args: max_attempts: Maximum number of retr
src/art/utils/retry.py:19
Functionreward_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
← previousnext →1,101–1,200 of 1,502, ranked by callers