Run this model with HF Jobs
Run baby-dev/2-20-09 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/baby-dev/2-20-09. 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/baby-dev/2-20-09 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 baby-dev/2-20-09 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use baby-dev/2-20-09 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/workspace/input_data/facebook/opt-125m") model = PeftModel.from_pretrained(base_model, "baby-dev/2-20-09") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesFiles changed (9)
- README.mdAdded+39
- adapter_config.jsonAdded+33
- adapter_model.binAdded+3
- config.jsonAdded+32
- merges.txtAdded
- special_tokens_map.jsonAdded+30
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+31
- vocab.jsonAdded
123456789101112131415161718192021222324252627282930313233343536373839---library_name: pefttags:- generated_from_trainerbase_model: facebook/opt-125mmodel-index:- name: baby-dev/2-20-09 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. -->
# baby-dev/2-20-09
This model was trained from scratch on the None dataset.It achieves the following results on the evaluation set:- Loss: 2.3406
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
### Framework versions
- PEFT 0.13.2- Transformers 4.46.0- Pytorch 2.5.0+cu124- Datasets 3.0.1- Tokenizers 0.20.1123456789101112131415161718192021222324252627282930313233{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "/workspace/input_data/facebook/opt-125m", "bias": "none", "fan_in_fan_out": null, "inference_mode": true, "init_lora_weights": true, "layer_replication": null, "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 64, "lora_dropout": 0.05, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "r": 32, "rank_pattern": {}, "revision": null, "target_modules": [ "fc2", "out_proj", "fc1", "k_proj", "q_proj", "v_proj" ], "task_type": "CAUSAL_LM", "use_dora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:7239c25e9072f77f9867e192a22ce2b19c925d81d86ebe4e76ea2d0c3c1afff2size 212862181234567891011121314151617181920212223242526272829303132{ "_attn_implementation_autoset": true, "_name_or_path": "/workspace/input_data/facebook/opt-125m", "_remove_final_layer_norm": false, "activation_dropout": 0.0, "activation_function": "relu", "architectures": [ "OPTForCausalLM" ], "attention_dropout": 0.0, "bos_token_id": 2, "do_layer_norm_before": true, "dropout": 0.1, "enable_bias": true, "eos_token_id": 2, "ffn_dim": 3072, "hidden_size": 768, "init_std": 0.02, "layer_norm_elementwise_affine": true, "layerdrop": 0.0, "max_position_embeddings": 2048, "model_type": "opt", "num_attention_heads": 12, "num_hidden_layers": 12, "pad_token_id": 1, "prefix": "</s>", "torch_dtype": "float16", "transformers_version": "4.46.0", "use_cache": false, "vocab_size": 50272, "word_embed_proj_dim": 768}123456789101112131415161718192021222324252627282930{ "bos_token": { "content": "</s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "pad_token": { "content": "<pad>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "unk_token": { "content": "</s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }}12345678910111213141516171819202122232425262728293031{ "add_bos_token": true, "add_prefix_space": false, "added_tokens_decoder": { "1": { "content": "<pad>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "</s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true } }, "bos_token": "</s>", "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}", "clean_up_tokenization_spaces": false, "eos_token": "</s>", "errors": "replace", "model_max_length": 1000000000000000019884624838656, "pad_token": "<pad>", "tokenizer_class": "GPT2Tokenizer", "unk_token": "</s>"}README.mdAdded+39
adapter_config.jsonAdded+33
adapter_model.binAdded+3
config.jsonAdded+32
merges.txtAdded
special_tokens_map.jsonAdded+30
tokenizer.jsonAdded
tokenizer_config.jsonAdded+31
vocab.jsonAdded