Model Card for Model ID

Used to point to voltage peaks in Cyclic Voltammetry graphs, fine tuned to return peak location in pixel coordinates with XML tags.

Model Description

This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.

  • Developed by: [More Information Needed]
  • Funded by [optional]: [More Information Needed]
  • Shared by [optional]: [More Information Needed]
  • Model type: [More Information Needed]
  • Language(s) (NLP): [More Information Needed]
  • License: [More Information Needed]
  • Finetuned from model [optional]: [More Information Needed]

Model Sources [optional]

  • Repository: [More Information Needed]
  • Paper [optional]: [More Information Needed]
  • Demo [optional]: [More Information Needed]

Training Details

Fine tuned on hf dataset ncauchi1/pointing_demo_diverse on 10k samples. Base Model is Qwen2.5 VL 3B, trained in two parts of 5k each.

Dataset was improved from previous version, raw data was normalized to remove issues with scaling on graph, then randomly re-scaled to provide variation. Sample CV's with no peaks, and graphs with different nubers of CV's were added for more variation.

Training logs: https://wandb.ai/ncauchi-university-of-maryland/huggingface/runs/to254a01/logs
https://wandb.ai/ncauchi-university-of-maryland/huggingface/runs/rhvllmjz/logs

Preprocessing [optional]

[More Information Needed]

Training Hyperparameters

  • Training regime: [ --torch_dtype bfloat16
    --num_train_epochs 5
    --per_device_train_batch_size 8
    --per_device_eval_batch_size 8
    --learning_rate 1e-4
    --freeze_vit false
    --freeze_aligner false
    --lora_rank 16
    --lora_alpha 32
    --gradient_accumulation_steps 1
    --eval_steps 20
    --save_steps 100
    --save_total_limit 2
    --logging_steps 5
    --max_length 8192
    --output_dir output
    --warmup_ratio 0.05
    --dataloader_num_workers 4
    --dataset_num_proc 4
    --deepspeed zero2
    --save_only_model true
    --use_hf true
    --report_to wandb]

Evaluation

Model was evaluated on test set and holdout set. (holdout set comprised of raw data that was not used to generate train/test set)

Model scored 98% Accuracy on test set and 96% accuracy on holdout set. *Holdout set was based on old dataset so there were no samples without peaks

Most errors seemed reasonable, sometimes having trouble identifying 'lower' and 'upper peaks', missing small peaks, or mistaking other curve features for peaks. Compared to previous mode never guessed peaks off of the graph and generalized much better (previous model scored ~68% on holdout set)

Model was also evaluated on general CV questions dataset (bxw315-umd/general-cv-questions) and scored _20% (prob to answer correctly) compared to 23.3%

Model Examination [optional]

[More Information Needed]

Environmental Impact

Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).

  • Hardware Type: [More Information Needed]
  • Hours used: [More Information Needed]
  • Cloud Provider: [More Information Needed]
  • Compute Region: [More Information Needed]
  • Carbon Emitted: [More Information Needed]

Technical Specifications [optional]

Model Architecture and Objective

[More Information Needed]

Compute Infrastructure

[More Information Needed]

Hardware

[More Information Needed]

Software

[More Information Needed]

Citation [optional]

BibTeX:

[More Information Needed]

APA:

[More Information Needed]

Glossary [optional]

[More Information Needed]

More Information [optional]

[More Information Needed]

Model Card Authors [optional]

[More Information Needed]

Model Card Contact

[More Information Needed]

Downloads last month
18
Safetensors
Model size
4B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ncauchi1/cv_pointing_model_2

Finetuned
(793)
this model

Dataset used to train ncauchi1/cv_pointing_model_2

Paper for ncauchi1/cv_pointing_model_2