Run this model with HF Jobs
Run mtzig/debug_test 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/mtzig/debug_test. 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/mtzig/debug_test 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 mtzig/debug_test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mtzig/debug_test with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TinyPixel/small-llama2") model = PeftModel.from_pretrained(base_model, "mtzig/debug_test") - Notebooks
- Google Colab
- Kaggle
Model save
Browse filesFiles changed (10)
- README.mdAdded+56
- adapter_config.jsonAdded+32
- adapter_model.safetensorsAdded+3
- config.jsonAdded+30
- model.safetensorsAdded+3
- special_tokens_map.jsonAdded+24
- tokenizer.jsonAdded
- tokenizer.modelAdded+3
- tokenizer_config.jsonAdded+42
- training_args.binAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556---library_name: peftbase_model: TinyPixel/small-llama2tags:- generated_from_trainermodel-index:- name: debug_test results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# debug_test
This model is a fine-tuned version of [TinyPixel/small-llama2](https://huggingface.co/TinyPixel/small-llama2) on an unknown dataset.
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:- learning_rate: 2e-05- train_batch_size: 5- eval_batch_size: 5- seed: 42- gradient_accumulation_steps: 5- total_train_batch_size: 25- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: cosine- lr_scheduler_warmup_ratio: 0.1- num_epochs: 1
### Training results
### Framework versions
- PEFT 0.13.2- Transformers 4.46.0- Pytorch 2.5.1- Datasets 3.1.0- Tokenizers 0.20.11234567891011121314151617181920212223242526272829303132{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "TinyPixel/small-llama2", "bias": "none", "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true, "layer_replication": null, "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 32, "lora_dropout": 0.05, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": [ "classifier", "score" ], "peft_type": "LORA", "r": 16, "rank_pattern": {}, "revision": null, "target_modules": [ "v_proj", "q_proj" ], "task_type": "TOKEN_CLS", "use_dora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:ad894d996181ffe0f2bffed914f0b784410190c7aa8a8dc26255d50b1741f972size 3160464123456789101112131415161718192021222324252627282930{ "_name_or_path": "TinyPixel/small-llama2", "architectures": [ "LlamaForTokenClassification" ], "attention_bias": false, "attention_dropout": 0.0, "bos_token_id": 1, "eos_token_id": 2, "head_dim": 128, "hidden_act": "silu", "hidden_size": 1024, "initializer_range": 0.02, "intermediate_size": 1376, "max_position_embeddings": 1024, "mlp_bias": false, "model_type": "llama", "num_attention_heads": 8, "num_hidden_layers": 12, "num_key_value_heads": 8, "pretraining_tp": 1, "rms_norm_eps": 1e-05, "rope_scaling": null, "rope_theta": 10000.0, "tie_word_embeddings": false, "torch_dtype": "float32", "transformers_version": "4.46.0", "use_cache": true, "vocab_size": 32000}123version https://git-lfs.github.com/spec/v1oid sha256:fdf34a31a8e9e853205f1d3f6df98ad485e43b771d7e28d9bf34869cc8ccf479size 535421200123456789101112131415161718192021222324{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": "</s>", "unk_token": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123version https://git-lfs.github.com/spec/v1oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347size 499723123456789101112131415161718192021222324252627282930313233343536373839404142{ "add_bos_token": true, "add_eos_token": false, "add_prefix_space": null, "added_tokens_decoder": { "0": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "bos_token": "<s>", "clean_up_tokenization_spaces": false, "eos_token": "</s>", "legacy": false, "model_max_length": 1000000000000000019884624838656, "pad_token": "</s>", "padding_side": "left", "sp_model_kwargs": {}, "tokenizer_class": "LlamaTokenizer", "unk_token": "<unk>", "use_default_system_prompt": false}123version https://git-lfs.github.com/spec/v1oid sha256:8b937698134236189d0943ec068aedfcc0534d9c7e93cbcf62d616f8394a7076size 5176README.mdAdded+56
adapter_config.jsonAdded+32
adapter_model.safetensorsAdded+3
config.jsonAdded+30
model.safetensorsAdded+3
special_tokens_map.jsonAdded+24
tokenizer.jsonAdded
tokenizer.modelAdded+3
tokenizer_config.jsonAdded+42
training_args.binAdded+3