Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace-internal.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"metadata": {
"description": "Full Hugging Face Skills manifest for hf skills, MCP, and discovery. Client plugin marketplaces use curated manifests.",
"version": "1.0.34"
"version": "1.0.35"
},
"plugins": [
{
Expand Down
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"metadata": {
"description": "Core Hugging Face Hub operations through the hf CLI, including skill installation, repo management, jobs, datasets, models, Spaces, and discovery.",
"version": "1.0.34"
"version": "1.0.35"
},
"plugins": [
{
Expand Down
2 changes: 1 addition & 1 deletion .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "huggingface-skills",
"description": "Core Hugging Face Hub operations through the hf CLI, including skill installation, repo management, jobs, datasets, models, Spaces, and discovery.",
"version": "1.0.34",
"version": "1.0.35",
"author": {
"name": "Hugging Face"
},
Expand Down
2 changes: 1 addition & 1 deletion .cursor-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"metadata": {
"description": "Core Hugging Face Hub operations through the hf CLI, including skill installation, repo management, jobs, datasets, models, Spaces, and discovery.",
"version": "1.0.34"
"version": "1.0.35"
},
"plugins": [
{
Expand Down
2 changes: 1 addition & 1 deletion .cursor-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"skills": "skills",
"mcpServers": ".mcp.json",
"description": "Core Hugging Face Hub operations through the hf CLI, including skill installation, repo management, jobs, datasets, models, Spaces, and discovery.",
"version": "1.0.34",
"version": "1.0.35",
"author": {
"name": "Hugging Face"
},
Expand Down
2 changes: 1 addition & 1 deletion gemini-extension.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "huggingface-skills",
"description": "Provides access to the Hugging Face Skills.",
"version": "1.0.34",
"version": "1.0.35",
"contextFileName": "agentsmd/AGENTS.md",
"mcpServers": {
"huggingface-skills": {
Expand Down
7 changes: 5 additions & 2 deletions skills/huggingface-llm-trainer/scripts/dataset_inspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,17 +214,20 @@ def main():

# Find the right config
available_configs = set()
configs_with_split = set()
split_found = False
config_to_use = args.config

for split_info in splits_data["splits"]:
available_configs.add(split_info["config"])
if split_info["split"] == args.split:
configs_with_split.add(split_info["config"])
if split_info["config"] == args.config and split_info["split"] == args.split:
split_found = True

# If default config not found, try first available
# If default config not found, try first config that has the requested split
if not split_found and available_configs:
config_to_use = list(available_configs)[0]
config_to_use = sorted(configs_with_split or available_configs)[0]
print(f"Config '{args.config}' not found, trying '{config_to_use}'...")

# Get rows
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -558,17 +558,20 @@ def main():

# Find the right config
available_configs = set()
configs_with_split = set()
split_found = False
config_to_use = args.config

for split_info in splits_data["splits"]:
available_configs.add(split_info["config"])
if split_info["split"] == args.split:
configs_with_split.add(split_info["config"])
if split_info["config"] == args.config and split_info["split"] == args.split:
split_found = True

# If default config not found, try first available
# If default config not found, try first config that has the requested split
if not split_found and available_configs:
config_to_use = list(available_configs)[0]
config_to_use = sorted(configs_with_split or available_configs)[0]
print(f"Config '{args.config}' not found, trying '{config_to_use}'...")

# Get rows
Expand Down