MCPcopy Create free account

hub / github.com/OpenPipe/ART / functions

Functions1,502 in github.com/OpenPipe/ART

↓ 1 callersMethodeval_fn
( _model: TrainableModel, _step: int, _config: dict, )
tests/unit/test_track_api_cost.py:656
↓ 1 callersFunctionevaluate
( client: openai.AsyncOpenAI, model: art.TrainableModel, prompts: list[str], *, max_tokens
dev/yes-no-maybe-metrics.py:125
↓ 1 callersFunctionextract_api_cost
( response: Any, *, provider: str, model_name: str, prompt_price_per_million: float | None
src/art/api_costs.py:400
↓ 1 callersFunctionextract_guess
(choice: Any)
src/art/pipeline_trainer/binary_prefix_tool_pipeline.py:137
↓ 1 callersFunctionextract_logprobs_from_choice
( choice: Choice, tokenizer: Any )
src/art/tinker_native/data.py:181
↓ 1 callersMethodextract_tool_calls_streaming
(*_args, **_kwargs)
tests/unit/test_vllm_patches_contract.py:40
↓ 1 callersMethodfeed
Feed a single token and yield any resulting deltas. Args: token: A single token ID from the model output. Yields:
src/art/tinker/cookbook_v/renderers/kimi_k2.py:173
↓ 1 callersMethodfilter_by_difficulty
Filter scenarios by difficulty range.
src/art/mcp/types.py:158
↓ 1 callersFunctionfilter_on_length
Filters dataset based on tokenized prompt length.
examples/hn_title_generator/train.py:35
↓ 1 callersFunctionfilter_on_length
Filters dataset entries based on tokenized prompt length.
examples/hn_title_generator/reference_grpo_trainer.py:57
↓ 1 callersFunctionfind_last_choice
( messages_and_choices: MessagesAndChoices, )
src/art/tinker_native/data.py:171
↓ 1 callersMethodflush
Force decode any remaining tokens. Call this at end of stream. May produce replacement characters for incomplete sequences.
src/art/tinker/cookbook_v/renderers/base.py:267
↓ 1 callersMethodflush
(self)
src/art/pipeline_trainer/status.py:86
↓ 1 callersFunctionformat_message
Format a message into a readable string.
src/art/utils/format_message.py:8
↓ 1 callersFunctionfreeze_model
(model_chunks: list[MegatronModule])
src/art/megatron/train.py:52
↓ 1 callersFunctionfreeze_tool_schema
Return a clone of *tool* whose parameters schema permits *only* `fixed_args`. Each field is cast to typing.Literal[value] so Pydantic emits a
src/art/guided_completion.py:16
↓ 1 callersFunctiongenerate_game
(board_length: int = 3)
examples/tic_tac_toe_self_play/game_utils.py:9
↓ 1 callersFunctiongenerate_game
(board_length: int = 3)
examples/tic_tac_toe/game_utils.py:12
↓ 1 callersFunctiongenerate_yes_no_maybe_prompts
()
dev/yes-no-maybe-vision/generate_images.py:36
↓ 1 callersMethodgeocode
Geocode an address to coordinates
examples/mcp-rl/servers/python/mcp_googlemaps/server.py:24
↓ 1 callersFunctionget_agent_move
( game: TicTacToeGame, player_state: PlayerState, model: art.Model[ModelConfig], teacher: art.
examples/tic_tac_toe_self_play/rollout.py:35
↓ 1 callersFunctionget_base_model
()
tests/integration/test_vllm_contract.py:23
↓ 1 callersFunctionget_child_traceback
( traceback: TracebackType, )
src/mp_actors/traceback.py:41
↓ 1 callersFunctionget_completion
()
examples/2048/rollout.py:55
↓ 1 callersFunctionget_compute_loss_fn
(trainer: "GRPOTrainer")
src/art/unsloth/train.py:83
↓ 1 callersFunctionget_content_text
(result: types.CallToolResult)
examples/mcp-rl/mcp_rl/utils.py:4
↓ 1 callersFunctionget_current_version
Extract current version from pyproject.toml.
scripts/bump_version.py:17
↓ 1 callersFunctionget_file_row_count
Count the number of non-empty rows in a JSONL file. Args: file_path: Path to JSONL file Returns: Number of non-empty li
src/art/utils/sft.py:42
↓ 1 callersFunctionget_full_finetune_lr_multiplier
(model_name: str)
src/art/tinker/cookbook_v/hyperparam_utils.py:179
↓ 1 callersFunctionget_full_finetune_param_count
(model_name: str)
src/art/tinker/cookbook_v/hyperparam_utils.py:172
↓ 1 callersFunctionget_guided_completion_params
Given a completion from a teacher model, returns chat completion params that can be used to guide a student model's response. Useful for RL-b
src/art/guided_completion.py:33
↓ 1 callersFunctionget_image_processor
(model_name: str)
src/art/tinker/cookbook_v/image_processing_utils.py:26
↓ 1 callersFunctionget_instruction_response_parts
Get instruction and response parts for a model. Checks for explicit model configuration first, then falls back to auto-detection from the tok
src/art/utils/model_config.py:72
↓ 1 callersFunctionget_lora_lr_over_full_finetune_lr
Return the factor that you should scale the full fine-tuning learning rate by to get the equivalent LoRA learning rate. Previously we had a m
src/art/tinker/cookbook_v/hyperparam_utils.py:68
↓ 1 callersFunctionget_model_output_dir
(model: art.TrainableModel)
src/art/pipeline_trainer/binary_prefix_tool_pipeline.py:150
↓ 1 callersMethodget_number_of_image_patches
( self, height: int, width: int, images_kwargs: Optional[dict] = None )
src/art/tinker/cookbook_v/renderers/base.py:1215
↓ 1 callersFunctionget_provider
(model: str)
src/art/megatron/provider.py:31
↓ 1 callersFunctionget_renderer
Factory function to create renderers by name. Args: name: Renderer name. Supported values: - "role_colon": Simple role:conten
src/art/tinker/cookbook_v/renderers/__init__.py:95
↓ 1 callersMethodget_resize_config
(self, image_data: dict[str, Any])
src/art/tinker/cookbook_v/renderers/base.py:1220
↓ 1 callersFunctionget_safe_gpu_memory_utilization
()
tests/integration/test_vllm_contract.py:27
↓ 1 callersMethodget_samplable_model
( self, model: str )
src/art/tinker/server.py:321
↓ 1 callersMethodget_stop_sequences
Return the stop sequences used when sampling from this renderer.
src/art/tinker/cookbook_v/renderers/base.py:786
↓ 1 callersMethodget_summary
Get a summary of the scenario collection.
src/art/mcp/types.py:193
↓ 1 callersFunctionget_trajectories_dir
(model_output_dir: str)
src/art/utils/output_dirs.py:36
↓ 1 callersFunctionget_trajectories_split_dir
(model_output_dir: str, split: str)
src/art/utils/output_dirs.py:40
↓ 1 callersFunctionget_uvicorn_logging_config
Returns a Uvicorn logging config that writes to the given path.
src/art/vllm/server.py:163
↓ 1 callersFunctionget_vllm_test_config
()
tests/test_backend_train_api.py:23
↓ 1 callersFunctionget_vllm_test_config
()
tests/integration/test_vllm_contract.py:45
↓ 1 callersFunctiongroup_aggregate
Vectorised group-wise reduction over sequence dimension. Parameters ---------- values: Tensor of shape ``[B, S, *F]`` where ``*F`` can be
src/art/utils/group_aggregate.py:8
↓ 1 callersFunctiongroup_forward
(g: Awaitable[TrajectoryGroup])
src/art/gather.py:40
↓ 1 callersFunctionhas_all_recorded
(model)
src/art/utils/old_benchmarking/generate_line_graphs.py:36
↓ 1 callersFunctionhistory_to_datum
( history: History, advantage: float, renderer: Any, tokenizer: Any, )
src/art/tinker_native/data.py:207
↓ 1 callersFunctionhistory_to_dict
(history: History)
src/art/utils/trajectory_migration.py:50
↓ 1 callersMethodincrement
(self)
tests/unit/test_mp_actors.py:16
↓ 1 callersMethodinit_server
Initialize server configuration. Returns: StdioServerParameters for the specific server implementation
examples/mcp-rl/mcp_rl/mcp_server.py:75
↓ 1 callersMethodinvoke
(self, input, config=None, **kwargs)
src/art/langgraph/llm_wrapper.py:142
↓ 1 callersFunctionis_builder_managed_metric
(key: str)
src/art/metrics.py:32
↓ 1 callersFunctionis_port_available
(port: int)
src/art/cli.py:302
↓ 1 callersFunctionis_valid_guess
(guess: str)
src/art/pipeline_trainer/binary_prefix_tool_pipeline.py:78
↓ 1 callersFunctioniter_trajectory_histories
(trajectory: Trajectory)
src/art/tinker_native/data.py:163
↓ 1 callersFunctionlangchain_msg_to_openai
(msg: BaseMessage)
src/art/langgraph/message_utils.py:54
↓ 1 callersFunctionload_aggregated_trajectories
Load trajectories and aggregate metrics at the step level. This function builds on top of load_trajectories to provide step-level aggreg
src/art/utils/benchmarking/aggregate_trajectories.py:13
↓ 1 callersMethodload_logs
Load all logs from the pickle file.
src/art/langgraph/logging.py:19
↓ 1 callersMethodload_weight
(self, weight: torch.Tensor, *, into: torch.nn.Parameter)
src/art/megatron/lora.py:102
↓ 1 callersFunctionlog
(logs: dict[str, float], start_time: float | None = None)
src/art/unsloth/train.py:225
↓ 1 callersMethodlog
(self, name, entry)
src/art/langgraph/logging.py:10
↓ 1 callersFunctionlog_comparison_model
(comparison_model: art.Model)
examples/just-the-facts/just_the_facts/generate_benchmarks.py:59
↓ 1 callersFunctionlog_comparison_model
(comparison_model: art.Model)
examples/2048/generate_benchmarks.py:42
↓ 1 callersFunctionlog_comparison_model
( comparison_model: art.Model, val_scenarios: List[McpScenario], control_groups: list[art.Trajecto
examples/mcp-rl/mcp_rl/benchmarks/generate_benchmarks.py:102
↓ 1 callersFunctionmain
()
dev/yes-no-maybe-megatron.py:38
↓ 1 callersFunctionmain
Run all logging demonstrations.
dev/demo_logging.py:206
↓ 1 callersFunctionmain
()
dev/yes-no-maybe-metrics.py:169
↓ 1 callersFunctionmain
()
dev/yes-no-maybe.py:40
↓ 1 callersFunctionmain
()
dev/yes-no-maybe-kl-advantage.py:51
↓ 1 callersFunctionmain
()
dev/sft/distillation.py:23
↓ 1 callersFunctionmain
()
dev/sft/sft-warmup.py:43
↓ 1 callersFunctionmain
()
dev/sft/sft-from-file.py:11
↓ 1 callersFunctionmain
()
dev/new_models/gemma3.py:40
↓ 1 callersFunctionmain
()
dev/new_models/qwen3_try.py:41
↓ 1 callersFunctionmain
()
dev/new_models/benchmark_inference.py:46
↓ 1 callersFunctionmain
(model_name: str, steps: int)
dev/math-vista/math-vista.py:26
↓ 1 callersFunctionmain
(argv: list[str] | None = None)
src/art/vllm/dedicated_server.py:35
↓ 1 callersFunctionmain
()
src/art/pipeline_trainer/yes_no_maybe_pipeline.py:102
↓ 1 callersFunctionmain
()
src/art/pipeline_trainer/binary_prefix_tool_pipeline.py:176
↓ 1 callersFunctionmain
()
scripts/bump_version.py:57
↓ 1 callersFunctionmain
()
scripts/migrate-s3-checkpoints.py:25
↓ 1 callersFunctionmain
()
scripts/ci/compute_uv_fingerprint.py:54
↓ 1 callersFunctionmain
()
tests/integration.py:286
↓ 1 callersFunctionmain
()
tests/test_backend_train_api.py:88
↓ 1 callersFunctionmain
()
tests/integration/test_provenance.py:49
↓ 1 callersFunctionmain
()
examples/openenv_echo.py:58
↓ 1 callersFunctionmain
()
examples/benchmarking_comparison_models.py:143
↓ 1 callersFunctionmain
()
examples/tic_tac_toe_self_play/train.py:27
↓ 1 callersFunctionmain
()
examples/tic_tac_toe_self_play/train_o4_mini.py:24
↓ 1 callersFunctionmain
()
examples/temporal_clue/temporal-clue.py:56
↓ 1 callersFunctionmain
()
examples/just-the-facts/main.py:1
↓ 1 callersFunctionmain
()
examples/hn_title_generator/train.py:235
↓ 1 callersFunctionmain
()
examples/2048/rollout.py:128
↓ 1 callersFunctionmain
()
examples/tic_tac_toe/tic-tac-toe.py:25
↓ 1 callersFunctionmain
Run all tests.
examples/mcp-rl/test_scenario_generation.py:318
← previousnext →601–700 of 1,502, ranked by callers