Run this model with HF Jobs
Run Xtracta-Qiming/checkpoint-39 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/Xtracta-Qiming/checkpoint-39. 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/Xtracta-Qiming/checkpoint-39 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 Xtracta-Qiming/checkpoint-39 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Xtracta-Qiming/checkpoint-39 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2-VL-2B-Instruct") model = PeftModel.from_pretrained(base_model, "Xtracta-Qiming/checkpoint-39") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 10
Browse filesFiles changed (5)
- README.md+185-40
- adapter_model.safetensors+1-1
- optimizer.pt+1-1
- trainer_state.json+17-26
- training_args.bin+1-1
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657---base_model: Qwen/Qwen2-VL-2B-Instructlibrary_name: transformersmodel_name: checkpoint-39tags:- generated_from_trainer- trl- sftlicence: license---# Model Card for checkpoint-39This model is a fine-tuned version of [Qwen/Qwen2-VL-2B-Instruct](https://huggingface.co/Qwen/Qwen2-VL-2B-Instruct).It has been trained using [TRL](https://github.com/huggingface/trl).## Quick start```pythonfrom transformers import pipelinequestion = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"generator = pipeline("text-generation", model="Xtracta-Qiming/checkpoint-39", device="cuda")output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]print(output["generated_text"])```## Training procedure[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/xtracta/Damarcode_AB_v1_20241129-gpt-Qwen2VL/runs/1ptflfeo)This model was trained with SFT.### Framework versions- TRL: 0.13.0.dev0- Transformers: 4.45.0.dev0- Pytorch: 2.4.1+cu121- Datasets: 3.1.0- Tokenizers: 0.19.1## CitationsCite TRL as:```bibtex@misc{vonwerra2022trl,title = {{TRL: Transformer Reinforcement Learning}},author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallouédec},year = 2020,journal = {GitHub repository},publisher = {GitHub},howpublished = {\url{https://github.com/huggingface/trl}}}```123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202---base_model: Qwen/Qwen2-VL-2B-Instructlibrary_name: peft---# Model Card for Model ID<!-- Provide a quick summary of what the model is/does. -->## Model Details### Model Description<!-- Provide a longer summary of what this model is. -->- **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]<!-- Provide the basic links for the model. -->- **Repository:** [More Information Needed]- **Paper [optional]:** [More Information Needed]- **Demo [optional]:** [More Information Needed]## Uses<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->### Direct Use<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->[More Information Needed]### Downstream Use [optional]<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->[More Information Needed]### Out-of-Scope Use<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->[More Information Needed]## Bias, Risks, and Limitations<!-- This section is meant to convey both technical and sociotechnical limitations. -->[More Information Needed]### Recommendations<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.## How to Get Started with the ModelUse the code below to get started with the model.[More Information Needed]## Training Details### Training Data<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->[More Information Needed]### Training Procedure<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->#### Preprocessing [optional][More Information Needed]#### Training Hyperparameters- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->#### Speeds, Sizes, Times [optional]<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->[More Information Needed]## Evaluation<!-- This section describes the evaluation protocols and provides the results. -->### Testing Data, Factors & Metrics#### Testing Data<!-- This should link to a Dataset Card if possible. -->[More Information Needed]#### Factors<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->[More Information Needed]#### Metrics<!-- These are the evaluation metrics being used, ideally with a description of why. -->[More Information Needed]### Results[More Information Needed]#### Summary## Model Examination [optional]<!-- Relevant interpretability work for the model goes here -->[More Information Needed]## Environmental Impact<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).- **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]<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->**BibTeX:**[More Information Needed]**APA:**[More Information Needed]## Glossary [optional]<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->[More Information Needed]## More Information [optional][More Information Needed]## Model Card Authors [optional][More Information Needed]## Model Card Contact[More Information Needed]### Framework versions- PEFT 0.13.2
123version https://git-lfs.github.com/spec/v1oid sha256:a2c240230400858b92c484ca34eb4615ca2828769a9d735f24b8e109d78327e4size 4372840123version https://git-lfs.github.com/spec/v1oid sha256:d20796196d2e546c65a73acbd79bebd1af25214425aa84085893ff59db3a7341size 4372840
123version https://git-lfs.github.com/spec/v1oid sha256:a6b558315ecb33e14d9330ebb5a32b0efe8543b21610d9a461aa39fb57ec9313size 8812090123version https://git-lfs.github.com/spec/v1oid sha256:1296667ef5732a5a67eabe48db04755cd7d47c683481032c3d84bb92ff9a3907size 8812090
123454 unmodified lines101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566{"best_metric": 0.03865480050444603,"best_model_checkpoint": "/home/paperspace/mmdoc/outputs/Damarcode_AB_v1_20241129_qwen_v2/checkpoint-39/checkpoint-30","epoch": 2.8363636363636364,"eval_steps": 10,4 unmodified lines"log_history": [{"epoch": 0.7272727272727273,"grad_norm": 0.19426245987415314,"learning_rate": 0.0002,"loss": 0.0774,"step": 10},{"epoch": 0.7272727272727273,"eval_loss": 0.060963425785303116,"eval_runtime": 21.0525,"eval_samples_per_second": 0.333,"eval_steps_per_second": 0.333,"step": 10},{"epoch": 1.4545454545454546,"grad_norm": 0.21388182044029236,"learning_rate": 0.0002,"loss": 0.04,"step": 20},{"epoch": 1.4545454545454546,"eval_loss": 0.0446288101375103,"eval_runtime": 21.2102,"eval_samples_per_second": 0.33,"eval_steps_per_second": 0.33,"step": 20},{"epoch": 2.1818181818181817,"grad_norm": 2.1915783882141113,"learning_rate": 0.0002,"loss": 0.0591,"step": 30},{"epoch": 2.1818181818181817,"eval_loss": 0.03865480050444603,"eval_runtime": 21.2826,"eval_samples_per_second": 0.329,"eval_steps_per_second": 0.329,"step": 30},{"epoch": 2.8363636363636364,"step": 39,"total_flos": 3.417506073386496e+16,"train_loss": 0.05125234333368448,"train_runtime": 1358.5629,"train_samples_per_second": 0.243,"train_steps_per_second": 0.029}],"logging_steps": 10,123454 unmodified lines101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{"best_metric": 0.03029637224972248,"best_model_checkpoint": "/home/paperspace/mmdoc/outputs/Damarcode_AB_v1_20241129_qwen_v2/checkpoint-39/checkpoint-30","epoch": 2.8363636363636364,"eval_steps": 10,4 unmodified lines"log_history": [{"epoch": 0.7272727272727273,"grad_norm": 0.10270193964242935,"learning_rate": 0.0002,"loss": 0.0403,"step": 10},{"epoch": 0.7272727272727273,"eval_loss": 0.03421077877283096,"eval_runtime": 21.1288,"eval_samples_per_second": 0.331,"eval_steps_per_second": 0.331,"step": 10},{"epoch": 1.4545454545454546,"grad_norm": 0.15500934422016144,"learning_rate": 0.0002,"loss": 0.0241,"step": 20},{"epoch": 1.4545454545454546,"eval_loss": 0.03104669786989689,"eval_runtime": 21.2862,"eval_samples_per_second": 0.329,"eval_steps_per_second": 0.329,"step": 20},{"epoch": 2.1818181818181817,"grad_norm": 1.0952190160751343,"learning_rate": 0.0002,"loss": 0.0441,"step": 30},{"epoch": 2.1818181818181817,"eval_loss": 0.03029637224972248,"eval_runtime": 21.3082,"eval_samples_per_second": 0.329,"eval_steps_per_second": 0.329,"step": 30}],"logging_steps": 10,
123version https://git-lfs.github.com/spec/v1oid sha256:4ff6057c391daaf88be603ae1d276247495e24492476b18d6b50ecfc5b5466f8size 5624123version https://git-lfs.github.com/spec/v1oid sha256:bffd6f6353df7969bbb7e4f582257c68974654a8d277ca9722255befe6ee0f34size 5624
README.md+185-40
adapter_model.safetensors+1-1
optimizer.pt+1-1
trainer_state.json+17-26
training_args.bin+1-1