MCPcopy Create free account

hub / github.com/cactus-compute/needle / functions

Functions285 in github.com/cactus-compute/needle

Functionf
(city: str, units: str = "metric")
tests/test_tools.py:27
Functionfake
(tools, n=1, **k)
tests/test_generate.py:62
Functionfake_quant_act
(x)
needle/model/quantize.py:33
Functionfetch_library
(version, dest_dir)
needle/agent/fetch.py:44
Methodforward_confidence
(self, tokens, quant=False, window=0, sink=None)
needle/model/architecture.py:569
Methodforward_contrastive
(self, query_tokens, tool_tokens, quant=False)
needle/model/architecture.py:564
Methodfrom_cact
(cls, path)
needle/model/export.py:475
Functiong
(value: typing.Union[int, str])
tests/test_tools.py:79
Functiongenerate_cached
(config, params, tokenizer, prompt, max_new_tokens=96, max_len=None, kv_window=0)
needle/model/decode.py:254
Functiongenerate_examples
(tools, n=25, model=DEFAULT_MODEL, api_key=None, refusals=3)
needle/model/finetune.py:73
Functionget_weather
Get the weather for a city.
tests/test_inference.py:37
Functionhead_output_name
(checkpoint, suffix)
needle/model/run.py:55
Methodhidden_states
(self, tokens, mask=None)
needle/model/architecture.py:575
Methodjax_dtype
(self)
needle/model/architecture.py:91
FunctionloadModelFile
(input)
needle/playground/app.js:40
FunctionloadToolsFile
(input)
needle/playground/app.js:17
Methodlog_message
(self, *args)
needle/playground/server.py:172
Functionloss_fn
(lora, ids, mask)
needle/model/finetune.py:304
Functionmain
()
needle/cli.py:97
Functionmain
(args)
needle/model/run.py:214
Functionmain
(args)
needle/model/export.py:536
Functionmain
(args)
needle/playground/server.py:176
Functionmake_causal_packing_mask
(seg_ids, prefix=None, window=0)
needle/model/architecture.py:616
Functionmaybe_quant_kv
(x, quant)
needle/model/quantize.py:41
Functionmaybe_quant_weights
(params, do_quantize)
needle/model/quantize.py:87
Methodmd5
(self)
needle/model/tokenizer.py:43
Functionmodel_bytes_fp16
(params)
needle/model/quantize.py:192
Functionnoise_params
(params, key, scale, group_size=CQ_GROUP_SIZE)
needle/model/quantize.py:269
Functionnoise_params_only
(params, key, scale, name, group_size=CQ_GROUP_SIZE)
needle/model/quantize.py:276
Functionnoise_scale
(bits, group_size=CQ_GROUP_SIZE)
needle/model/quantize.py:231
FunctionopenFinetuneModal
()
needle/playground/app.js:174
Methodpad_token_id
(self)
needle/model/tokenizer.py:49
FunctionpollFinetune
()
needle/playground/app.js:250
Functionpump
()
needle/cli.py:54
Functionq
(path, leaf)
needle/model/quantize.py:26
Functionquantize_params_configured
(params)
needle/model/quantize.py:70
Methodreset
(self)
needle/__init__.py:124
Functionsend_email
Send an email to a recipient.
tests/test_inference.py:10
Functionset_thermostat
Set the thermostat temperature.
tests/test_inference.py:51
Methodsetup
(self)
needle/model/architecture.py:478
FunctionstartFinetune
()
needle/playground/app.js:203
Functiontest_augment_jsonl_appends_generated
(monkeypatch, tmp_path)
tests/test_generate.py:91
Functiontest_basic_schema_types_and_required
()
tests/test_tools.py:13
Functiontest_build_at_two_bits
(tiny_checkpoint, tmp_path)
tests/test_build.py:29
Functiontest_build_exports_loadable_cact
(tiny_checkpoint, tmp_path)
tests/test_build.py:14
Functiontest_collect_tools_dedups_by_name
()
tests/test_generate.py:19
Functiontest_defaults_are_optional
()
tests/test_tools.py:26
Functiontest_docstring_description_falls_back_to_args
()
tests/test_tools.py:105
Functiontest_encode_loss_mask_targets_only
(tok)
tests/test_render.py:38
Functiontest_export_round_trips_a_projection
(tiny_checkpoint, tmp_path)
tests/test_build.py:39
Functiontest_extract_keeps_agent_tools
()
tests/test_inference.py:72
Functiontest_field_constraints_and_docstring_args
()
tests/test_tools.py:86
Functiontest_finetune_then_build_merges
(tiny_checkpoint, tmp_path)
tests/test_finetune.py:56
Functiontest_finetune_writes_adapter
(tiny_checkpoint, tmp_path)
tests/test_finetune.py:34
Functiontest_generate_dataset_dedups_and_terminates
(monkeypatch)
tests/test_generate.py:81
Functiontest_generate_dataset_hits_target_concurrently
(monkeypatch)
tests/test_generate.py:71
Functiontest_generate_examples_attaches_tools
(monkeypatch)
tests/test_generate.py:27
Functiontest_generate_examples_requires_api_key
(monkeypatch)
tests/test_generate.py:39
Functiontest_init_lora_shapes_and_zero_b
()
tests/test_lora.py:20
Functiontest_literal_list_and_dict_types
()
tests/test_tools.py:35
Functiontest_load_jsonl_shapes_and_skips_invalid
(tok, tmp_path)
tests/test_render.py:55
Functiontest_lora_target_paths_selects_projection_kernels
()
tests/test_lora.py:4
Functiontest_merge_lora_adds_scaled_delta
()
tests/test_lora.py:48
Functiontest_merge_lora_is_identity_when_b_zero
()
tests/test_lora.py:34
Functiontest_openrouter_url_can_be_overridden_from_environment
(monkeypatch)
tests/test_generate.py:47
Functiontest_optional_annotation_not_required
()
tests/test_tools.py:53
Functiontest_parse_array_variants
()
tests/test_generate.py:7
Functiontest_pep604_none_union_not_required
()
tests/test_tools.py:62
Functiontest_pep604_union_matches_typing_union
()
tests/test_tools.py:75
Functiontest_pydantic_model_schema
()
tests/test_tools.py:117
Functiontest_render_example_accepts_function_calls_alias
()
tests/test_render.py:30
Functiontest_render_example_markers
()
tests/test_render.py:13
Functiontest_run_agentic_loop
()
tests/test_inference.py:33
Functiontest_structured_extraction
()
tests/test_inference.py:21
Functiontest_tool_call
()
tests/test_inference.py:6
Functiontest_tool_decorator_preserves_callable
()
tests/test_tools.py:133
Functiontest_two_agents
()
tests/test_inference.py:47
Functiontest_typed_list_items
()
tests/test_tools.py:45
Functiontiny_checkpoint
(tmp_path_factory)
tests/conftest.py:26
FunctiontogglePanel
()
needle/playground/app.js:164
Functiontok
()
tests/test_render.py:8
Functiontool
(fn)
needle/agent/tools.py:162
Functionvisit
(path, leaf)
needle/model/quantize.py:178
Methodvocab_size
(self)
needle/model/tokenizer.py:61
Functionweight_bits
()
needle/model/quantize.py:83
← previous201–285 of 285, ranked by callers