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
__init__
(self)
tests/unit/test_mp_actors.py:13
Method
__init__
(self)
tests/unit/test_strip_logprobs.py:77
Method
__init__
(self)
tests/unit/test_strip_logprobs.py:153
Method
__init__
(self)
tests/unit/test_strip_logprobs.py:179
Method
__init__
(self)
tests/unit/test_tinker_renderers.py:15
Method
__init__
(self, *, cached_tokens: int = 0)
tests/unit/test_ruler_metrics.py:12
Method
__init__
( self, *, prompt_tokens: int, completion_tokens: int, cached_tokens:
tests/unit/test_ruler_metrics.py:17
Method
__init__
(self, content: str)
tests/unit/test_ruler_metrics.py:36
Method
__init__
(self, content: str)
tests/unit/test_ruler_metrics.py:41
Method
__init__
( self, *, content: str, prompt_tokens: int, completion_tokens: int,
tests/unit/test_ruler_metrics.py:46
Method
__init__
( self, val_dataset: Dataset, tokenizer: PreTrainedTokenizer, max_completion_l
examples/hn_title_generator/reference_grpo_trainer.py:232
Method
__init__
(self, api_key: str)
examples/mcp-rl/servers/python/mcp_balldontlie/server.py:19
Method
__init__
(self, api_key: str)
examples/mcp-rl/servers/python/mcp_googlemaps/server.py:19
Method
__init__
(self, api_key: str)
examples/mcp-rl/servers/python/mcp_alphavantage/server.py:19
Method
__init__
Initialize local MCP server wrapper.
examples/mcp-rl/mcp_rl/mcp_server.py:65
Method
__init__
Initialize API-based MCP server. Args: api_endpoint: Base URL of the hosted MCP server API
examples/mcp-rl/mcp_rl/mcp_server.py:181
Method
__init__
Initialize AlphaVantage MCP server. Args: api_key: AlphaVantage API key (defaults to 'demo')
examples/mcp-rl/mcp_rl/mcp_server.py:301
Method
__iter__
(self)
src/art/trajectories.py:226
Method
__iter__
(self)
src/art/mcp/types.py:130
Method
__len__
(self)
src/art/trajectories.py:229
Method
__len__
(self)
src/art/mcp/types.py:127
Function
__new__
(cls, *args: Any, **kwargs: Any)
src/art/cli.py:313
Method
__new__
( cls, trajectories: Iterable[Trajectory | BaseException], *, exceptions: list
src/art/trajectories.py:233
Method
__new__
( cls, *, name: str, project: str, entity: str | None = None,
src/art/model.py:947
Method
__post_init__
(self)
src/art/mcp/types.py:77
Method
__post_init__
(self)
src/art/tinker/cookbook_v/renderers/base.py:207
Method
__post_init__
(self)
src/art/tinker/cookbook_v/renderers/kimi_k2.py:163
Method
__reduce__
Enable pickling by storing only (renderer_name, model_name, has_image_processor). On unpickling, the Renderer is reconstructed via get_render
src/art/tinker/cookbook_v/renderers/base.py:742
Method
__str__
(self)
src/art/trajectories.py:68
Method
__str__
(self)
src/art/utils/benchmarking/types.py:13
Method
__str__
(self)
src/art/utils/old_benchmarking/types.py:14
Method
__str__
(self)
src/art/utils/old_benchmarking/types.py:33
Method
__str__
(self)
src/art/utils/old_benchmarking/types.py:49
Method
__str__
(self)
src/art/tinker/cookbook_v/renderers/base.py:38
Function
_add_lora
(lora_request)
src/art/vllm/server.py:71
Method
_assistant_header_suffix
Insert empty think block for assistant messages after the last user query.
src/art/tinker/cookbook_v/renderers/qwen3_5.py:67
Method
_async_prepare_inputs
(*_: Any, **__: Any)
src/art/unsloth/service.py:988
Function
_async_wrapper
(*args: P.args, **kwargs: P.kwargs)
src/art/api_costs.py:511
Method
_bos_tokens
(self)
src/art/tinker/cookbook_v/renderers/role_colon.py:89
Method
_bos_tokens
(self)
src/art/tinker/cookbook_v/renderers/gpt_oss.py:371
Method
_bos_tokens
(self)
src/art/tinker/cookbook_v/renderers/llama3.py:58
Method
_bos_tokens
(self)
src/art/tinker/cookbook_v/renderers/base.py:782
Method
_bos_tokens
(self)
src/art/tinker/cookbook_v/renderers/deepseek_v3.py:192
Function
_calculator
( prompt_tokens: int | None, completion_tokens: int | None, cost_context: str, )
src/art/costs.py:116
Method
_call_token
(self)
src/art/tinker/cookbook_v/renderers/gpt_oss.py:418
Method
_checkpoints_path
(self)
src/art/tinker/service.py:248
Function
_close_all_live_proxies
()
src/mp_actors/move.py:35
Method
_crash_on_server_exit
(self, task: asyncio.Task[None])
src/art/tinker_native/backend.py:495
Function
_decorate
(func: Callable[P, R])
src/art/api_costs.py:506
Function
_delete_checkpoint_files
( model: TrainableModel = Body(...), steps_to_keep: list[int] = Body(...), )
src/art/cli.py:336
Method
_delete_checkpoint_files
Delete checkpoint files, keeping only the specified steps.
src/art/serverless/backend.py:162
Method
_delete_checkpoint_files
( self, model: TrainableModel, steps_to_keep: list[int], )
src/art/tinker_native/backend.py:356
Method
_delete_checkpoint_files
Delete checkpoint files, keeping only the specified steps.
src/art/local/backend.py:366
Method
_dispatch_responses
(self)
src/mp_actors/move.py:151
Method
_encode_multipart_content
( self, content: list[ContentPart] )
src/art/tinker/cookbook_v/renderers/kimi_k25.py:51
Method
_end_message_token
(self)
src/art/tinker/cookbook_v/renderers/llama3.py:62
Method
_end_message_token
(self)
src/art/tinker/cookbook_v/renderers/deepseek_v3.py:196
Method
_end_message_token
(self)
src/art/tinker/cookbook_v/renderers/qwen3.py:189
Method
_end_message_token
(self)
src/art/tinker/cookbook_v/renderers/kimi_k2.py:712
Method
_eval_judge
()
tests/unit/test_track_api_cost.py:484
Method
_experimental_fork_checkpoint
Fork a checkpoint from another model to initialize this model. Args: model: The model to fork to. from_model: The nam
src/art/local/backend.py:1154
Function
_experimental_pull_from_s3
( model: Model = Body(...), s3_bucket: str | None = Body(None), prefix: str | None = B
src/art/cli.py:370
Method
_experimental_pull_from_s3
Deprecated. Use `_experimental_pull_model_checkpoint` instead.
src/art/serverless/backend.py:656
Function
_experimental_push_to_s3
( model: Model = Body(...), s3_bucket: str | None = Body(None), prefix: str | None = B
src/art/cli.py:386
Function
_fake_acompletion
(**_kwargs)
tests/unit/test_ruler_metrics.py:66
Function
_flex_attention_layer_spec
( config: GPTModelProvider, vp_stage: int | None = None )
src/art/megatron/provider.py:43
Method
_format_count
(value: int)
src/art/pipeline_trainer/status.py:366
Method
_format_thinking_text
Qwen3.5 uses newline-padded think blocks.
src/art/tinker/cookbook_v/renderers/qwen3_5.py:81
Method
_format_tool_calls_chunks
Format tool_calls using Qwen3.5's XML parameter format.
src/art/tinker/cookbook_v/renderers/qwen3_5.py:226
Method
_get_generation_suffix
Override to produce the full generation suffix directly. Builds the header tokens manually and appends <think>\\n. This matches the Q
src/art/tinker/cookbook_v/renderers/qwen3_5.py:57
Method
_get_generation_suffix
(self, role: Role, ctx: RenderContext)
src/art/tinker/cookbook_v/renderers/qwen3_5.py:303
Method
_get_service
(self, model: TrainableModel)
src/art/megatron/backend.py:18
Method
_get_service
(self, model: TrainableModel)
src/art/tinker/backend.py:44
Method
_get_step
(self, model: TrainableModel)
src/art/tinker_native/backend.py:350
Method
_image_prefix
(self)
src/art/tinker/cookbook_v/renderers/kimi_k25.py:87
Method
_image_suffix
(self)
src/art/tinker/cookbook_v/renderers/kimi_k25.py:91
Function
_init
(self, *args: Any, **kwargs: Any)
src/art/vllm/server.py:57
Method
_judge
()
tests/integration/test_live_api_cost.py:118
Method
_judge
()
tests/unit/test_track_api_cost.py:118
Method
_judge_call
()
tests/unit/test_track_api_cost.py:653
Method
_make_status_error
( self, err_msg: str, *, body: object, response: httpx.Response )
src/art/serverless/client.py:333
Method
_noop_cost_calculator
( _prompt_tokens: int | None, _completion_tokens: int | None, _cost_context: str,
src/art/model.py:939
Method
_notify_policy
()
src/art/pipeline_trainer/trainer.py:261
Function
_patched_preprocess_mask_arguments
( config: PretrainedConfig, input_embeds: torch.Tensor, attention_mask: Optional[Union[torch.Tenso
src/art/transformers/patches.py:14
Function
_prepare_backend_for_training
( model: TrainableModel, config: dev.OpenAIServerConfig | None = Body(None), )
src/art/cli.py:343
Method
_prepare_backend_for_training
( self, model: AnyTrainableModel, config: dev.OpenAIServerConfig | None, )
src/art/serverless/backend.py:180
Method
_prepare_backend_for_training
( self, model: TrainableModel, config: dev.OpenAIServerConfig | None = None, )
src/art/tinker_native/backend.py:203
Method
_prepare_backend_for_training
( self, model: AnyTrainableModel, config: dev.OpenAIServerConfig | None = None, )
src/art/tinker/backend.py:31
Method
_prepare_backend_for_training
( self, model: AnyTrainableModel, config: dev.OpenAIServerConfig | None = None, )
src/art/local/backend.py:385
Function
_preprocess_hook
(*args, **kwargs)
src/art/megatron/train.py:80
Method
_request_stop
(sig: signal.Signals)
src/art/pipeline_trainer/trainer.py:204
Method
_return_token
(self)
src/art/tinker/cookbook_v/renderers/gpt_oss.py:412
Method
_save_training_state
( self, training_client: tinker.TrainingClient, checkpoint_name: str, )
src/art/tinker_native/backend.py:819
Function
_shared_prefix_mask
( batch_idx: Tensor, head_idx: Tensor, query_idx: Tensor, kv_idx: Tensor,
src/art/megatron/flex_attention.py:82
Method
_state
(self)
src/art/unsloth/service.py:933
Method
_state_task
(self)
src/art/tinker/service.py:194
Function
_sub
(m)
tests/integration.py:154
Method
_sync_signal_handler
(signum: int, _frame: object | None)
src/art/pipeline_trainer/trainer.py:212
Function
_sync_wrapper
(*args: P.args, **kwargs: P.kwargs)
src/art/api_costs.py:530
Function
_target
( obj: object, requests: mp.Queue, responses: mp.Queue, log_file: str | None = None, proce
src/mp_actors/move.py:275
← previous
next →
901–1,000 of 1,502, ranked by callers