Run this model with HF Jobs
Run Geethuzzz/tinyllama-ml-finetune-checkpoints 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/Geethuzzz/tinyllama-ml-finetune-checkpoints. 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/Geethuzzz/tinyllama-ml-finetune-checkpoints 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 Geethuzzz/tinyllama-ml-finetune-checkpoints with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Geethuzzz/tinyllama-ml-finetune-checkpoints with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Geethuzzz/tinyllama-ml-finetune-checkpoints", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Training in progress, step 200
Browse filesFiles changed (7)
- README.mdAdded+58
- adapter_config.jsonAdded+55
- adapter_model.safetensorsAdded+3
- chat_template.jinjaAdded+15
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded
- training_args.binAdded+3
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758---library_name: transformersmodel_name: tinyllama-ml-finetune-checkpointstags:- generated_from_trainer- trl- unsloth- sftlicence: license---
# Model Card for tinyllama-ml-finetune-checkpoints
This model is a fine-tuned version of [None](https://huggingface.co/None).It has been trained using [TRL](https://github.com/huggingface/trl).
## Quick start
```pythonfrom transformers import pipeline
question = "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="Geethuzzz/tinyllama-ml-finetune-checkpoints", device="cuda")output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]print(output["generated_text"])```
## Training procedure
This model was trained with SFT.
### Framework versions
- TRL: 0.24.0- Transformers: 5.5.0- Pytorch: 2.10.0- Datasets: 4.3.0- Tokenizers: 0.22.2
## Citations
Cite 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{\'e}dec}, year = 2020, journal = {GitHub repository}, publisher = {GitHub}, howpublished = {\url{https://github.com/huggingface/trl}}}```12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ "alora_invocation_tokens": null, "alpha_pattern": {}, "arrow_config": null, "auto_mapping": { "base_model_class": "LlamaForCausalLM", "parent_library": "transformers.models.llama.modeling_llama", "unsloth_fixed": true }, "base_model_name_or_path": "/root/.cache/huggingface/hub/models--Geethuzzz--tinyllama-ml-pretrained-merged/snapshots/9b6c349005381fd7853a740f1a74972a9b94802b", "bias": "none", "corda_config": null, "ensure_weight_tying": false, "eva_config": null, "exclude_modules": null, "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_bias": false, "lora_dropout": 0.05, "lora_ga_config": null, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": [ "embed_tokens", "lm_head" ], "peft_type": "LORA", "peft_version": "0.19.1", "qalora_group_size": 16, "r": 32, "rank_pattern": {}, "revision": null, "target_modules": [ "k_proj", "gate_proj", "up_proj", "down_proj", "v_proj", "o_proj", "q_proj" ], "target_parameters": null, "task_type": "CAUSAL_LM", "trainable_token_indices": null, "use_bdlora": null, "use_dora": false, "use_qalora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:8e12023de5e32f834fb64318daa308575b6834e31c1e46b63d9d7079dd8624absize 451084456123456789101112131415{% for message in messages %}{% if message['role'] == 'user' %}{{ '<|user|>' + message['content'] + eos_token }}{% elif message['role'] == 'system' %}{{ '<|system|>' + message['content'] + eos_token }}{% elif message['role'] == 'assistant' %}{{ '<|assistant|>' + message['content'] + eos_token }}{% endif %}{% if loop.last and add_generation_prompt %}{{ '<|assistant|>' }}{% endif %}{% endfor %}123version https://git-lfs.github.com/spec/v1oid sha256:ce910e93739d27ef580f274b71ae156624793d22ffc8b0aede818cb63d91ae80size 5777README.mdAdded+58
adapter_config.jsonAdded+55
adapter_model.safetensorsAdded+3
chat_template.jinjaAdded+15
tokenizer.jsonAdded
tokenizer_config.jsonAdded
training_args.binAdded+3