SYMBOL INDEX (263 symbols across 31 files) FILE: apps/evals-leaderboard/app.py function format_model_link (line 39) | def format_model_link(model_id: str) -> str: function format_source_link (line 44) | def format_source_link(source_type: str, contributor: str, source_url: s... function fetch_leaderboard (line 49) | def fetch_leaderboard() -> tuple[list[dict], dict]: function refresh_handler (line 64) | def refresh_handler() -> tuple[str, list[list]]: FILE: apps/evals-leaderboard/collect_evals.py function _normalize (line 38) | def _normalize(text: Optional[str]) -> str: function _coerce_score (line 46) | def _coerce_score(value: Any) -> Optional[float]: class BenchmarkSpec (line 63) | class BenchmarkSpec: method matches (line 68) | def matches(self, fields: List[str]) -> bool: class EvalsCollector (line 104) | class EvalsCollector: method __init__ (line 107) | def __init__(self, token: str | None = None) -> None: method log (line 116) | def log(self, message: str) -> None: method collect_all (line 121) | def collect_all(self) -> List[Dict[str, Any]]: method _fetch_trending_models (line 137) | def _fetch_trending_models(self) -> List[Dict[str, Any]]: method _collect_scores (line 160) | def _collect_scores(self, repo_id: str) -> Dict[str, Any]: method _read_model_card (line 204) | def _read_model_card( method _parse_front_matter (line 225) | def _parse_front_matter(content: str) -> Dict[str, Any]: method _fetch_pull_requests (line 244) | def _fetch_pull_requests(self, repo_id: str) -> List[Dict[str, Any]]: method _extract_scores (line 265) | def _extract_scores( method _match_benchmark (line 324) | def _match_benchmark( method _format_scores (line 342) | def _format_scores(self, model_id: str, scores: Dict[str, Dict[str, An... method get_leaderboard (line 360) | def get_leaderboard(self) -> List[Dict[str, Any]]: method save_json (line 364) | def save_json(self, filepath: str) -> None: method push_to_hub (line 377) | def push_to_hub(self, repo_id: str = "hf-skills/evals-leaderboard") ->... function main (line 427) | def main() -> None: FILE: apps/hackers-leaderboard/app.py function format_username (line 38) | def format_username(username: str) -> str: function fetch_leaderboard (line 43) | def fetch_leaderboard() -> tuple[list[dict], dict]: function refresh_handler (line 58) | def refresh_handler() -> tuple[str, list[list]]: FILE: apps/hackers-leaderboard/collect_points.py class UserStats (line 36) | class UserStats: method total_points (line 48) | def total_points(self) -> int: method to_dict (line 51) | def to_dict(self) -> dict[str, Any]: class PointsCollector (line 63) | class PointsCollector: method __init__ (line 66) | def __init__(self, token: str | None = None) -> None: method log (line 75) | def log(self, message: str) -> None: method _fetch_org_members (line 80) | def _fetch_org_members(self) -> list[str]: method collect_all (line 106) | def collect_all(self) -> dict[str, UserStats]: method scan_external_repos (line 143) | def scan_external_repos(self, repo_types: list[str] | None = None) -> ... method _fetch_trending (line 177) | def _fetch_trending(self, repo_type: str) -> list[dict[str, Any]]: method _scan_repo_for_members (line 190) | def _scan_repo_for_members(self, repo_id: str, repo_type: str, org_mem... method _fetch_member_discussions (line 215) | def _fetch_member_discussions( method _fetch_discussion_comments (line 260) | def _fetch_discussion_comments( method _list_repos (line 287) | def _list_repos(self, repo_type: str) -> list[dict[str, Any]]: method _scan_discussions (line 300) | def _scan_discussions(self, repo_id: str, repo_type: str) -> None: method _process_discussion (line 325) | def _process_discussion(self, repo_id: str, api_type: str, discussion:... method _fetch_comments (line 341) | def _fetch_comments(self, repo_id: str, api_type: str, disc_num: int) ... method _add_point (line 363) | def _add_point( method get_leaderboard (line 392) | def get_leaderboard(self) -> list[dict[str, Any]]: method save_json (line 398) | def save_json(self, filepath: str) -> None: method push_to_hub (line 411) | def push_to_hub(self, repo_id: str = "hf-skills/hackers-leaderboard") ... function main (line 461) | def main() -> None: FILE: scripts/generate_agents.py function load_template (line 31) | def load_template() -> str: function parse_frontmatter (line 35) | def parse_frontmatter(text: str) -> dict[str, str]: function collect_skills (line 49) | def collect_skills() -> list[dict[str, str]]: function render (line 68) | def render(template: str, skills: list[dict[str, str]]) -> str: function load_marketplace (line 87) | def load_marketplace() -> dict: function generate_readme_table (line 94) | def generate_readme_table(skills: list[dict[str, str]]) -> str: function update_readme (line 115) | def update_readme(skills: list[dict[str, str]]) -> bool: function validate_marketplace (line 154) | def validate_marketplace(skills: list[dict[str, str]]) -> list[str]: function main (line 190) | def main() -> None: FILE: scripts/generate_cursor_plugin.py function load_json (line 41) | def load_json(path: Path) -> dict: function parse_frontmatter (line 47) | def parse_frontmatter(text: str) -> dict[str, str]: function collect_skills (line 60) | def collect_skills() -> list[str]: function validate_plugin_name (line 71) | def validate_plugin_name(name: str) -> None: function build_cursor_plugin_manifest (line 79) | def build_cursor_plugin_manifest() -> dict: function extract_mcp_from_gemini (line 110) | def extract_mcp_from_gemini() -> tuple[str, str]: function build_mcp_config (line 133) | def build_mcp_config() -> dict: function render_json (line 144) | def render_json(data: dict) -> str: function write_or_check (line 148) | def write_or_check(path: Path, content: str, check: bool) -> bool: function main (line 162) | def main() -> None: FILE: scripts/run_skills_help.py function find_python_files (line 9) | def find_python_files(): function run_with_help (line 20) | def run_with_help(python_file): function main (line 56) | def main(): FILE: skills/hugging-face-datasets/scripts/dataset_manager.py function init_dataset (line 39) | def init_dataset(repo_id, token=None, private=True): function define_config (line 74) | def define_config(repo_id, system_prompt=None, token=None): function load_dataset_template (line 97) | def load_dataset_template(template_name: str) -> Dict[str, Any]: function validate_by_template (line 110) | def validate_by_template(rows: List[Dict[str, Any]], template: Dict[str,... function _validate_field_type (line 153) | def _validate_field_type(value: Any, expected_type: str, context: str) -... function _validate_chat_format (line 176) | def _validate_chat_format(row: Dict[str, Any], row_index: int) -> bool: function _validate_classification_format (line 198) | def _validate_classification_format(row: Dict[str, Any], row_index: int)... function _validate_tabular_format (line 210) | def _validate_tabular_format(row: Dict[str, Any], row_index: int) -> bool: function validate_training_data (line 232) | def validate_training_data(rows: List[Dict[str, Any]], template_name: st... function _basic_validation (line 245) | def _basic_validation(rows: List[Dict[str, Any]]) -> bool: function add_rows (line 255) | def add_rows( function load_template (line 307) | def load_template(template_name: str = "system_prompt_template.txt") -> ... function quick_setup (line 317) | def quick_setup(repo_id: str, template_type: str = "chat", token: Option... function show_stats (line 360) | def show_stats(repo_id: str, token: Optional[str] = None) -> None: function list_available_templates (line 386) | def list_available_templates() -> None: FILE: skills/hugging-face-datasets/scripts/sql_manager.py class HFDatasetSQL (line 58) | class HFDatasetSQL: method __init__ (line 69) | def __init__(self, token: Optional[str] = None): method _quote_identifier (line 76) | def _quote_identifier(name: str) -> str: method _validate_identifier (line 81) | def _validate_identifier(name: str) -> None: method _setup_connection (line 90) | def _setup_connection(self): method _build_hf_path (line 96) | def _build_hf_path( method _build_hf_path_flexible (line 116) | def _build_hf_path_flexible( method query (line 144) | def query( method query_raw (line 208) | def query_raw(self, sql: str, output_format: str = "dict") -> Union[Li... method describe (line 235) | def describe(self, dataset_id: str, split: str = "train", config: Opti... method sample (line 257) | def sample( method count (line 287) | def count( method unique_values (line 311) | def unique_values( method histogram (line 335) | def histogram( method filter_and_transform (line 366) | def filter_and_transform( method join_datasets (line 418) | def join_datasets( method export_to_parquet (line 464) | def export_to_parquet( method export_to_jsonl (line 502) | def export_to_jsonl( method push_to_hub (line 532) | def push_to_hub( method create_view (line 590) | def create_view(self, name: str, dataset_id: str, split: str = "train"... method info (line 606) | def info(self, dataset_id: str) -> Dict[str, Any]: method close (line 642) | def close(self): function main (line 647) | def main(): function _print_results (line 839) | def _print_results(results: List[Dict], format: str): FILE: skills/hugging-face-evaluation/examples/artificial_analysis_to_hub.py function get_model_evaluations_data (line 53) | def get_model_evaluations_data(creator_slug, model_name): function aa_evaluations_to_model_index (line 65) | def aa_evaluations_to_model_index( function main (line 107) | def main(): FILE: skills/hugging-face-evaluation/scripts/evaluation_manager.py function load_env (line 29) | def load_env() -> None: function require_markdown_it (line 38) | def require_markdown_it(): function require_model_card (line 49) | def require_model_card(): function require_requests (line 60) | def require_requests(): function require_yaml (line 71) | def require_yaml(): function extract_tables_from_markdown (line 87) | def extract_tables_from_markdown(markdown_content: str) -> List[str]: function parse_markdown_table (line 95) | def parse_markdown_table(table_str: str) -> Tuple[List[str], List[List[s... function is_evaluation_table (line 123) | def is_evaluation_table(header: List[str], rows: List[List[str]]) -> bool: function normalize_model_name (line 154) | def normalize_model_name(name: str) -> tuple[set[str], str]: function find_main_model_column (line 176) | def find_main_model_column(header: List[str], model_name: str) -> Option... function find_main_model_row (line 215) | def find_main_model_row( function is_transposed_table (line 262) | def is_transposed_table(header: List[str], rows: List[List[str]]) -> bool: function extract_metrics_from_table (line 319) | def extract_metrics_from_table( function extract_evaluations_from_readme (line 489) | def extract_evaluations_from_readme( function extract_tables_with_parser (line 609) | def extract_tables_with_parser(markdown_content: str) -> List[Dict[str, ... function detect_table_format (line 656) | def detect_table_format(table: Dict[str, Any], repo_id: str) -> Dict[str... function inspect_tables (line 720) | def inspect_tables(repo_id: str) -> None: function get_open_prs (line 788) | def get_open_prs(repo_id: str) -> List[Dict[str, Any]]: function list_open_prs (line 826) | def list_open_prs(repo_id: str) -> None: function get_aa_model_data (line 853) | def get_aa_model_data(creator_slug: str, model_name: str) -> Optional[Di... function aa_data_to_model_index (line 893) | def aa_data_to_model_index( function import_aa_evaluations (line 943) | def import_aa_evaluations( function update_model_card_with_evaluations (line 973) | def update_model_card_with_evaluations( function show_evaluations (line 1052) | def show_evaluations(repo_id: str) -> None: function validate_model_index (line 1100) | def validate_model_index(repo_id: str) -> bool: function main (line 1153) | def main(): FILE: skills/hugging-face-evaluation/scripts/inspect_eval_uv.py function _inspect_evals_tasks_root (line 24) | def _inspect_evals_tasks_root() -> Optional[Path]: function _normalize_task (line 34) | def _normalize_task(task: str) -> str: function main (line 43) | def main() -> None: FILE: skills/hugging-face-evaluation/scripts/inspect_vllm_uv.py function setup_environment (line 41) | def setup_environment() -> None: function run_inspect_vllm (line 49) | def run_inspect_vllm( function run_inspect_hf (line 118) | def run_inspect_hf( function main (line 183) | def main() -> None: FILE: skills/hugging-face-evaluation/scripts/lighteval_vllm_uv.py function setup_environment (line 37) | def setup_environment() -> None: function run_lighteval_vllm (line 45) | def run_lighteval_vllm( function run_lighteval_accelerate (line 113) | def run_lighteval_accelerate( function main (line 177) | def main() -> None: FILE: skills/hugging-face-evaluation/scripts/run_eval_job.py function create_eval_job (line 32) | def create_eval_job( function main (line 80) | def main() -> None: FILE: skills/hugging-face-evaluation/scripts/run_vllm_eval_job.py function estimate_hardware (line 54) | def estimate_hardware(model_id: str) -> str: function create_lighteval_job (line 76) | def create_lighteval_job( function create_inspect_job (line 134) | def create_inspect_job( function main (line 186) | def main() -> None: FILE: skills/hugging-face-evaluation/scripts/test_extraction.py function test_table_extraction (line 65) | def test_table_extraction(): function test_table_parsing (line 82) | def test_table_parsing(tables): function test_evaluation_detection (line 105) | def test_evaluation_detection(parsed_tables): function test_metric_extraction (line 125) | def test_metric_extraction(eval_tables): function test_model_index_format (line 145) | def test_model_index_format(metrics): function main (line 177) | def main(): FILE: skills/hugging-face-jobs/scripts/cot-self-instruct.py function check_gpu_availability (line 104) | def check_gpu_availability() -> int: function parse_thinking_output (line 122) | def parse_thinking_output(text: str) -> str: function extract_reasoning_output (line 129) | def extract_reasoning_output(text: str) -> Tuple[Optional[str], Optional... function extract_instruction_output (line 152) | def extract_instruction_output(text: str) -> Optional[str]: function categorize_prompts (line 163) | def categorize_prompts(prompts: List[str], num_categories: int = 8) -> D... function generate_synthetic_data (line 196) | def generate_synthetic_data( function answer_consistency_filter (line 267) | def answer_consistency_filter( function rip_filter (line 319) | def rip_filter( function create_dataset_card (line 364) | def create_dataset_card( function main (line 441) | def main(): FILE: skills/hugging-face-jobs/scripts/finepdfs-stats.py function list_available_languages (line 75) | def list_available_languages(dataset_id: str) -> list[str]: function compute_temporal_stats (line 91) | def compute_temporal_stats(df: pl.LazyFrame, output_path: Path) -> pl.Da... function compute_global_stats (line 103) | def compute_global_stats(temporal: pl.DataFrame) -> pl.DataFrame: function format_temporal_stats (line 119) | def format_temporal_stats(temporal: pl.DataFrame) -> pl.DataFrame: function create_ascii_charts (line 132) | def create_ascii_charts(temporal_stats: pl.DataFrame) -> str: function create_readme (line 171) | def create_readme( function main (line 274) | def main(): FILE: skills/hugging-face-jobs/scripts/generate-responses.py function check_gpu_availability (line 64) | def check_gpu_availability() -> int: function create_dataset_card (line 82) | def create_dataset_card( function main (line 168) | def main( FILE: skills/hugging-face-model-trainer/scripts/convert_to_gguf.py function check_system_dependencies (line 50) | def check_system_dependencies(): function run_command (line 77) | def run_command(cmd, description): FILE: skills/hugging-face-model-trainer/scripts/dataset_inspector.py function parse_args (line 29) | def parse_args(): function api_request (line 40) | def api_request(url: str) -> Dict: function get_splits (line 53) | def get_splits(dataset: str) -> Dict: function get_rows (line 59) | def get_rows(dataset: str, config: str, split: str, offset: int = 0, len... function find_columns (line 65) | def find_columns(columns: List[str], patterns: List[str]) -> List[str]: function check_sft_compatibility (line 70) | def check_sft_compatibility(columns: List[str]) -> Dict[str, Any]: function check_dpo_compatibility (line 90) | def check_dpo_compatibility(columns: List[str]) -> Dict[str, Any]: function check_grpo_compatibility (line 109) | def check_grpo_compatibility(columns: List[str]) -> Dict[str, Any]: function check_kto_compatibility (line 123) | def check_kto_compatibility(columns: List[str]) -> Dict[str, Any]: function generate_mapping_code (line 128) | def generate_mapping_code(method: str, info: Dict[str, Any]) -> str: function format_value_preview (line 186) | def format_value_preview(value: Any, max_chars: int) -> str: function main (line 202) | def main(): FILE: skills/hugging-face-model-trainer/scripts/estimate_cost.py function estimate_training_time (line 39) | def estimate_training_time(model_params, dataset_size, epochs, hardware): function parse_args (line 66) | def parse_args(): function extract_model_size (line 75) | def extract_model_size(model_name): function main (line 90) | def main(): FILE: skills/hugging-face-model-trainer/scripts/unsloth_sft_example.py function check_cuda (line 58) | def check_cuda(): function parse_args (line 72) | def parse_args(): function main (line 215) | def main(): FILE: skills/hugging-face-paper-publisher/scripts/paper_manager.py class PaperManager (line 39) | class PaperManager: method __init__ (line 42) | def __init__(self, hf_token: Optional[str] = None): method index_paper (line 49) | def index_paper(self, arxiv_id: str) -> Dict[str, Any]: method check_paper (line 84) | def check_paper(self, arxiv_id: str) -> Dict[str, Any]: method link_paper_to_repo (line 119) | def link_paper_to_repo( method _add_paper_to_readme (line 197) | def _add_paper_to_readme( method create_research_article (line 255) | def create_research_article( method get_arxiv_info (line 338) | def get_arxiv_info(self, arxiv_id: str) -> Dict[str, Any]: method generate_citation (line 382) | def generate_citation( method _clean_arxiv_id (line 434) | def _clean_arxiv_id(arxiv_id: str) -> str: method _escape_yaml_value (line 457) | def _escape_yaml_value(value: str) -> str: method _sanitize_text (line 467) | def _sanitize_text(text: str) -> str: function main (line 485) | def main(): FILE: skills/hugging-face-tool-builder/references/baseline_hf_api.py function show_help (line 16) | def show_help() -> None: function main (line 36) | def main() -> int: FILE: skills/hugging-face-vision-trainer/scripts/dataset_inspector.py function parse_args (line 31) | def parse_args(): function api_request (line 42) | def api_request(url: str) -> Dict: function get_splits (line 55) | def get_splits(dataset: str) -> Dict: function get_rows (line 61) | def get_rows(dataset: str, config: str, split: str, offset: int = 0, len... function find_columns (line 67) | def find_columns(columns: List[str], patterns: List[str]) -> List[str]: function detect_bbox_format (line 72) | def detect_bbox_format(bbox: List[float], image_size: Tuple[int, int] = ... function _extract_image_size (line 110) | def _extract_image_size(row: Dict) -> Tuple[int, int] | None: function analyze_annotations (line 122) | def analyze_annotations(sample_rows: List[Dict], annotation_cols: List[s... function check_image_classification_compatibility (line 243) | def check_image_classification_compatibility(columns: List[str], sample_... function check_object_detection_compatibility (line 296) | def check_object_detection_compatibility(columns: List[str], sample_rows... function check_sam_segmentation_compatibility (line 329) | def check_sam_segmentation_compatibility(columns: List[str], sample_rows... function _try_json (line 409) | def _try_json(value) -> Any: function _validate_bbox (line 418) | def _validate_bbox(bbox, image_size=None) -> Dict[str, Any]: function generate_mapping_code (line 457) | def generate_mapping_code(info: Dict[str, Any]) -> str: function format_value_preview (line 522) | def format_value_preview(value: Any, max_chars: int) -> str: function main (line 546) | def main(): FILE: skills/hugging-face-vision-trainer/scripts/estimate_cost.py function extract_model_params (line 71) | def extract_model_params(model_name: str) -> float: function estimate_training_time (line 80) | def estimate_training_time(model_params_m: float, dataset_size: int, epo... function parse_args (line 122) | def parse_args(): function main (line 136) | def main(): FILE: skills/hugging-face-vision-trainer/scripts/image_classification_training.py class DataTrainingArguments (line 62) | class DataTrainingArguments: class ModelArguments (line 94) | class ModelArguments: function build_transforms (line 129) | def build_transforms(image_processor, is_training: bool): function main (line 167) | def main(): FILE: skills/hugging-face-vision-trainer/scripts/object_detection_training.py class ModelOutput (line 59) | class ModelOutput: function format_image_annotations_as_coco (line 64) | def format_image_annotations_as_coco( function detect_bbox_format_from_samples (line 99) | def detect_bbox_format_from_samples(dataset, image_col="image", objects_... function sanitize_dataset (line 142) | def sanitize_dataset(dataset, bbox_format="xywh", image_col="image", obj... function convert_bbox_yolo_to_pascal (line 213) | def convert_bbox_yolo_to_pascal(boxes: torch.Tensor, image_size: tuple[i... function augment_and_transform_batch (line 239) | def augment_and_transform_batch( function collate_fn (line 287) | def collate_fn(batch: list[BatchFeature]) -> Mapping[str, torch.Tensor |... function compute_metrics (line 297) | def compute_metrics( class DataTrainingArguments (line 374) | class DataTrainingArguments: class ModelArguments (line 422) | class ModelArguments: function main (line 469) | def main(): FILE: skills/hugging-face-vision-trainer/scripts/sam_segmentation_training.py class SAMSegmentationDataset (line 49) | class SAMSegmentationDataset(Dataset): method __init__ (line 57) | def __init__(self, dataset, processor, prompt_type: str, method __len__ (line 69) | def __len__(self): method _extract_prompt (line 72) | def _extract_prompt(self, item): method __getitem__ (line 86) | def __getitem__(self, idx): function collate_fn (line 106) | def collate_fn(batch): function compute_loss (line 151) | def compute_loss(outputs, labels, num_items_in_batch=None): class DataTrainingArguments (line 161) | class DataTrainingArguments: class ModelArguments (line 209) | class ModelArguments: function main (line 232) | def main():