Hugging Face Evaluation Manager
- Repo stars 0
- Author updated Live
- Author repo FarmFriend-Terminal-React
- Domain
- Other
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @0-CYBERDYNE-SYSTEMS-0 · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- Python
- Permissions
-
- Read-only
- Write / modify
- Env read
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: Hugging Face Evaluation Manager
description: This skill enables you to manage, track, and analyze evaluation results for machine learning mod…
category: other
runtime: Python
---
# Hugging Face Evaluation Manager output preview
## PART A: Task fit
- Use case: This skill enables you to manage, track, and analyze evaluation results for machine learning models used in agricultural applications. It provides tools for adding structured evaluation data to model cards, comparing performance across different models, and maintaining comprehensive evaluation histories. runs entirely locally; runs on Python. Works with C….
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “Overview / When to Use This Skill / Key Capabilities” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “This skill enables you to manage, track, and analyze evaluation results for machine learning models used in agricultural applications. It provides tools for adding structured evaluation data to model cards, comparing performance across different models, and maintaining comprehensive evaluation histories. runs entirely locally; runs on Python. Works with C…”.
- **02** When the source has headings, the agent prioritizes “Overview / When to Use This Skill / Key Capabilities” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files, read environment variables; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, write/modify files, read environment variables; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source does not require a stable slash command. After installation, invoke the skill by name and describe the task.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files, read environment variables.
Start with a small task and check whether the result follows “Overview / When to Use This Skill / Key Capabilities”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: Hugging Face Evaluation Manager
description: This skill enables you to manage, track, and analyze evaluation results for machine learning mod…
category: other
source: 0-CYBERDYNE-SYSTEMS-0/FarmFriend-Terminal-React
---
# Hugging Face Evaluation Manager
## When to use
- This skill enables you to manage, track, and analyze evaluation results for machine learning models used in agricultur…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “Overview / When to Use This Skill / Key Capabilities” and keep inference separate from source facts.
- read files, write/modify files, read environment variables; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "Hugging Face Evaluation Manager" {
input -> user goal + target files + boundaries + acceptance criteria
context -> Overview / When to Use This Skill / Key Capabilities
rules -> SKILL.md triggers / order / output contract
runtime -> Python | read files, write/modify files, read environment variables | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} Hugging Face Evaluation Manager for FF-Terminal
Overview
This skill enables you to manage, track, and analyze evaluation results for machine learning models used in agricultural applications. It provides tools for adding structured evaluation data to model cards, comparing performance across different models, and maintaining comprehensive evaluation histories.
When to Use This Skill
Use this skill when you need to:
- Track evaluation results for crop yield prediction models
- Compare performance of different disease detection models
- Monitor model accuracy for weather forecasting systems
- Add evaluation metrics to agricultural ML model cards
- Benchmark models against industry standards
- Track model performance over growing seasons
- Evaluate precision agriculture algorithms
Key Capabilities
1. Agricultural Model Types Supported
- Crop Yield Prediction: Regression models for yield forecasting
- Disease Detection: Classification models for plant disease identification
- Weather Prediction: Time series models for weather and climate forecasting
- Soil Analysis: Models for soil property prediction and recommendations
- Pest Detection: Computer vision models for pest identification
- Irrigation Optimization: Models for water usage optimization
- Harvest Timing: Models for optimal harvest prediction
2. Evaluation Metrics
- Regression Metrics: MAE, MSE, RMSE, R² for continuous predictions
- Classification Metrics: Accuracy, Precision, Recall, F1-Score, AUC-ROC
- Time Series Metrics: MAPE, SMAPE, Directional Accuracy
- Custom Agricultural Metrics: Yield prediction accuracy, disease detection rates
- Economic Metrics: Cost-benefit analysis, ROI calculations
- Environmental Metrics: Resource efficiency, sustainability scores
3. Data Sources for Evaluation
- Historical Farm Data: Past seasons' performance data
- Cross-Validation: K-fold validation on agricultural datasets
- Field Trials: Real-world testing on actual farms
- Simulation Results: Controlled environment testing
- Benchmark Datasets: Standard agricultural ML benchmarks
Prerequisites
- Hugging Face account with model repository access
- HF_TOKEN environment variable set
- Python packages:
huggingface_hub,pandas,numpy,scikit-learn - Evaluation data in structured format (CSV, JSON)
Usage Workflow
Step 1: Prepare Evaluation Results
Format your evaluation data:
import pandas as pd
# Create evaluation results dataframe
eval_results = pd.DataFrame({
"model_name": ["CropYieldNet_v1", "CropYieldNet_v2"],
"mae": [0.15, 0.12],
"rmse": [0.22, 0.18],
"r2_score": [0.87, 0.91],
"dataset": "US_Corn_Yields_2020-2023",
"test_samples": 1000
})
Step 2: Generate Evaluation Report
Create comprehensive evaluation summary:
def generate_eval_report(eval_results, model_name):
report = f"""
# Model Evaluation Report: {model_name}
## Performance Metrics
- **Mean Absolute Error**: {eval_results['mae']:.3f}
- **Root Mean Square Error**: {eval_results['rmse']:.3f}
- **R² Score**: {eval_results['r2_score']:.3f}
## Dataset Information
- **Test Dataset**: {eval_results['dataset']}
- **Sample Size**: {eval_results['test_samples']:,}
- **Evaluation Date**: {pd.Timestamp.now().strftime('%Y-%m-%d')}
## Agricultural Context
This model was evaluated on historical crop yield data spanning multiple
growing seasons and geographic regions. Performance metrics reflect
real-world prediction accuracy for yield forecasting applications.
"""
return report
Step 3: Update Model Card
Add evaluation results to model card:
from huggingface_hub import update_repo_metadata
# Prepare model card content
model_card_content = f"""
---
language: en
tags:
- agriculture
- crop-yield
- regression
license: mit
metrics:
- mae
- rmse
- r2
---
# {model_name}
## Model Description
{model_description}
## Evaluation Results
{evaluation_report}
## Usage
```python
from transformers import AutoModelForSequenceClassification
model = AutoModelForSequenceClassification.from_pretrained("your-username/{model_name}")
"""
Update model card
update_repo_metadata( repo_id="your-username/your-model", token=your_hf_token, metadata=model_card_content )
### Step 4: Track Performance Over Time
Maintain evaluation history:
```python
def track_model_performance(model_id, new_results):
# Load existing evaluation history
history_file = f"eval_history_{model_id.replace('/', '_')}.json"
try:
with open(history_file, 'r') as f:
history = json.load(f)
except FileNotFoundError:
history = []
# Add new evaluation results
new_entry = {
"timestamp": datetime.now().isoformat(),
"results": new_results,
"version": get_current_model_version(model_id)
}
history.append(new_entry)
# Save updated history
with open(history_file, 'w') as f:
json.dump(history, f, indent=2)
Agricultural Evaluation Best Practices
Seasonal Validation
- Evaluate models across multiple growing seasons
- Account for seasonal variations and climate patterns
- Test on different geographic regions and soil types
- Consider weather variability and extreme events
Real-World Testing
- Validate predictions against actual farm outcomes
- Include economic impact assessments
- Test on diverse farming operations and scales
- Consider practical deployment constraints
Benchmark Comparisons
- Compare against baseline agricultural models
- Include industry-standard benchmarks
- Reference academic literature and established methods
- Provide context for performance metrics
Integration with FF-Terminal Tools
This skill works seamlessly with other FF-Terminal capabilities:
- Data Analysis: Use
analyze_datatool to explore evaluation results - Visualization: Create performance charts and comparison plots
- Model Training: Integrate with training pipelines for continuous evaluation
- Automation: Schedule regular model performance monitoring
Example Use Cases
1. Crop Yield Model Evaluation
# Evaluate yield prediction model
yield_model = "CropYieldNet_v2"
test_data = load_yield_test_data("2023_season_data.csv")
# Run evaluation
predictions = yield_model.predict(test_data)
metrics = calculate_regression_metrics(test_data["actual_yield"], predictions)
# Generate and save report
eval_report = generate_eval_report(metrics, yield_model)
update_model_card("your-org/crop-yield-predictor", eval_report)
2. Disease Detection Model Comparison
# Compare multiple disease detection models
models = ["PlantDiseaseNet_v1", "PlantDiseaseNet_v2", "ResNet50-PlantDisease"]
test_images = load_disease_test_set("plant_disease_test/")
results = []
for model in models:
predictions = model.predict(test_images)
metrics = calculate_classification_metrics(test_images["labels"], predictions)
results.append({"model": model, **metrics})
# Create comparison report
comparison_report = create_comparison_table(results)
update_model_card("your-org/plant-detection-suite", comparison_report)
3. Model Performance Tracking
# Track model performance over time
model_id = "your-org/weather-forecaster"
new_eval_results = evaluate_weather_model(model_id, "2024_data")
# Add to performance history
track_model_performance(model_id, new_eval_results)
# Generate performance trend analysis
trend_analysis = analyze_performance_trends(model_id)
update_model_card(model_id, trend_analysis)
Advanced Features
Automated Evaluation Pipelines
- Set up continuous evaluation on new data
- Automated model card updates
- Performance alerting and notifications
- Integration with CI/CD pipelines
Comparative Analysis
- Multi-model comparison reports
- Statistical significance testing
- Performance ranking and leaderboards
- Cross-dataset generalization analysis
Economic Impact Assessment
- Cost-benefit analysis for model deployment
- ROI calculations for agricultural applications
- Resource optimization recommendations
- Risk assessment and mitigation strategies
Troubleshooting
Common Issues
- Metric calculation errors: Verify data formats and column names
- Model card update failures: Check repository permissions and token validity
- Performance inconsistencies: Ensure consistent evaluation protocols
- Data quality issues: Validate test data quality and representativeness
Error Recovery
- Implement validation checks for evaluation data
- Use backup evaluation methods for edge cases
- Maintain audit trails of evaluation processes
- Provide clear error messages and recovery guidance
Decide Fit First
Design Intent
How To Use It
Boundaries And Review