Run this model with HF Jobs
Run StephanAkkerman/chart-info-detector on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/StephanAkkerman/chart-info-detector. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/StephanAkkerman/chart-info-detector on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use StephanAkkerman/chart-info-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use StephanAkkerman/chart-info-detector with ultralytics:
from huggingface_hub import hf_hub_download from ultralytics import YOLO # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("StephanAkkerman/chart-info-detector", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Chart Info Detector
This is a fintuned model for detecting objects in financial charts. It uses YOLO12n as its base model, making it a fast and small model. This model is trained on my own datasets of financial charts posted on Twitter, which I labeled myself.
Inteded uses
chart-info-detector is inteded for finding relevant information from financial chart images.
An example of a labelled financial chart:

Usage
To use this model you need to install the ultralytics library with Python. You can then download the weights of this repo and load them into the model.
The image size during training was set to 1792, so be sure to use this too.
from ultralytics import YOLO
from huggingface_hub import hf_hub_download
# Load the pre-trained model
model = YOLO(hf_hub_download(
repo_id="StephanAkkerman/chart-info-detector",
filename="weights/best.pt",
repo_type="model",
))
# Perform object detection on an image
results = model.predict(
source=img_path,
imgsz=1792,
conf=0.25,
iou=0.5,
verbose=False,
)
r = results[0]
# Show the results
r.show()
- Downloads last month
- 110
Dataset used to train StephanAkkerman/chart-info-detector
Evaluation results
- mAP50 on Test Setself-reported0.753
- precision on Test Setself-reported0.692
- recall on Test Setself-reported0.657